Esempio n. 1
0
 private void RightCont_Click(object sender, EventArgs e)
 {
     if ((dataMatrix2[2, 3] == 1) || (dataMatrix2[1, 3] == 1))
     {
         Point     pos;
         RightLoad rightContactor = new RightLoad();
         rightContactor.chnl_num(0x00);
         rightContactor.StartPosition = FormStartPosition.Manual;
         pos    = MousePosition;
         pos.X += -300;
         pos.Y += -100;
         rightContactor.Show();
     }
 }
Esempio n. 2
0
 private void RPC4_Click(object sender, EventArgs e)
 {
     if (dataMatrix2[3, 3] == 1)
     {
         Point     pos;
         RightLoad rightLoad4 = new RightLoad();
         rightLoad4.chnl_num(0x0B);
         rightLoad4.Text          = "Right Load 4";
         rightLoad4.StartPosition = FormStartPosition.Manual;
         pos    = MousePosition;
         pos.X += -50;
         pos.Y += -50;
         rightLoad4.Show();
     }
 }