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); }
public StudentsForm(LoginForm loginForm) : base() { InitializeComponent(); this.loginForm = loginForm; this.loginForm.Hide(); }
private void MainForm_Load(object sender, EventArgs e) { LoginForm f = new LoginForm(); f.ShowLogin(); }
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(); }
public LoginForm() { InitializeComponent(); loginForm = this; }
private void button2_Click(object sender, EventArgs e) { LoginForm showForm1 = new LoginForm(); showForm1.Show(); }
private void button1_Click(object sender, EventArgs e) { LoginForm loginForm = new LoginForm(); loginForm.Show(); }
public void GetForm(LoginForm lf) { LoginForm = lf; }