示例#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();
        }