private void button1_Click(object sender, EventArgs e) { FrmLogIn frm = new FrmLogIn(); frm.ShowDialog(); }
private void Form1_Load(object sender, EventArgs e) { FrmLogIn frm = new FrmLogIn(); frm.Show(); }