# 不同窗体??(??而?典--?例)
2008-12-15 16:40
public partial class Form1 : Form
{
private string T;
public string T1
{
get { return T; }
set { T = value; }
}
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
this.T1 = this.textBox1.Text;
Form2 f = new Form2(T1);
f.ShowDialog();
}
}
public partial class Form2 : Form
{
public Form2(string s)
{
InitializeComponent();
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载