public SalesInchargeDetailUI(string[] pRecords)
 {
     InitializeComponent();
     lOperation     = GlobalVariables.Operation.Edit;
     lSalesIncharge = new SalesIncharge();
     lRecords       = pRecords;
 }
 public StockWithdrawalDetailUI(string pInventoryId)
 {
     InitializeComponent();
     lOperation                = GlobalVariables.Operation.Edit;
     loInventoryHeader         = new InventoryHeader();
     loInventoryDetail         = new InventoryDetail();
     loCustomer                = new Customer();
     loSalesIncharge           = new SalesIncharge();
     loStock                   = new Stock();
     loStockReceivingDetailRpt = new StockReceivingDetailRpt();
     loReportViewer            = new ReportViewerUI();
     lInventoryId              = pInventoryId;
 }
Exemplo n.º 3
0
        private void tsmSalesIncharge_Click(object sender, EventArgs e)
        {
            SalesIncharge _SalesIncharge = new SalesIncharge();
            FormUI        _Form          = new FormUI();
            Type          _TypeUI        = typeof(FormUI);
            Type          _Type          = typeof(SalesIncharge);
            ListFormUI    _ListForm      = new ListFormUI((object)_SalesIncharge, (object)_Form, _TypeUI, _Type);
            TabPage       _ListFormTab   = new TabPage();

            _ListFormTab.ImageIndex = 15;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
 public SalesInchargeDetailUI()
 {
     InitializeComponent();
     lOperation     = GlobalVariables.Operation.Add;
     lSalesIncharge = new SalesIncharge();
 }