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