private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { LoginBLL login = new LoginBLL(); int usercheck = login.usercheck(); if (usercheck == 0) { UserEntry user = new UserEntry(); user.ShowDialog(); } else { NormalUserEntry userentry = new NormalUserEntry(); userentry.ShowDialog(); } }
private void tsmUser_Click(object sender, EventArgs e) { UserEntry userentry = new UserEntry(); userentry.ShowDialog(); }