private void button1_Click(object sender, EventArgs e) { this.Close(); popup_window pw = new popup_window(); pw.Show(); }
private void login_btn1_Click(object sender, EventArgs e) { Main_Window mw = new Main_Window(); mw.Show(); //mw.Enabled = false; popup_window pw = new popup_window(); pw.Location = new Point(100, 100); pw.Show(); this.Hide(); }