private void frmMain_Load(object sender, EventArgs e) { var frm = new FormLogin(); frm.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { var frm = new FormLogin(); frm.ShowDialog(); }