private void btnPermissions_Click(object sender, EventArgs e)
 {
     try
     {
         frmApplicationPermissions frm = new frmApplicationPermissions();
         frm.Text       += " - " + this.application.Name;
         frm.application = this.application;
         frm.ShowDialog(this);
         /*Application.DoEvents();*/
     }
     catch (Exception ex)
     {
         this.ShowError(ex.Message, Globalization.MultilanguageResource.GetString("frmApplicationProperties_Msg40"));
     }
 }
 private void btnPermissions_Click(object sender, EventArgs e)
 {
     try
     {
         frmApplicationPermissions frm = new frmApplicationPermissions();
         frm.Text += " - " + this.application.Name;
         frm.application = this.application;
         frm.ShowDialog(this);
         /*Application.DoEvents();*/
     }
     catch (Exception ex)
     {
         this.ShowError(ex.Message, Globalization.MultilanguageResource.GetString("frmApplicationProperties_Msg40"));
     }
 }