예제 #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();
        }
예제 #5
0
        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;
 }