Esempio n. 1
0
 public Form1()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     string[] a = { "1", "2" };
     object[] c = a;
 }
 public FormStorageLocation()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.model1.RowRemoved += this.model_RowRemoved;
     this.model1.Refreshed  += this.model_Refreshed;
 }
Esempio n. 3
0
 public FormPayNoteTax(int payNoteId, string payNoteNo)
 {
     MethodListenerContainer.Register("FormPayNoteTax", this);
     InitializeComponent();
     this.payNoteId = payNoteId;
     this.payNoteNo = payNoteNo;
 }
Esempio n. 4
0
 public FormTaxItem(IDictionary <string, object> tax)
 {
     this.tax = tax;
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.searchView1.AddStaticCondition("taxId", this.tax["id"]);
 }
Esempio n. 5
0
 public FormAddStockTakingOrderItemsBySupply(IDictionary <string, object> stockTakingOrder)
 {
     MethodListenerContainer.Register(this);
     this.CenterToScreen();
     InitializeComponent();
     this.stockTakingOrder = stockTakingOrder;
 }
Esempio n. 6
0
 public FormAccountRecord()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     InitTree();
     formAccountRecord = this;
 }
Esempio n. 7
0
 public FormPackageItem(IDictionary <string, object> package)
 {
     MethodListenerContainer.Register(this);
     this.package = package;
     InitializeComponent();
     this.searchView1.AddStaticCondition("packageId", this.package["id"]);
 }
Esempio n. 8
0
        public FormSettlementNoteItem(IDictionary <string, object> settlementNote)
        {
            this.settlementNote = settlementNote;

            MethodListenerContainer.Register(this);
            InitializeComponent();
        }
Esempio n. 9
0
 public FormWarehouseEntry(Action <int[]> toInspectionNoteCallback, Action <string> toInspectionNoteSearchNoCallback)
 {
     this.ToInspectionNoteCallback         = toInspectionNoteCallback;
     this.ToInspectionNoteSearchNoCallback = toInspectionNoteSearchNoCallback;
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.model1.CellUpdated += this.model_CellUpdated;
 }
Esempio n. 10
0
 public FormSupplier()
 {
     MethodListenerContainer.Register("FormSupplier", this);
     InitializeComponent();
     this.model1.CellUpdated += this.model_CellUpdated;
     this.model1.RowRemoved  += this.model_RowRemoved;
     this.model1.Refreshed   += this.model_Refreshed;
 }
Esempio n. 11
0
 public FormInspectionNoteItem(IDictionary <string, object> inspectionNote, Action refreshInspectionNoteCallback)
 {
     MethodListenerContainer.Register(this);
     this.RefreshInspectionNoteCallback = refreshInspectionNoteCallback;
     this.inspectionNote = inspectionNote;
     InitializeComponent();
     this.searchView.AddStaticCondition("inspectionNoteId", this.inspectionNote["id"]);
 }
 public FormDeliveryOrderReady()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.synchronizer.SetRequestParameter("$url", Defines.ServerURL);
     this.synchronizer.SetRequestParameter("$accountBook", GlobalData.AccountBook);
     this.modelBoxTransferOrderItems.CurrentModelName = "备货作业设置";
 }
 public FormWarehouseEntryInspect(IDictionary <String, object>[] warehouseEntries, Action <int[]> toInspectionNoteCallback, Action refreshWarehouseEntryCallback)
 {
     MethodListenerContainer.Register(this);
     this.warehouseEntries = warehouseEntries;
     this.RefreshWarehouseEntryCallback = refreshWarehouseEntryCallback;
     this.ToInspectionNoteCallback      = toInspectionNoteCallback;
     InitializeComponent();
 }
Esempio n. 14
0
 public FormStockTakingOrderItem(IDictionary <string, object> srockTakingOrder)
 {
     MethodListenerContainer.Register(this);
     this.stockTakingOrder = srockTakingOrder;
     InitializeComponent();
     this.searchView1.AddStaticCondition("stockTakingOrderId", this.stockTakingOrder["id"]);
     //this.model1.RowRemoved += this.model_RowRemoved;
     //this.model1.Refreshed += this.model_Refreshed;
 }
Esempio n. 15
0
 public FormWarehouse(ComboBox comboBoxWarehouse, Panel panelRight, TreeView treeViewLeft)
 {
     MethodListenerContainer.Register("FormWarehouse", this);
     InitializeComponent();
     this.model1.RowRemoved += this.model_RowRemoved;
     this.model1.Refreshed  += this.model_Refreshed;
     this.comboBoxWarehouse  = comboBoxWarehouse;
     this.panelRight         = panelRight;
     this.treeViewLeft       = treeViewLeft;
 }
Esempio n. 16
0
 public FormSafetyStock(int stockType)
 {
     FormSafetyStock.stockType = stockType;
     MethodListenerContainer.Register(this);
     InitializeComponent();
     if (FormSafetyStock.stockType == 0)
     {
         this.basicView1.Mode   = "putaway";
         this.reoGridView2.Mode = "putaway";
     }
 }
Esempio n. 17
0
 public FormPayNoteItem(int payNoteId, int periodId, int taxId, int payNoteState, string payNoteNo)
 {
     MethodListenerContainer.Register("FormPayNoteItem", this);
     InitializeComponent();
     this.payNoteId    = payNoteId;
     this.periodId     = periodId;
     this.taxId        = taxId;
     this.payNoteState = payNoteState;
     this.payNoteNo    = payNoteNo;
     this.model1.SelectionRangeChanged += this.model_SelectionRangeChanged;
 }
Esempio n. 18
0
 public FormWarehouseEntryItem(IDictionary <string, object> warehouseEntry)
 {
     MethodListenerContainer.Register("FormWarehouseEntryItem", this);
     this.warehouseEntry = warehouseEntry;
     InitializeComponent();
     this.searchView1.AddStaticCondition("warehouseEntryId", this.warehouseEntry["id"]);
     if ((int)warehouseEntry["state"] != STATE_WAIT_FOR_PUT_IN)
     {
         this.buttonAdd.Enabled    = false;
         this.buttonDelete.Enabled = false;
     }
 }
 public FormTransferOrderItem(IDictionary <string, object> transferOrder)
 {
     MethodListenerContainer.Register(this);
     this.transferOrder = transferOrder;
     InitializeComponent();
     this.searchView1.AddStaticCondition("transferOrderId", this.transferOrder["id"]);
     if (this.transferOrder["supplierId"] == null)
     {
         this.basicView1.Mode   = "no_supplier";
         this.reoGridView1.Mode = "no_supplier";
     }
 }
Esempio n. 20
0
        public FormDeliverOrderItem(IDictionary <string, object> deliveryOrder)
        {
            MethodListenerContainer.Register(this);
            this.deliveryOrder = deliveryOrder;
            InitializeComponent();
            this.searchView1.AddStaticCondition("deliveryOrderId", this.deliveryOrder["id"]);
            int OrderState = (int)this.deliveryOrder["state"];
            int OrderType  = (int)this.deliveryOrder["type"];

            if (OrderState == 3 || OrderState == 4)
            {
                this.toolStripButtonAdd.Enabled           = false;
                this.toolStripButtonAlter.Enabled         = false;
                this.toolStripButtonDelete.Enabled        = false;
                this.toolStripButtonDeliveyPakage.Enabled = false;
            }
            if (OrderType == 1)
            {
                this.toolStripButtonDeliveyPakage.Visible = false;
            }
            this.model1.RowRemoved += this.model_RowRemoved;
            this.model1.Refreshed  += this.model_Refreshed;
        }
Esempio n. 21
0
 public FormSummaryNoteItem(IDictionary <string, object> summaryNote)
 {
     MethodListenerContainer.Register(this);
     this.summaryNote = summaryNote;
     InitializeComponent();
 }
Esempio n. 22
0
 public FormSalaryItem(int salaryTypeId)
 {
     MethodListenerContainer.Register("FormSalaryItem", this);
     InitializeComponent();
     this.salaryTypeId = salaryTypeId;
 }
Esempio n. 23
0
 public FormPayNote()
 {
     MethodListenerContainer.Register("FormPayNote", this);
     InitializeComponent();
 }
Esempio n. 24
0
 public FormPersonSalary()
 {
     MethodListenerContainer.Register("FormPersonSalary", this);
     InitializeComponent();
     formPersonSalary = this;
 }
Esempio n. 25
0
 public FormAddPersonSalary()
 {
     MethodListenerContainer.Register("formAddPersonSalary", this);
     this.CenterToScreen();
     InitializeComponent();
 }
Esempio n. 26
0
 public FormTransferAccount()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
 }
Esempio n. 27
0
 public FormDeliveryDetails(IDictionary <string, object> summaryNoteItem)
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.summaryNoteItem = summaryNoteItem;
 }
Esempio n. 28
0
 public FormSalaryType()
 {
     MethodListenerContainer.Register("FormSalaryType", this);
     InitializeComponent();
 }
Esempio n. 29
0
 public FormPutAwayNote()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
     this.model1.CellUpdated += this.model_CellUpdated;
 }
Esempio n. 30
0
 public FormInspectionNote()
 {
     MethodListenerContainer.Register(this);
     InitializeComponent();
 }