📄 newfeedform.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace LiveQnA3
{
public partial class NewFeedForm : Form
{
private string feed;
public Uri Feed
{
get
{
return new Uri(feed);
}
}
public NewFeedForm()
{
InitializeComponent();
}
private void menuItemCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
this.Close();
}
private void menuItemAdd_Click(object sender, EventArgs e)
{
feed = textBox1.Text;
DialogResult = DialogResult.OK;
this.Close();
}
private void NewFeedForm_Load(object sender, EventArgs e)
{
textBox1.Text = "http://";
textBox1.SelectionStart = textBox1.Text.Length;
textBox1.SelectionLength = 0;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -