示例#1
0
        private void SalesOrder_Click(object sender, EventArgs e)
        {
            frmSalesOrder SalesOrder = new frmSalesOrder();

            SalesOrder.MdiParent   = this;
            SalesOrder.WindowState = FormWindowState.Maximized;
            SalesOrder.Show();
        }
示例#2
0
        private void btnPurchaseOrder_Click(object sender, EventArgs e)
        {
            frmSalesOrder objfrm = new frmSalesOrder();

            objfrm.m_action  = (int)Utility.ACTION_MODE_ENUM.ADD_MODE;
            objfrm.mlngvtype = (long)Utility.VOUCHER_TYPE.vtPURCHASE_ORDER;
            objfrm.Show();
            objfrm.MdiParent = this.MdiParent;
        }