예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            register NewForm = new register();

            NewForm.Show();
            this.Dispose(false);
        }
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            var register = new register();

            register.Closed += (s, args) => this.Close();
            register.Show();
        }