예제 #1
0
파일: Boot.cs 프로젝트: CHG1731/ATM
 private void Boot_Load(object sender, EventArgs e)
 {
     writebutton.Enabled = false;
     Enabled = false;
     Credentialform cred = new Credentialform();
     cred.ShowDialog();
     Enabled = true;
     connectionString = "server=145.24.222.163;Port=8500;UserId=" + gebruikertekst + ";Password="******";database=OP3;CharSet=utf8;Persist Security Info=True;";
     makeConnection();
     checkconnection();
 }
예제 #2
0
        private void Boot_Load(object sender, EventArgs e)
        {
            writebutton.Enabled = false;
            Enabled             = false;
            Credentialform cred = new Credentialform();

            cred.ShowDialog();
            Enabled          = true;
            connectionString = "server=145.24.222.163;Port=8500;UserId=" + gebruikertekst + ";Password="******";database=OP3;CharSet=utf8;Persist Security Info=True;";
            makeConnection();
            checkconnection();
        }