private void كشفحسابعميلToolStripMenuItem_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; PersonAccountInfo viewForm = null; if (viewForm == null) { viewForm = new PersonAccountInfo(); if (this.ActiveMdiChild != null) { this.ActiveMdiChild.Close(); } viewForm.MdiParent = this; } viewForm.Show(); Cursor.Current = Cursors.Default; }
private void كشفحسابموردToolStripMenuItem_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; PersonAccountInfo viewForm = null; if (viewForm == null) { viewForm = new PersonAccountInfo(); if (this.ActiveMdiChild != null) { this.ActiveMdiChild.Close(); } viewForm.MdiParent = this; } viewForm.Text = "كشف حساب الموردين"; viewForm.groupBox1.Text = "قائمة الموردين"; viewForm.label1.Text = "اسم المورد / الشركة :"; viewForm.Show(); Cursor.Current = Cursors.Default; }