Пример #1
0
        /// <summary>
        /// When user clicks on create an account
        /// </summary>
        /// <param name="sender">System.Windows.Forms.Button</param>
        /// <param name="e">System.Windows.Forms.MouseEventArgs</param>
        private void NewUserBtn_Click(object sender, EventArgs e)
        {
            Hide();
            NewUserForm newUserForm = new NewUserForm();

            newUserForm.Show();
        }
Пример #2
0
        private void NewUser_bt_Click(object sender, EventArgs e)
        {
            NewUserForm uf = new NewUserForm();

            uf.Show();
            this.Close();
        }
Пример #3
0
        // Shows a registration form and hide login form
        public static void ShowNewUserForm(LoginForm loginForm)
        {
            NewUserForm newUserForm = new NewUserForm();

            loginForm.Hide();
            newUserForm.Show();
        }
Пример #4
0
        private void yeniKullanıcıToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewUserForm newUserForm = new NewUserForm();

            newUserForm.MdiParent   = this;
            newUserForm.WindowState = FormWindowState.Maximized;
            newUserForm.Show();
        }