示例#1
0
文件: Main.cs 项目: TAxels/CS4400
 private void cToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     panel1.Controls.Clear();
     AddClient control = new AddClient();
     control.Name = "addclient";
     control.Dock = DockStyle.Fill;
     panel1.Controls.Add(control);
 }
示例#2
0
文件: Main.cs 项目: johnh8888/CS4400
        private void cToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            AddClient control = new AddClient();
            control.Name = "addclient";
            control.Dock = DockStyle.Fill;
            panel1.Controls.Add(control);

            control.addBtnSubmitClickHandler(new EventHandler(SubmitClickHandler));
            control.addBtnCancelClickHandler(new EventHandler(CloseClickHandler));
        }