Exemplo n.º 1
0
 private void firstForm_Load(object sender, EventArgs e)
 {
     taskoperationform = new taskoperationForm();
     robotstate        = new Label[] { robot1State, robot2State, robot3State, robot4State, robot5State, robot6State, robot7State };
     robotBattery      = new Label[] { robot1Battery, robot2Battery, robot3Battery, robot4Battery, robot5Battery, robot6Battery, robot7Battery };
     robotPanel        = new Panel[] { robot1Panel, robot2Panel, robot3Panel, robot4Panel, robot5Panel, robot6Panel, robot7Panel };
     initial();
     check = new Thread(checkRobotstate);
     check.IsBackground = true;
     check.Start();
 }
Exemplo n.º 2
0
 public firstForm(mainForm frm)
 {
     InitializeComponent();
     mainform          = frm;
     taskoperationform = new taskoperationForm(this);
 }