예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked == true)
     {
         owner.DisplayGrid(0, int.Parse(textBox1.Text), int.Parse(textBox2.Text));
     }
     else
     {
         owner.DisplayGrid(1, int.Parse(textBox1.Text), int.Parse(textBox2.Text));
     }
 }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     owner.DisplayGrid(owner.methodC, owner.xPaceC * int.Parse(textBox1.Text), owner.yPaceC * int.Parse(textBox2.Text));
     this.Close();
 }