コード例 #1
0
 private void purchaseToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (purchase.IsDisposed)
     {
         purchase = new PurchaseForm();
     }
     purchase.MdiParent = this;
     purchase.Show();
     purchase.BringToFront();
 }
コード例 #2
0
ファイル: MainMenuForm.cs プロジェクト: druryyl/AnugerahStore
        private void PurchaseOrderButton_Click(object sender, EventArgs e)
        {
            var form = new PurchaseForm
            {
                MdiParent     = this,
                StartPosition = FormStartPosition.CenterScreen
            };

            form.Show();
        }
コード例 #3
0
        private void showPurchaseForm()
        {
            this.PanelRightMain.Controls.Clear();
            PurchaseForm purchaseForm = new PurchaseForm();

            purchaseForm.TopLevel        = false;
            purchaseForm.Dock            = DockStyle.Fill;
            purchaseForm.FormBorderStyle = FormBorderStyle.None;
            PanelRightMain.Controls.Add(purchaseForm);
            purchaseForm.Show();
        }
コード例 #4
0
ファイル: MenuForm.cs プロジェクト: chittoranjan/Final_POS
        private void addPurchaseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PurchaseForm pForm = new PurchaseForm();

            pForm.Show();
        }