Example #1
0
        public void ok_Click(object sender, EventArgs e)
        {
            Form1 frm = new Form1(boxtext.Text, Zahl.Text);

            frm.ShowDialog();
            frm.Close();
            this.Hide();
        }
Example #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     string n1 = "y";
     string n2 = "y";
     Form1 frm = new Form1(grad.Text, zahl.Text, n1, n2);
     frm.ShowDialog();
     frm.Close();
     this.Hide();
 }