Esempio n. 1
0
        private void جرداليوميةToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            View.DayReportsForm viewForm = null;
            if (viewForm == null)
            {
                viewForm = new DayReportsForm();

                if (this.ActiveMdiChild != null)
                {
                    this.ActiveMdiChild.Close();
                }

                viewForm.MdiParent = this;
            }
            viewForm.Show();

            Cursor.Current = Cursors.Default;
        }
Esempio n. 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     View.DayReportsForm view = new DayReportsForm();
     view.ShowDialog();
 }