摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace study{ public partial class F... 阅读全文
摘要:
创建两个窗体Form1和Form2,在两个窗体中分别创建textBox1和Button1,Form2中的Button1的DialogResult设置为OK,现在创建事件如下所示:Form1中的button1事件1privatevoidbutton1_Click(objectsender,EventArgse)2{3Form2frm2=newForm2();4frm2.Form2_Load(text... 阅读全文