コード例 #1
0
ファイル: Login.cs プロジェクト: DenizTanverdi/DapperNKatman
 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ı");
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: DenizTanverdi/DapperNKatman
 public Form1()
 {
     InitializeComponent();
     bl = new BLL.BusinessLogicLayer();
 }