Esempio n. 1
0
 private void btnUserBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (MySQLCommands.TestConnection())
     {
         frmBin userBin = new frmBin(ownerUID, ownerUserlvl, ownerArea, string.Empty, "USER");
         userBin.ShowDialog();
     }
     else
     {
         XtraMessageBox.Show("Can't connect to the remote server", "Connection Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Esempio n. 2
0
 private void btnCWBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin bin = new frmBin(string.Empty, string.Empty, string.Empty, string.Empty, "CW");
     bin.ShowDialog();
 }
Esempio n. 3
0
 private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin areaBin = new frmBin(log, string.Empty, string.Empty, string.Empty, "AREA");
     areaBin.ShowDialog();
 }
Esempio n. 4
0
 private void btnActBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin bin = new frmBin(string.Empty, CID, "ACTIVITY", log, userlvl);
     bin.ShowDialog();
 }
Esempio n. 5
0
 private void btnCWBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (MySQLCommands.TestConnection())
     {
         frmBin cwBin = new frmBin(string.Empty, string.Empty, "CW", log,string.Empty);
         cwBin.ShowDialog();
     }
     else
     {
         XtraMessageBox.Show("Can't connect to the remote server", "Connection Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Esempio n. 6
0
 private void btnClassBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin bin = new frmBin(ownerUID, ownerUserlvl, ownerArea, string.Empty, "CLASS");
     bin.ShowDialog();
 }
Esempio n. 7
0
 private void btnClassBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin bin = new frmBin(string.Empty, string.Empty, "CLASS", uid,userlvl);
     bin.ShowDialog();
 }
Esempio n. 8
0
 private void btnFileBin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmBin fileBin = new frmBin(ownerUID, ownerUserlvl, ownerArea, string.Empty, "FILE");
     fileBin.ShowDialog();
 }