private void button2_Click(object sender, EventArgs e)
 {
     var form = new DinerHoofd (wrd, naam) {
         Location = this.Location,
         StartPosition = this.StartPosition
     };
     form.Show ();
     this.Hide ();
 }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            var form = new DinerHoofd(wrd, naam)
            {
                Location      = this.Location,
                StartPosition = this.StartPosition
            };

            form.Show();
            this.Hide();
        }