private void button1_Click_1(object sender, EventArgs e) { if ((textBox1.Text == "Simone") && (textBox2.Text == "simone14")) { Inicio t1 = new Inicio(); t1.Show(); this.Visible = false; } else { MessageBox.Show("Login ou senha invalidos"); } }
private void cadastrarToolStripMenuItem1_Click(object sender, EventArgs e) { Inicio t1 = new Inicio(); t1.Show(); }