示例#1
0
        private void LoginForm_SizeChanged(object sender, EventArgs e)
        {
            LoginForm frm = (LoginForm)sender;

            panel1.Location = new Point((frm.Width - panel1.Size.Width) / 2, (frm.Height - panel1.Size.Height) / 2);
        }
示例#2
0
 public StudentsForm(LoginForm loginForm) : base()
 {
     InitializeComponent();
     this.loginForm = loginForm;
     this.loginForm.Hide();
 }
示例#3
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            LoginForm f = new LoginForm();

            f.ShowLogin();
        }
示例#4
0
        private void FormEmployeeManagement_FormClosing(object sender, FormClosingEventArgs e)
        {
            LoginForm lgf = new LoginForm();

            lgf.Show();
        }
        private void btnLoginHalamanAwal_Click(object sender, EventArgs e)
        {
            LoginForm lgn = new LoginForm();

            lgn.Show();
        }
示例#6
0
 public LoginForm()
 {
     InitializeComponent();
     loginForm = this;
 }
示例#7
0
        private void button2_Click(object sender, EventArgs e)
        {
            LoginForm showForm1 = new LoginForm();

            showForm1.Show();
        }
示例#8
0
        private void button1_Click(object sender, EventArgs e)
        {
            LoginForm loginForm = new LoginForm();

            loginForm.Show();
        }
示例#9
0
文件: Form1.cs 项目: bigbanggk01/Tank
 public void GetForm(LoginForm lf)
 {
     LoginForm = lf;
 }