Пример #1
0
        private void btnRegisterNewUser_Click(object sender, EventArgs e)
        {
            var pgRegister = new pgRegister();

            openForms.Add(pgRegister);
            pgRegister.Show();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var OpenRegister = new pgRegister();

            OpenRegister.Show();
        }