コード例 #1
0
 private void Presionarbutton_Click(object sender, EventArgs e)
 {
     if (PerimetroradioButton.Checked)
     {
         Perimetro p = new Perimetro();
         p.Show();
     }
     else if (ArearadioButton.Checked)
     {
         Area a = new Area();
         a.Show();
     }
 }
コード例 #2
0
 private void Presionarbutton_Click(object sender, EventArgs e)
 {
     if (PerimetroradioButton.Checked)
     {
         Perimetro p = new Perimetro();
         p.Show();
     }
     else if (ArearadioButton.Checked)
     {
         Area a = new Area();
         a.Show();
     }
 }