Esempio n. 1
0
 private void navBarItemMyInfo_LinkPressed(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     frmMyAccount account = new frmMyAccount(uid, fName, mName, lName, ext);
     account.ShowDialog();
 }
Esempio n. 2
0
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (MySQLCommands.TestConnection())
     {
         frmMyAccount account = new frmMyAccount(uid, fName, mName, lName, ext);
         account.ShowDialog();
     }
     else
     {
         XtraMessageBox.Show("Can't connect to the remote server", "Connection Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }