Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     bll = new BLL.BusinessLogicLayer();
     if (bll.LoginKontrol(textBox1.Text, textBox2.Text) > 0)
     {
         this.Visible = false;
         MainForm main = new MainForm();
         main.Show();
     }
     else
     {
         MessageBox.Show("Kullanıcı Adı veya Şifre Hatalı");
     }
 }
Exemple #2
0
 public Form1()
 {
     InitializeComponent();
     bl = new BLL.BusinessLogicLayer();
 }