示例#1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     usermanager = new Control_UserManage();
     log         = new Control_Log();
     serverinfo  = new Control_ServerInfo();
     groupBox1.Controls.Add(serverinfo);
     lwc             = new LinkWithClient(this);
     usermanager.lwc = lwc;
     serverinfo.lwc  = lwc;
     serverinfo.Show();
     log.Show();
     usermanager.Show();
 }
 public Control_ServerInfo(LinkWithClient LWC)
 {
     InitializeComponent();
     this.lwc = LWC;
 }