private void hASTAGİRİŞToolStripMenuItem_Click(object sender, EventArgs e) { HastaGiris frm = new HastaGiris(); frm.Show(); this.Hide(); }
private void pictureBox1_Click(object sender, EventArgs e) { if (label11.Text == "0") { HASTA frm = new HASTA(); frm.Tc = TxtTc.Text; frm.Ad_Soyad = TxtAd.Text + " " + TxtSoyad.Text; frm.Show(); this.Close(); } if (label11.Text == "1") { HastaGiris frm = new HastaGiris(); frm.Show(); this.Hide(); } }