Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            UrunGirisEkrani urunGirisEkrani = new UrunGirisEkrani();

            urunGirisEkrani.Show();
            this.Hide();
        }
Esempio n. 2
0
        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?");
            }
        }