예제 #1
0
        private void جردسنوىToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            MonthReports viewForm = null;

            if (viewForm == null)
            {
                viewForm = new MonthReports();

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

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

            Cursor.Current = Cursors.Default;
        }
예제 #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     View.MonthReports view = new MonthReports();
     view.ShowDialog();
 }