Esempio n. 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);
        }
Esempio n. 2
0
 public StudentsForm(LoginForm loginForm) : base()
 {
     InitializeComponent();
     this.loginForm = loginForm;
     this.loginForm.Hide();
 }
Esempio n. 3
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            LoginForm f = new LoginForm();

            f.ShowLogin();
        }
Esempio n. 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();
        }
Esempio n. 6
0
 public LoginForm()
 {
     InitializeComponent();
     loginForm = this;
 }
Esempio n. 7
0
        private void button2_Click(object sender, EventArgs e)
        {
            LoginForm showForm1 = new LoginForm();

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

            loginForm.Show();
        }
Esempio n. 9
0
 public void GetForm(LoginForm lf)
 {
     LoginForm = lf;
 }