Exemple #1
0
        private void حركةالشـــراءToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            Movements viewForm = null;

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

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

                viewForm.MdiParent = this;
            }
            viewForm.Text        = "حركة الشـــراء";
            viewForm.label3.Text = "إجمالى المشتريات :";
            viewForm.label4.Text = "إجمالى السداد :";
            viewForm.label5.Text = "إجمالى المتبقى :";
            viewForm.Show();

            Cursor.Current = Cursors.Default;
        }
        private void button4_Click(object sender, EventArgs e)
        {
            Movements view = new Movements();

            view.Text        = "حركة الشـــراء";
            view.label3.Text = "إجمالى المشتريات :";
            view.label4.Text = "إجمالى السداد :";
            view.label5.Text = "إجمالى المتبقى :";
            view.ShowDialog();
        }
Exemple #3
0
        private void حركةالبيـــعToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            Movements viewForm = null;

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

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

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

            Cursor.Current = Cursors.Default;
        }
        private void button3_Click(object sender, EventArgs e)
        {
            Movements view = new Movements();

            view.ShowDialog();
        }