示例#1
0
        private void btnLogout_Click(object sender, EventArgs e)
        {
            LoginForm Katie = new LoginForm();

            Katie.Show();

            this.Close();
        }
示例#2
0
        private void BaseForm_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;

            this.ShowInTaskbar = false;

            LoginForm Jim = new LoginForm();

            Jim.Show();

            Jim.TopMost = true;
        }