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);
     }*/
 }
Exemple #2
0
        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);
             * }*/
        }