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