예제 #1
0
 private void RightSSPC_Click(object sender, EventArgs e)
 {
     if (dataMatrix2[3, 3] == 1)
     {
         RightGenForm RightSSPCForm = new RightGenForm();
         RightSSPCForm.StartPosition = FormStartPosition.Manual;
         RightSSPCForm.Show();
     }
 }
예제 #2
0
        private void RightGen_Click(object sender, EventArgs e)
        {
            Point        pos;
            RightGenForm RightGenForm = new RightGenForm();

            RightGenForm.StartPosition = FormStartPosition.Manual;
            pos    = MousePosition;
            pos.X += -300;
            pos.Y += -100;
            RightGenForm.Show();
        }