private void button1_Click(object sender, EventArgs e) { DataGried D3 = new DataGried(); D3.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == "123456") { DataGried D1 = new DataGried(); D1.Show(); this.Hide(); } else { MessageBox.Show("INGRESE CREDENCIALES CORRECTAS"); } }