private void buttonRunSQL_Click(object sender, EventArgs e) { //if (User.CurrentUser.isSuperAdmin) //{ frmSQLTool mySQLForm = new frmSQLTool(); mySQLForm.ShowDialog(); /*} else { MessageBox.Show(MultiLanguageStrings.GetString(Ressource.DatabaseMaitenance, "messageRights"), MultiLanguageStrings.GetString(Ressource.DatabaseMaitenance, "title"), MessageBoxButtons.OK); }*/ }
private void buttonRunSQL_Click(object sender, EventArgs e) { //if (User.CurrentUser.isSuperAdmin) //{ frmSQLTool mySQLForm = new frmSQLTool(); mySQLForm.ShowDialog(); /*} * else * { * MessageBox.Show(MultiLanguageStrings.GetString(Ressource.DatabaseMaitenance, "messageRights"), * MultiLanguageStrings.GetString(Ressource.DatabaseMaitenance, "title"), MessageBoxButtons.OK); * }*/ }