private void buttonLogin_Click(object sender, EventArgs e) { StopCapture(); WindowLogin windowLogin = new WindowLogin(); windowLogin.Show(); this.Close(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); WindowLogin windowLogin = new WindowLogin(); windowLogin.Show(); Application.Run(); }