Beispiel #1
0
 private void Process_Load(object sender, EventArgs e)
 {
     labelUserName.Text = dtUser.Rows[0]["FIRST_NAME"].ToString() + " " + dtUser.Rows[0]["LAST_NAME"].ToString();
     myQuery            = new MySQLQuery();
     dtCurrent          = myQuery.GetCurrent(dtUser.Rows[0]["IBAN"].ToString());
     if (dtCurrent.Rows.Count < 1)
     {
         SetDeposit("0");
     }
     else
     {
         SetDeposit(Convert.ToDecimal(dtCurrent.Rows[0]["CURRENT"]).ToString("0.##"));
     }
 }
Beispiel #2
0
 private void Register_Load(object sender, EventArgs e)
 {
     myQuery = new MySQLQuery();
 }
Beispiel #3
0
 private void FormMain_Load(object sender, EventArgs e)
 {
     myQuery = new MySQLQuery();
 }