Beispiel #1
0
        private void controlClient(Object client)
        {
            //ClientPoint clientPort = (ClientPoint)client;
            //ControlForm form = new ControlForm(clientPort);
            //Application.Run(form);
            //if (clientPort.loseConnect) //已经和客户端失去了连接
            //{
            //    clients.Remove(clientPort);
            //    lb_conn_num.Text = "" + clients.Count; //更新连接数
            //}

            ArmClient   armClient = (ArmClient)client;
            ControlForm form      = new ControlForm(armClient);

            Application.Run(form);
        }
Beispiel #2
0
 public vedioAttribute(ControlForm f)
 {
     father = f;
     InitializeComponent();
 }
Beispiel #3
0
 public photoAttribute(ControlForm f, int cMod)
 {
     father      = f;
     capturemode = cMod;
     InitializeComponent();
 }
Beispiel #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            ControlForm form = new ControlForm();

            form.Show();
        }