private void updateDataMenuItem_Click(object sender, EventArgs e) { try { scheduleForm form = new scheduleForm(); form.ShowDialog(); } catch (Exception er) { this.ShowError(er); } }
private void updateDataMenuItem_Click(object sender, EventArgs e) { try { if (scheduleForm == null || scheduleForm.IsDisposed) { scheduleForm = new scheduleForm(); } scheduleForm.Show(); scheduleForm.Activate(); } catch (Exception er) { this.ShowError(er); } }
private void updateDataMenuItem_Click(object sender, EventArgs e) { try { if (scheduleForm == null || scheduleForm.IsDisposed) scheduleForm = new scheduleForm(); scheduleForm.Show(); scheduleForm.Activate(); } catch (Exception er) { this.ShowError(er); } }