예제 #1
0
        private void OnTimesheetMakerClick(object sender, EventArgs e)
        {
            timesheetMakerToolStripMenuItem.Enabled = false;

            TimesheetMakerForm form = new TimesheetMakerForm();

            form.FormClosed += new FormClosedEventHandler(
                delegate(object _sender, FormClosedEventArgs _e) {
                timesheetMakerToolStripMenuItem.Enabled = true;
            });
            form.MdiParent = this;
            form.Show();
        }
예제 #2
0
        private void OnTimesheetMakerClick(object sender, EventArgs e)
        {
            timesheetMakerToolStripMenuItem.Enabled = false;

            TimesheetMakerForm form = new TimesheetMakerForm();
            form.FormClosed += new FormClosedEventHandler(
                    delegate(object _sender, FormClosedEventArgs _e) {
                        timesheetMakerToolStripMenuItem.Enabled = true;
                    });
            form.MdiParent = this;
            form.Show();
        }