private void button1_Click(object sender, EventArgs e) { UrunGirisEkrani urunGirisEkrani = new UrunGirisEkrani(); urunGirisEkrani.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { int deg; bll = new BusinessLogicLayer(); deg = bll.AdminBoslukKontrol(textBox1.Text, textBox2.Text); if (deg > 0) { UrunGirisEkrani urunGirisEkrani = new UrunGirisEkrani(); urunGirisEkrani.Show(); this.Hide(); } else { MessageBox.Show("Ercan hocam siz misiniz?"); } }