Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form2 a = new Form2();

            a.Show(this);
        }
Example #2
0
 private void server_Click(object sender, EventArgs e)
 {
     child = new Form2(ip.Text, port.Text);
     child.ShowDialog();
 }