private void Initialize() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.panel2 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.lblMonth = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblMonth"); this.lblKPMaxDay = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblKPMaxDay"); this.lblFirstDay = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFirstDay"); this.label6 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label6"); this.label5 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label5"); this.label4 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label4"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.lblWeek = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblWeek"); this.dtpDate = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dtpDate"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.pictureBox1 = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("pictureBox1"); this.dtpTime = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dtpTime"); this.dtpTime.Format = DateTimePickerFormat.Time; this.dtpTime.ShowUpDown = true; this.dtpDate.ValueChanged += new EventHandler(this.dtpDate_ValueChanged); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
private void InitializeComponent() { this.components = new Container(); this.PanList = new DoubelPanel(); this.panDock = new AisinoPNL(); this.timer1 = new Timer(this.components); this.panDock.SuspendLayout(); base.SuspendLayout(); this.PanList.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.PanList.Location = new Point(3, 3); this.PanList.Name = "PanList"; this.PanList.Size = new Size(0x144, 0x132); this.PanList.TabIndex = 0; this.panDock.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.panDock.Controls.Add(this.PanList); this.panDock.Location = new Point(3, 0x1c); this.panDock.Name = "panDock"; this.panDock.Size = new Size(0x15a, 0x114); this.panDock.TabIndex = 1; this.timer1.Interval = 50; this.timer1.Tick += new EventHandler(this.timer1_Tick); base.AutoScaleDimensions = new SizeF(6f, 12f); this.BackColor = Color.White; base.Controls.Add(this.panDock); base.Name = "IconDock"; base.Size = new Size(0x160, 0x151); base.Title = "快捷方式"; this.panDock.ResumeLayout(false); base.ResumeLayout(false); }
private void Initialize() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.txtNewPwd = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txtNewPwd"); this.txtOldPwd = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txtOldPwd"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.panel2 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.txtReNewPwd = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txtReNewPwd"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.pictureBox1 = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("pictureBox1"); this.txtOldPwd.set_RegexText("^[A-Za-z0-9]*$"); this.txtNewPwd.set_RegexText("^[A-Za-z0-9]*$"); this.txtReNewPwd.set_RegexText("^[A-Za-z0-9]{0,8}$"); this.txtOldPwd.MaxLength = 8; this.txtNewPwd.MaxLength = 8; this.txtOldPwd.set_IsEmpty(false); this.txtNewPwd.set_IsEmpty(false); this.txtReNewPwd.set_IsEmpty(false); this.txtOldPwd.PasswordChar = '*'; this.txtNewPwd.PasswordChar = '*'; this.txtReNewPwd.PasswordChar = '*'; this.btnOK.Enabled = false; this.txtReNewPwd.TextChanged += new EventHandler(this.txtReNewPwd_TextChanged); this.txtNewPwd.TextChanged += new EventHandler(this.txtNewPwd_TextChanged); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(BaseNavForm)); this.NavPanle = new AisinoPNL(); base.SuspendLayout(); this.NavPanle.Anchor = AnchorStyles.None; this.NavPanle.BackColor = Color.Transparent; this.NavPanle.BackgroundImageLayout = ImageLayout.None; this.NavPanle.Location = new Point(0, 0); this.NavPanle.Name = "NavPanle"; this.NavPanle.Size = new Size(800, 530); this.NavPanle.TabIndex = 0; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; this.BackgroundImageLayout = ImageLayout.None; base.ClientSize = new Size(800, 530); base.ControlBox = false; base.Controls.Add(this.NavPanle); base.FormBorderStyle = FormBorderStyle.None; base.Icon = (Icon)manager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "BaseNavForm"; base.Opacity = 0.0; base.StartPosition = FormStartPosition.CenterScreen; base.ResumeLayout(false); }
private void InitializeComponent() { this.panControl = new AisinoPNL(); this.panDock = new AisinoPNL(); this.vBar = new VScrollBar(); this.panControl.SuspendLayout(); base.SuspendLayout(); this.panControl.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.panControl.BackColor = Color.White; this.panControl.Controls.Add(this.panDock); this.panControl.Location = new Point(3, 3); this.panControl.Name = "panControl"; this.panControl.Size = new Size(0x1e7, 0x20c); this.panControl.TabIndex = 2; this.panDock.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.panDock.Location = new Point(3, 4); this.panDock.Name = "panDock"; this.panDock.Size = new Size(0x1e1, 0x205); this.panDock.TabIndex = 0; this.vBar.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top; this.vBar.Location = new Point(0x1df, 3); this.vBar.Name = "vBar"; this.vBar.Size = new Size(20, 0x205); this.vBar.TabIndex = 3; this.vBar.Scroll += new ScrollEventHandler(this.vBar_Scroll); base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.Controls.Add(this.vBar); base.Controls.Add(this.panControl); base.Name = "PageControl"; base.Size = new Size(500, 530); this.panControl.ResumeLayout(false); base.ResumeLayout(false); }
private void Initialize() { this.InitializeComponent(); this.DraweeRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ"); this.CarrierRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_SellerSQ"); this.YDKRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Ydk"); this.WDKRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Wdk"); this.Carrier_MistakeRejectRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_SellerSQ_1"); this.Carrier_MistakeNonDeliverRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_SellerSQ_2"); this.RenZRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Wdk_1"); this.TaxcodeRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Wdk_2"); this.InvCodeNoRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Wdk_3"); this.GoodsRB = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("Radio_BuyerSQ_Wdk_4"); this.RenZRB.Enabled = false; this.TaxcodeRB.Enabled = false; this.InvCodeNoRB.Enabled = false; this.GoodsRB.Enabled = false; this.Carrier_MistakeRejectRB.Enabled = false; this.Carrier_MistakeNonDeliverRB.Enabled = false; this.DraweeRB.Click += new EventHandler(this.DraweeRB_Click); this.CarrierRB.Click += new EventHandler(this.CarrierRB_Click); this.YDKRB.Click += new EventHandler(this.YDKRB_Click); this.WDKRB.Click += new EventHandler(this.WDKRB_Click); this.Carrier_MistakeRejectRB.Click += new EventHandler(this.Carrier_MistakeRB_Click); this.Carrier_MistakeNonDeliverRB.Click += new EventHandler(this.Carrier_MistakeRB_Click); this.RenZRB.Click += new EventHandler(this.WDK_SubItem_Click); this.TaxcodeRB.Click += new EventHandler(this.WDK_SubItem_Click); this.InvCodeNoRB.Click += new EventHandler(this.WDK_SubItem_Click); this.GoodsRB.Click += new EventHandler(this.WDK_SubItem_Click); this.InvKindCombo = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("txt_fpzl"); this.BtnNext = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_next"); this.BtnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ok"); this.BtnClose = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_close"); this.InvNumEdit = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txt_fphm"); this.InvCodeEdit = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txt_fpdm"); this.InvCodeEdit.KeyPress += new KeyPressEventHandler(this.InvCodeEdit_KeyPress); this.InvCodeEdit.MaxLength = 10; this.InvNumEdit.KeyPress += new KeyPressEventHandler(this.InvNumEdit_KeyPress); this.InvNumEdit.MaxLength = 8; this.DraweePanel = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.CarrierPanel = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.WDKPanel = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1_2"); this.panel3 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel3"); this.panel4 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel4"); this.lblInfo = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblInfo"); this.csdgBlueInvInfo = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("customStyleDataGrid1"); this.GridShowHeaderInit(); this.BtnClose.Click += new EventHandler(this.btn_Close_Click); this.BtnNext.Click += new EventHandler(this.btn_Next_Click); this.BtnOK.Click += new EventHandler(this.btn_Ok_Click); this.InvCodeEdit.TextChanged += new EventHandler(this.txt_fphm_TextChanged); this.InvNumEdit.TextChanged += new EventHandler(this.txt_fphm_TextChanged); this.panel5 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel5"); base.Paint += new PaintEventHandler(this.HySqdInfoSelect_Paint); base.Resize += new EventHandler(this.HySqdInfoSelect_Resize); this.panel5.BorderStyle = BorderStyle.Fixed3D; }
private void Initialize() { this.InitializeComponent(); this.toolStrip = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip"); this.tool_Close = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Close"); this.tool_Choose = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Choose"); this.tool_Default = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Default"); this.tool_Insert = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Insert"); this.tool_Update = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Update"); this.tool_Delete = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Delete"); this.pnl_Edit = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnl_Edit"); this.txt_Receiver = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Receiver"); this.txt_Cellphone = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Cellphone"); this.txt_Landline = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Landline"); this.txt_Postcode = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Postcode"); this.txt_Address = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Address"); this.rtxt_Memo = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtxt_Memo"); this.btn_InsertUpdate = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_InsertUpdate"); this.btn_Reset = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Reset"); this.btn_Indent = this.xmlComponentLoader1.GetControlByName <Button>("btn_Indent"); this.csdgAddress = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("csdgList"); this.tool_Close.Click += new EventHandler(this.tool_Close_Click); this.tool_Choose.Click += new EventHandler(this.tool_Choose_Click); this.tool_Default.Click += new EventHandler(this.tool_Default_Click); this.tool_Insert.Click += new EventHandler(this.tool_Insert_Click); this.tool_Update.Click += new EventHandler(this.tool_Update_Click); this.tool_Delete.Click += new EventHandler(this.tool_Delete_Click); this.btn_Indent.Click += new EventHandler(this.btn_Indent_Click); this.btn_InsertUpdate.Click += new EventHandler(this.btn_InsertUpdate_Click); this.btn_Reset.Click += new EventHandler(this.btn_Reset_Click); this.txt_Receiver.TextChanged += new EventHandler(this.txt_Receiver_TextChanged); this.txt_Cellphone.TextChanged += new EventHandler(this.txt_Cellphone_TextChanged); this.txt_Landline.TextChanged += new EventHandler(this.txt_Landline_TextChanged); this.txt_Postcode.TextChanged += new EventHandler(this.txt_Postcode_TextChanged); this.txt_Address.TextChanged += new EventHandler(this.txt_Address_TextChanged); this.rtxt_Memo.TextChanged += new EventHandler(this.rtxt_Memo_TextChanged); this.txt_Receiver.KeyPress += new KeyPressEventHandler(this.txt_Receiver_KeyPress); this.txt_Cellphone.KeyPress += new KeyPressEventHandler(this.txt_Cellphone_KeyPress); this.txt_Landline.KeyPress += new KeyPressEventHandler(this.txt_Landline_KeyPress); this.txt_Postcode.KeyPress += new KeyPressEventHandler(this.txt_Postcode_KeyPress); this.txt_Address.KeyPress += new KeyPressEventHandler(this.txt_Address_KeyPress); this.rtxt_Memo.KeyPress += new KeyPressEventHandler(this.rtxt_Memo_KeyPress); this.csdgAddress.MouseDoubleClick += new MouseEventHandler(this.csdgAddress_MouseDoubleClick); this.tool_Close.Margin = new Padding(20, 1, 0, 2); ControlStyleUtil.SetToolStripStyle(this.toolStrip); this.gridSetting(); }
private void Initialize() { this.InitializeComponent(); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.panel2 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.btn_OK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_OK"); this.lbl_FpHm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_FpHm"); this.lbl_FpDm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_FpDm"); this.pictureBox1 = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("pictureBox1"); this.lbl_JE = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_JE"); this.lbl_XfSh = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_XfSh"); this.lbl_GfSh = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_GfSh"); this.lbl_KpRq = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_KpRq"); this.lbl_ZfBz = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_ZfBz"); this.lbl_SE = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_SE"); this.lbl_BSZT = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_BSZT"); }
private void Initialize() { this.InitializeComponent(); this.textBoxSJBM = this.xmlComponentLoader1.GetControlByName <TextBoxTreeView>("textBoxSJBM"); this.panelDoing = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panelDoing"); this.pictureBox1 = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("pictureBox1"); this.labelDoing = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelDoing"); this.toolStripBtnSave = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave"); this.toolStripBtnCancel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnCancel"); this.toolStripBtnContinue = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnContinue"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label8 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8"); this.textBoxBM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxBM"); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.button3 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button3"); this.button2 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button2"); this.textBoxJM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxJM"); this.labelKJM = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelKJM"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.chbXTHide = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("chbXTHide"); this.lblXTHide = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblXTHide"); this.textBoxWaitMC = this.xmlComponentLoader1.GetControlByName <TextBoxWait>("textBoxWaitMC"); this.toolStripBtnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.toolStripBtnCancel.Click += new EventHandler(this.toolStripBtnCancel_Click); this.toolStripBtnContinue.Click += new EventHandler(this.toolStripBtnContinue_Click); this.textBoxBM.KeyPress += new KeyPressEventHandler(this.textBoxBM_KeyPress); this.textBoxBM.TextChanged += new EventHandler(this.textBoxBM_TextChanged); this.textBoxBM.Validating += new CancelEventHandler(this.textBoxBM_Validating); this.textBoxWaitMC.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitBM_TextChangedWaitGetText); this.textBoxWaitMC.WaterMarkString = "商品分类名称"; this.button1.Click += new EventHandler(this.toolStripBtnSave_Click); this.button2.Click += new EventHandler(this.toolStripBtnCancel_Click); this.button3.Click += new EventHandler(this.toolStripBtnContinue_Click); this.textBoxSJBM.RootNodeString = "商品编码"; this.textBoxSJBM.Text = "编码"; this.textBoxSJBM.selectChanged += new TextBoxTreeView.SelectChanged(this.textBoxSJBM_selectChanged); this.textBoxSJBM.getListNodes += new TextBoxTreeView.GetListNodes(this.treeviewneed_getListNodes); this.toolStripBtnContinue.Visible = false; this.chbXTHide.Visible = false; this.lblXTHide.Visible = false; this.textBoxWaitMC.TextChanged += new EventHandler(this.textBoxWaitMC_TextChanged); this.textBoxJM.KeyPress += new KeyPressEventHandler(this.textBoxJM_KeyPress); this.textBoxJM.TextChanged += new EventHandler(this.textBoxJM_TextChanged); }
private void Initialize() { this.InitializeComponent(); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.toolStripBtnSave = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave"); this.toolStripBtnCancel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnCancel"); this.toolStripBtnContinue = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnContinue"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.panelDoing = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panelDoing"); this.pictureBox1 = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("pictureBox1"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.label8 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8"); this.textBoxSJBM = this.xmlComponentLoader1.GetControlByName <TextBoxTreeView>("textBoxSJBM"); this.textBoxBM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxBM"); this.textBoxJM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxJM"); this.textBoxWaitMC = this.xmlComponentLoader1.GetControlByName <TextBoxWait>("textBoxWaitMC"); this.textBoxWaitMC.WaterMarkString = "客户分类名称"; this.textBoxWaitMC.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitMC_TextChangedWaitGetText); this.labelJM = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelKJM"); this.btnSave = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnSave"); this.btnContinue = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnContinue"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.textBoxBM.KeyPress += new KeyPressEventHandler(this.textBoxBM_KeyPress); this.textBoxBM.TextChanged += new EventHandler(this.textBoxBM_TextChanged); this.textBoxBM.Validating += new CancelEventHandler(this.textBoxBM_Validating); this.textBoxWaitMC.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitMC_TextChangedWaitGetText); this.textBoxWaitMC.TextChanged += new EventHandler(this.textBoxWaitMC_TextChanged); this.textBoxJM.KeyPress += new KeyPressEventHandler(this.textBoxJM_KeyPress); this.textBoxJM.TextChanged += new EventHandler(this.textBoxJM_TextChanged); this.backgroundWorker1.DoWork += new DoWorkEventHandler(this.backgroundWorker1_DoWork); this.backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted); this.btnContinue.Click += new EventHandler(this.toolStripBtnContinue_Click); this.btnCancel.Click += new EventHandler(this.toolStripBtnCancel_Click); this.btnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.toolStripBtnCancel.Click += new EventHandler(this.toolStripBtnCancel_Click); this.toolStripBtnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.toolStripBtnContinue.Click += new EventHandler(this.toolStripBtnContinue_Click); this.textBoxSJBM.RootNodeString = "客户编码"; this.textBoxSJBM.Text = "编码"; this.textBoxSJBM.selectChanged += new TextBoxTreeView.SelectChanged(this.textBoxSJBM_selectChanged); this.textBoxSJBM.getListNodes += new TextBoxTreeView.GetListNodes(this.treeviewneed_getListNodes); this.toolStripBtnContinue.Visible = false; }
private void Initialize() { this.InitializeComponent(); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.panel2 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.panel1.Visible = true; this.panel2.Visible = false; this.lblStartTip = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblStartTip"); this.lblNotFind = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblNotFind"); this.lblFpzl = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpzl"); this.lblFpdm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpdm"); this.lblFphm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFphm"); this.lblFile = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFile"); this.lblDjh = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblDjh"); this.btnStart = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnStart"); this.btnExit = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnExit"); this.pbImport = this.xmlComponentLoader1.GetControlByName <AisinoPRG>("pbImport"); this.btnStart.Click += new EventHandler(this.btnStart_Click); this.btnExit.Click += new EventHandler(this.btnExit_Click); this.lblFile.AutoEllipsis = true; }
private void Initialize() { this.InitializeComponent(); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.lbl_title = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.txt_fphm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fphm"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fpdm"); this.txt_fphm2 = this.xmlComponentLoader1.GetControlByName <NoPasteText>("text_fphm2"); this.txt_fpdm2 = this.xmlComponentLoader1.GetControlByName <NoPasteText>("text_fpdm2"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.but_qx = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_qx"); this.but_xyb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_xyb"); this.but_syb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_syb"); this.label9 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.tabControl1 = this.xmlComponentLoader1.GetControlByName <AisinoTAB>("tabControl1"); this.tabPage2 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage2"); this.tabPage3 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage3"); this.picBox1 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox1"); this.picBox3 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox3"); this.btnDetail = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnDetail"); this.txt_bz.ScrollBars = ScrollBars.Vertical; this.but_qx.Click += new EventHandler(this.but_qx_Click); this.but_xyb.Click += new EventHandler(this.but_xyb_Click); this.but_syb.Click += new EventHandler(this.but_syb_Click); this.btnDetail.Click += new EventHandler(this.btnDetail_Click); this.txt_fpdm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fphm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fpdm2.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fphm2.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fpdm.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fphm.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fpdm2.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fphm2.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.picBox1.BackgroundImage = Resources.ZH1; this.picBox1.BackgroundImageLayout = ImageLayout.Stretch; this.picBox3.BackgroundImage = Resources.ZH3; this.picBox3.BackgroundImageLayout = ImageLayout.Stretch; }
private void Initial() { this.InitializeComponent(); base.MinimizeBox = false; base.MaximizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.tbZp = this.xmlComponentLoader1.GetControlByName <TabPageEx>("tbZp"); this.tbHy = this.xmlComponentLoader1.GetControlByName <TabPageEx>("tbHy"); this.tbJdc = this.xmlComponentLoader1.GetControlByName <TabPageEx>("tbJdc"); this.lblZpT = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblZpT"); this.lblHyT = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblHyT"); this.lblJdcT = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblJdcT"); this.pnlZpErr = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlZpErr"); this.pnlHyErr = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlHyErr"); this.pnlJdcErr = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlJdcErr"); this.pnlZpInfo = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlZpInfo"); this.pnlHyInfo = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlHyInfo"); this.pnlJdcInfo = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlJdcInfo"); this.rtbZp = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtbZp"); this.rtbHy = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtbHy"); this.rtbJdc = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtbJdc"); base.Load += new EventHandler(this.PzxzForm_Load); }
private void Initialize() { this.InitializeComponent(); this.tool_close = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_close"); this.tool_zuofei = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_zuofei"); this.tool_zuofei.CheckOnClick = false; this.tool_kehu = this.xmlComponentLoader1.GetControlByName <ToolStripDropDownButton>("tool_kehu"); this.tool_autokh = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_autokh"); this.tool_manukh = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_manukh"); this.tool_fanlan = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_fanlan"); this.tool_zjkj = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_zjkj"); this.tool_DaoRuHZTZD = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_DaoRuHZTZD"); this.tool_drgp = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_drgp"); this.tool_fushu = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_fushu"); this.tool_fushu1 = this.xmlComponentLoader1.GetControlByName <ToolStripDropDownButton>("tool_fushu1"); this.tool_fushu1.Visible = false; this.tool_import = this.xmlComponentLoader1.GetControlByName <ToolStripDropDownButton>("tool_import"); this.tool_imputSet = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_imputSet"); this.tool_manualImport = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_manualImport"); this.tool_autoImport = this.xmlComponentLoader1.GetControlByName <ToolStripMenuItem>("tool_autoImport"); this.tool_print = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_print"); this.tool_fuzhi = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_fuzhi"); this.tool_dkdr = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_dkdr"); this.tool_dkdjdr = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_dkdjdr"); this.tool_chae = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_chae"); this.lab_title = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_title"); this.lab_fpdm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_fpdm"); this.lab_kprq = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_kprq"); this.lab_fphm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_fphm"); this.lab_yplx = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_yplx"); this.lab_yplx.Visible = false; this.lblDq = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lbl_Dq"); this.com_yplx = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_yplx"); this.com_gfsbh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_gfsbh"); this.com_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_gfmc"); this.com_gfdzdh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_gfdzdh"); this.com_gfzh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_gfzh"); this.lab_hj_se = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_hj_se"); this.lab_hj_je = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_hj_je"); this.lab_hj_jshj = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_hj_jshj"); this.lab_hj_jshj_dx = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_hj_jshj_dx"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.com_xfsbh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("lab_xfsbh"); this.com_xfmc = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("lab_xfmc"); this.com_xfzh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_xfzh"); this.com_xfdzdh = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("lab_xfdzdh"); this.lab_kp = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_kp"); this.com_fhr = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_fhr"); this.com_fhr.IsSelectAll = true; this.com_fhr.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "YH", this.com_fhr.Width)); this.com_fhr.DrawHead = false; this.com_skr = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("com_skr"); this.com_skr.IsSelectAll = true; this.com_skr.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "YH", this.com_skr.Width)); this.com_skr.DrawHead = false; this.qingdanButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_qingdan"); this.addRowButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_addrow"); this.delRowButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_delrow"); this.zhekouButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_zhekou"); this._DataGridView = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("DataGrid1"); this.statisticButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_tongji"); this.hsjbzButton = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("bt_jg"); this.mainPanel = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel_main"); this.YD_checkBox = this.xmlComponentLoader1.GetControlByName <CheckBox>("YD_checkBox"); this.lblJYM = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblJYM"); this.lblJYM.Visible = false; this.lblNCP = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblNCP"); this.lblNCP.Visible = false; this.statisticButton.Visible = false; this.hsjbzButton.CheckOnClick = true; this.com_gfdzdh.IsSelectAll = true; this.com_gfdzdh.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "YHZH", this.com_gfdzdh.Width)); this.com_gfdzdh.DrawHead = false; this.com_yplx.DropDownStyle = ComboBoxStyle.DropDownList; object[] items = new object[] { "(石脑油)", "(石脑油DDZG)", "(燃料油)", "(燃料油DDZG)" }; this.com_yplx.Items.AddRange(items); this.com_yplx.Visible = false; this.txt_bz.AcceptsTab = false; this.txt_bz.AcceptsReturn = true; this.txt_bz.ScrollBars = ScrollBars.Vertical; this.com_gfmc.Edit = 0; this.com_gfsbh.Edit = 0; this.com_gfdzdh.Edit = 0; this.com_gfzh.Edit = 0; this.com_xfmc.Edit = 0; this.com_xfsbh.Edit = 0; this.com_xfdzdh.Edit = 0; this.com_xfzh.Edit = 0; this.tool_print.Click += new EventHandler(this.tool_print_Click); this.tool_zuofei.Click += new EventHandler(this.tool_zuofei_Click); this.hsjbzButton.Click += new EventHandler(this.hsjbzButton_Click); this.qingdanButton.Click += new EventHandler(this.qingdanButton_Click); this.tool_close.Click += new EventHandler(this.tool_close_Click); this.qingdanButton.ToolTipText = "销货清单"; this.statisticButton.Click += new EventHandler(this.statistic_Click); this.tool_print.ToolTipText = "发票打印"; this.toolStrip3 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip3"); ControlStyleUtil.SetToolStripStyle(this.toolStrip3); this._DataGridView.RowHeadersVisible = false; this._DataGridView.CellBorderStyle = DataGridViewCellBorderStyle.None; this._DataGridView.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single; this._DataGridView.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single; this.panel2 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2"); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.picZuofei = this.xmlComponentLoader1.GetControlByName <AisinoPIC>("picZuofei"); this.picZuofei.BackColor = Color.Transparent; this.picZuofei.SizeMode = PictureBoxSizeMode.Zoom; this.picZuofei.Visible = false; this.panel1.BackgroundImage = Resources.ZY; this.panel1.BackgroundImageLayout = ImageLayout.Zoom; this.panel2.AutoScroll = true; this.panel2.AutoScrollMinSize = new Size(0x3c4, 650); this.tool_close.Margin = new Padding(20, 1, 0, 2); }
protected void SetXmlCtrl() { try { this.pnlManipulation = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlManipulation"); this.pnlAttention = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlAttention"); this.lblAttentionHeader = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblAttentionHeader"); this.lblAttentionDetail = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblAttentionDetail"); this.pnlAttention.Visible = false; this.lblAttentionHeader.Visible = false; this.lblAttentionDetail.Visible = false; this.toolStrip = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.tool_Close = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_TuiChu"); this.tool_XuanZe = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_XuanZe"); this.tool_FPTuiHui = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_FPTuiHui"); this.toolStripSeparator1 = this.xmlComponentLoader1.GetControlByName <ToolStripSeparator>("toolStripSeparator1"); this.tool_Find = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Find"); this.tool_Print = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Print"); this.tool_TongJi = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_TongJi"); this.tool_GeShi = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_GeShi"); this.toolLblRetrieve = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblRetrieve"); this.toolLblFpzl = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblFpzl"); this.toolLblYear = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblYear"); this.toolLblMonth = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblMonth"); this.toolTxtRetrieve = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("toolTxtRetrieve"); this.toolCmbFpzl = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbFpzl"); this.toolCmbYear = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbYear"); this.toolCmbMonth = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbMonth"); this.tool_Close.Visible = true; this.tool_XuanZe.Visible = false; this.tool_FPTuiHui.Visible = false; this.toolStripSeparator1.Visible = true; this.tool_Find.Visible = true; this.tool_Print.Visible = true; this.tool_TongJi.Visible = true; this.tool_GeShi.Visible = true; this.toolLblRetrieve.Visible = false; this.toolTxtRetrieve.Visible = false; this.tool_Close.Click += new EventHandler(this.tool_Close_Click); this.tool_Find.Click += new EventHandler(this.tool_Find_Click); this.tool_Print.Click += new EventHandler(this.tool_Print_Click); this.tool_TongJi.Click += new EventHandler(this.tool_TongJi_Click); this.tool_GeShi.Click += new EventHandler(this.tool_GeShi_Click); this.toolCmbFpzl.SelectedIndexChanged += new EventHandler(this.QueryIndexChanged); this.toolCmbYear.SelectedIndexChanged += new EventHandler(this.QueryIndexChanged); this.toolCmbMonth.SelectedIndexChanged += new EventHandler(this.QueryIndexChanged); this.toolCmbFpzl.DropDownStyle = ComboBoxStyle.DropDownList; this.toolCmbYear.DropDownStyle = ComboBoxStyle.DropDownList; this.toolCmbMonth.DropDownStyle = ComboBoxStyle.DropDownList; this.tool_Close.Margin = new Padding(20, 1, 0, 2); ControlStyleUtil.SetToolStripStyle(this.toolStrip); this.QueryComponentsLayoutSet(); this.customStyleDataGrid1 = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("customStyleDataGrid1"); this.customStyleDataGrid1.AllowUserToDeleteRows = false; this.customStyleDataGrid1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; this.customStyleDataGrid1.ReadOnly = true; this.customStyleDataGrid1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; this.customStyleDataGrid1.MultiSelect = false; this.InsertGridColumn(); this._dictFPLBBM = ShareMethods.GetFPLBBM(); this.pnlManipulation.Controls.Add(this.customStyleDataGrid1); this.pnlManipulation.Controls.Add(this.toolStrip); this.pnlManipulation.Controls.Add(this.pnlAttention); } catch (BaseException exception) { this._bError = true; this.loger.Error(exception.Message); ExceptionHandler.HandleError(exception); } catch (Exception exception2) { this._bError = true; this.loger.Error(exception2.Message); ExceptionHandler.HandleError(exception2); } }
private void Initialize() { this.InitializeComponent(); this.btnExit = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnExit"); this.btnConfigSave = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnConfigSave"); this.groupBox4 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox4"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.file_1 = this.xmlComponentLoader1.GetControlByName <FileControl>("file_1"); this.com_sheet_1 = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_sheet_1"); this.panel_file = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel_file"); this.file_2 = this.xmlComponentLoader1.GetControlByName <FileControl>("file_2"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.com_sheet_2 = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_sheet_2"); this.btnPreview = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnPreview"); this.dataGridView2 = this.xmlComponentLoader1.GetControlByName <DataGridView>("dataGridView2"); this.groupBox3 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox3"); this.label4 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label4"); this.txt_1 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_1"); this.panel_row = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel_row"); this.label5 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label5"); this.txt_2 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_2"); this.groupBox2 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox2"); this.radioButton1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton1"); this.radioButton2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton2"); this.panel_Key = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel_Key"); this.label7 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.combo_2 = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_2"); this.label6 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label6"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.dataGridView1 = this.xmlComponentLoader1.GetControlByName <DataGridView>("dataGridView1"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.combo_1 = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_1"); this.id = new DataGridViewTextBoxColumn(); this.key = new DataGridViewTextBoxColumn(); this.ShuJuXiang = new DataGridViewTextBoxColumn(); this.BiXuanShuXin = new DataGridViewTextBoxColumn(); this.WenJianLie = new DataGridViewTextBoxColumn(); this.MoRen = new DataGridViewTextBoxColumn(); this.id.DataPropertyName = "id"; this.id.HeaderText = "编号"; this.id.Name = "id"; this.id.ReadOnly = true; this.id.Visible = false; this.id.Width = 0x7d; this.key.DataPropertyName = "key"; this.key.HeaderText = "key"; this.key.Name = "key"; this.key.Visible = false; this.ShuJuXiang.DataPropertyName = "ShuJuXiang"; this.ShuJuXiang.HeaderText = "数据项"; this.ShuJuXiang.Name = "ShuJuXiang"; this.ShuJuXiang.ReadOnly = true; this.ShuJuXiang.Width = 0x7d; this.BiXuanShuXin.DataPropertyName = "BiXuanShuXin"; this.BiXuanShuXin.HeaderText = "必选属性"; this.BiXuanShuXin.Name = "BiXuanShuXin"; this.BiXuanShuXin.ReadOnly = true; this.BiXuanShuXin.Width = 70; this.WenJianLie.DataPropertyName = "WenJianLie"; this.WenJianLie.HeaderText = "数据项对应Excel文件的列"; this.WenJianLie.Name = "WenJianLie"; this.WenJianLie.ReadOnly = true; this.WenJianLie.Width = 150; this.MoRen.DataPropertyName = "MoRen"; this.MoRen.HeaderText = "默认值"; this.MoRen.Name = "MoRen"; this.MoRen.Width = 60; this.com_sheet_1.Visible = false; this.com_sheet_2.Visible = false; this.dataGridView1.AllowUserToAddRows = false; this.dataGridView2.AllowUserToAddRows = false; this.btnExit.Click += new EventHandler(this.btnExit_Click); this.btnConfigSave.Click += new EventHandler(this.btnConfigSave_Click); this.btnPreview.Click += new EventHandler(this.btnPreview_Click); this.radioButton1.CheckedChanged += new EventHandler(this.radioButton1_CheckedChanged); this.radioButton2.CheckedChanged += new EventHandler(this.radioButton2_CheckedChanged); this.combo_2.Click += new EventHandler(this.combo_2_Click); this.dataGridView1.Scroll += new ScrollEventHandler(this.dataGridView1_Scroll); this.dataGridView1.CellClick += new DataGridViewCellEventHandler(this.dataGridView1_CellClick); this.dataGridView1.ColumnWidthChanged += new DataGridViewColumnEventHandler(this.dataGridView1_ColumnWidthChanged); this.combo_1.MouseClick += new MouseEventHandler(this.combo_1_MouseClick); }
private void InitializeComponent() { new ComponentResourceManager(typeof(BMBase <tEdit, tFenLei, tSelect>)); this.aisinoDataGrid1 = new AisinoDataGrid(); this.splitContainer1 = new AisinoSPL(); this.treeViewBM1 = new TreeViewBM(); this.toolStrip1 = new ToolStrip(); this.toolExit = new ToolStripButton(); this.toolStripSeparator2 = new ToolStripSeparator(); this.toolExport = new ToolStripButton(); this.toolImport = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.tool_GeShi = new ToolStripButton(); this.tool_TongJi = new ToolStripButton(); this.tool_ChaZhao = new ToolStripButton(); this.toolPrint = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.toolDel = new ToolStripButton(); this.toolModify = new ToolStripButton(); this.toolAdd = new ToolStripButton(); this.toolSearchLbl = new ToolStripLabel(); this.textBoxWaitKey = new ToolStripTextBox(); this.panel1 = new AisinoPNL(); (this.splitContainer1 as ISupportInitialize).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.aisinoDataGrid1.AborCellPainting = false; this.aisinoDataGrid1.AutoSize = true; this.aisinoDataGrid1.BackColor = Color.White; this.aisinoDataGrid1.CurrentCell = null; this.aisinoDataGrid1.DataSource = null; this.aisinoDataGrid1.Dock = DockStyle.Fill; this.aisinoDataGrid1.FirstDisplayedScrollingRowIndex = -1; this.aisinoDataGrid1.IsShowAll = false; this.aisinoDataGrid1.Location = new Point(0, 0); this.aisinoDataGrid1.Name = "aisinoDataGrid1"; this.aisinoDataGrid1.ReadOnly = false; this.aisinoDataGrid1.RightToLeft = RightToLeft.No; this.aisinoDataGrid1.ShowAllChkVisible = true; this.aisinoDataGrid1.Size = new Size(0x311, 0xe5); this.aisinoDataGrid1.TabIndex = 0; this.splitContainer1.Dock = DockStyle.Fill; this.splitContainer1.Location = new Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Panel1.Controls.Add(this.treeViewBM1); this.splitContainer1.Panel2.Controls.Add(this.toolStrip1); this.splitContainer1.Panel2.Controls.Add(this.aisinoDataGrid1); this.splitContainer1.Size = new Size(0x3dc, 0xe5); this.splitContainer1.SplitterDistance = 0xc7; this.splitContainer1.TabIndex = 0; this.treeViewBM1.ChildText = ""; this.treeViewBM1.Dock = DockStyle.Fill; this.treeViewBM1.Location = new Point(0, 0); this.treeViewBM1.Name = "treeViewBM1"; this.treeViewBM1.ReadOnly = false; this.treeViewBM1.SelectedNode = null; this.treeViewBM1.Size = new Size(0xc7, 0xe5); this.treeViewBM1.TabIndex = 0; this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolExit, this.toolStripSeparator2, this.toolExport, this.toolImport, this.toolStripSeparator3, this.tool_GeShi, this.tool_TongJi, this.tool_ChaZhao, this.toolPrint, this.toolStripSeparator1, this.toolDel, this.toolModify, this.toolAdd, this.toolSearchLbl, this.textBoxWaitKey }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x311, 0x19); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; this.toolExit.Image = Resources.退出; this.toolExit.ImageTransparentColor = Color.Magenta; this.toolExit.Name = "toolExit"; this.toolExit.Size = new Size(0x34, 0x16); this.toolExit.Text = "退出"; this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(6, 0x19); this.toolExport.Image = Resources.导出; this.toolExport.ImageTransparentColor = Color.Magenta; this.toolExport.Name = "toolExport"; this.toolExport.Size = new Size(0x34, 0x16); this.toolExport.Text = "导出"; this.toolImport.Image = Resources.导入; this.toolImport.ImageTransparentColor = Color.Magenta; this.toolImport.Name = "toolImport"; this.toolImport.Size = new Size(0x34, 0x16); this.toolImport.Text = "导入"; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); this.tool_GeShi.Image = Resources.格式; this.tool_GeShi.ImageTransparentColor = Color.Magenta; this.tool_GeShi.Name = "tool_GeShi"; this.tool_GeShi.Size = new Size(0x34, 0x16); this.tool_GeShi.Text = "格式"; this.tool_GeShi.Click += new EventHandler(this.tool_GeShi_Click); this.tool_TongJi.Image = Resources.统计; this.tool_TongJi.ImageTransparentColor = Color.Magenta; this.tool_TongJi.Name = "tool_TongJi"; this.tool_TongJi.Size = new Size(0x34, 0x16); this.tool_TongJi.Text = "统计"; this.tool_ChaZhao.Image = Resources.搜索; this.tool_ChaZhao.ImageTransparentColor = Color.Magenta; this.tool_ChaZhao.Name = "tool_ChaZhao"; this.tool_ChaZhao.Size = new Size(0x34, 0x16); this.tool_ChaZhao.Text = "查找"; this.tool_ChaZhao.Click += new EventHandler(this.tool_ChaZhao_Click); this.toolPrint.Image = Resources.打印; this.toolPrint.ImageTransparentColor = Color.Magenta; this.toolPrint.Name = "toolPrint"; this.toolPrint.Size = new Size(0x34, 0x16); this.toolPrint.Text = "打印"; this.toolPrint.Click += new EventHandler(this.toolPrint_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); this.toolDel.Image = Resources.除; this.toolDel.ImageTransparentColor = Color.Magenta; this.toolDel.Name = "toolDel"; this.toolDel.Size = new Size(0x34, 0x16); this.toolDel.Text = "删除"; this.toolModify.Image = Resources.修改; this.toolModify.ImageTransparentColor = Color.Magenta; this.toolModify.Name = "toolModify"; this.toolModify.Size = new Size(0x34, 0x16); this.toolModify.Text = "修改"; this.toolAdd.Image = Resources.增加; this.toolAdd.ImageTransparentColor = Color.Magenta; this.toolAdd.Name = "toolAdd"; this.toolAdd.Size = new Size(0x34, 0x16); this.toolAdd.Text = "增加"; this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.toolSearchLbl.Image = Resources.搜索; this.toolSearchLbl.Name = "toolSearchLbl"; this.toolSearchLbl.Size = new Size(0x30, 0x16); this.toolSearchLbl.Text = "检索"; this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; this.textBoxWaitKey.Name = "textBoxWaitKey"; this.textBoxWaitKey.Size = new Size(150, 0x19); this.textBoxWaitKey.ToolTipText = "输入关键字(******)"; this.panel1.Controls.Add(this.splitContainer1); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(0x3dc, 0xe5); this.panel1.TabIndex = 1; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x3dc, 0xe5); base.Controls.Add(this.panel1); base.Name = "BMBase"; base.TabText = "**编码设置"; this.Text = "**编码设置"; base.Load += new EventHandler(this.BMBase_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); (this.splitContainer1 as ISupportInitialize).EndInit(); this.splitContainer1.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.panel1.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(DJHB)); this.panel1 = new AisinoPNL(); this.labHBSE = new AisinoLBL(); this.labHBJE = new AisinoLBL(); this.groupBox1 = new AisinoGRP(); this.radioButtonSH = new AisinoRDO(); this.textBoxSH = new AisinoTXT(); this.radioButtonMC = new AisinoRDO(); this.textBoxMC = new AisinoTXT(); this.comboBoxYF = new AisinoCMB(); this.label4 = new AisinoLBL(); this.comboBoxDJZL = new AisinoCMB(); this.btnQuery = new AisinoBTN(); this.label3 = new AisinoLBL(); this.toolStrip1 = new ToolStrip(); this.toolStripButton1 = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.toolStripBtnHB = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.splitContainer1 = new AisinoSPL(); this.groupBox3 = new AisinoGRP(); this.aisinoDataGrid1 = new AisinoDataGrid(); this.groupBox4 = new AisinoGRP(); this.aisinoDataGrid2 = new AisinoDataGrid(); this.groupBox2 = new AisinoGRP(); this.label1 = new AisinoLBL(); this.checkBoxKBZ = new AisinoCHK(); this.radioButtonComplicate = new AisinoRDO(); this.radioButtonSimple = new AisinoRDO(); this.checkBoxHBBZ = new AisinoCHK(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.splitContainer1.BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox2.SuspendLayout(); base.SuspendLayout(); this.panel1.BackColor = Color.Transparent; this.panel1.Controls.Add(this.labHBSE); this.panel1.Controls.Add(this.labHBJE); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Controls.Add(this.splitContainer1); this.panel1.Controls.Add(this.groupBox2); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(890, 0x236); this.panel1.TabIndex = 0; this.labHBSE.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labHBSE.AutoSize = true; this.labHBSE.Location = new Point(0x1fb, 0x221); this.labHBSE.Name = "labHBSE"; this.labHBSE.Size = new Size(0x35, 12); this.labHBSE.TabIndex = 0x1c; this.labHBSE.Text = "合计税额"; this.labHBJE.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labHBJE.AutoSize = true; this.labHBJE.Location = new Point(0x142, 0x221); this.labHBJE.Name = "labHBJE"; this.labHBJE.Size = new Size(0x35, 12); this.labHBJE.TabIndex = 0x1b; this.labHBJE.Text = "合计金额"; this.groupBox1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.groupBox1.Controls.Add(this.radioButtonSH); this.groupBox1.Controls.Add(this.textBoxSH); this.groupBox1.Controls.Add(this.radioButtonMC); this.groupBox1.Controls.Add(this.textBoxMC); this.groupBox1.Controls.Add(this.comboBoxYF); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.comboBoxDJZL); this.groupBox1.Controls.Add(this.btnQuery); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Location = new Point(6, 0x1a); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0x36e, 0x2b); this.groupBox1.TabIndex = 0x18; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询条件"; this.radioButtonSH.Anchor = AnchorStyles.Left; this.radioButtonSH.AutoSize = true; this.radioButtonSH.Location = new Point(0xe8, 0x12); this.radioButtonSH.Name = "radioButtonSH"; this.radioButtonSH.Size = new Size(0x47, 0x10); this.radioButtonSH.TabIndex = 11; this.radioButtonSH.TabStop = true; this.radioButtonSH.Text = "客户税号"; this.radioButtonSH.UseVisualStyleBackColor = true; this.textBoxSH.Anchor = AnchorStyles.Left; this.textBoxSH.Location = new Point(0x135, 0x10); this.textBoxSH.Name = "textBoxSH"; this.textBoxSH.Size = new Size(0x76, 0x15); this.textBoxSH.TabIndex = 10; this.radioButtonMC.Anchor = AnchorStyles.Left; this.radioButtonMC.AutoSize = true; this.radioButtonMC.Location = new Point(6, 0x12); this.radioButtonMC.Name = "radioButtonMC"; this.radioButtonMC.Size = new Size(0x47, 0x10); this.radioButtonMC.TabIndex = 9; this.radioButtonMC.TabStop = true; this.radioButtonMC.Text = "客户名称"; this.radioButtonMC.UseVisualStyleBackColor = true; this.textBoxMC.Anchor = AnchorStyles.Left; this.textBoxMC.Location = new Point(0x53, 0x10); this.textBoxMC.Name = "textBoxMC"; this.textBoxMC.Size = new Size(0x76, 0x15); this.textBoxMC.TabIndex = 4; this.comboBoxYF.Anchor = AnchorStyles.Left; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.FormattingEnabled = true; this.comboBoxYF.Location = new Point(0x2b9, 0x10); this.comboBoxYF.Name = "comboBoxYF"; this.comboBoxYF.Size = new Size(0x33, 20); this.comboBoxYF.TabIndex = 7; this.label4.Anchor = AnchorStyles.Left; this.label4.AutoSize = true; this.label4.Location = new Point(0x299, 20); this.label4.Name = "label4"; this.label4.Size = new Size(0x1d, 12); this.label4.TabIndex = 3; this.label4.Text = "月份"; this.comboBoxDJZL.Anchor = AnchorStyles.Left; this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.FormattingEnabled = true; this.comboBoxDJZL.Location = new Point(0x202, 15); this.comboBoxDJZL.Name = "comboBoxDJZL"; this.comboBoxDJZL.Size = new Size(0x87, 20); this.comboBoxDJZL.TabIndex = 6; this.btnQuery.Anchor = AnchorStyles.Left; this.btnQuery.Location = new Point(0x2ff, 0x10); this.btnQuery.Name = "btnQuery"; this.btnQuery.Size = new Size(0x2e, 0x17); this.btnQuery.TabIndex = 8; this.btnQuery.Text = "查询"; this.btnQuery.UseVisualStyleBackColor = true; this.label3.Anchor = AnchorStyles.Left; this.label3.AutoSize = true; this.label3.Location = new Point(0x1c7, 0x13); this.label3.Name = "label3"; this.label3.Size = new Size(0x35, 12); this.label3.TabIndex = 2; this.label3.Text = "单据种类"; this.toolStrip1.AutoSize = false; this.toolStrip1.ImageScalingSize = new Size(40, 40); this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripButton1, this.toolStripSeparator1, this.toolStripBtnHB, this.toolStripSeparator3 }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(890, 0x19); this.toolStrip1.TabIndex = 0x17; this.toolStrip1.Text = "toolStrip1"; this.toolStripButton1.Image = Resources.退出; this.toolStripButton1.ImageScaling = ToolStripItemImageScaling.None; this.toolStripButton1.ImageTransparentColor = Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new Size(0x33, 0x16); this.toolStripButton1.Text = "退出"; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); this.toolStripBtnHB.Image = Resources.折扣; this.toolStripBtnHB.ImageScaling = ToolStripItemImageScaling.None; this.toolStripBtnHB.ImageTransparentColor = Color.Magenta; this.toolStripBtnHB.Name = "toolStripBtnHB"; this.toolStripBtnHB.Size = new Size(0x63, 0x16); this.toolStripBtnHB.Text = "单据合并预览"; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); this.splitContainer1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.splitContainer1.Location = new Point(3, 0x8e); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = Orientation.Horizontal; this.splitContainer1.Panel1.Controls.Add(this.groupBox3); this.splitContainer1.Panel2.Controls.Add(this.groupBox4); this.splitContainer1.Size = new Size(0x374, 0x18c); this.splitContainer1.SplitterDistance = 260; this.splitContainer1.TabIndex = 0x1a; this.groupBox3.Controls.Add(this.aisinoDataGrid1); this.groupBox3.Dock = DockStyle.Fill; this.groupBox3.Location = new Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(0x374, 260); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "销售单据"; this.aisinoDataGrid1.set_AborCellPainting(false); this.aisinoDataGrid1.AutoSize = true; this.aisinoDataGrid1.BackColor = SystemColors.Control; this.aisinoDataGrid1.set_CurrentCell(null); this.aisinoDataGrid1.set_DataSource(null); this.aisinoDataGrid1.Dock = DockStyle.Fill; this.aisinoDataGrid1.set_FirstDisplayedScrollingRowIndex(-1); this.aisinoDataGrid1.set_IsShowAll(false); this.aisinoDataGrid1.Location = new Point(3, 0x11); this.aisinoDataGrid1.Name = "aisinoDataGrid1"; this.aisinoDataGrid1.RightToLeft = RightToLeft.No; this.aisinoDataGrid1.set_ShowAllChkVisible(true); this.aisinoDataGrid1.Size = new Size(0x36e, 240); this.aisinoDataGrid1.TabIndex = 1; this.groupBox4.Controls.Add(this.aisinoDataGrid2); this.groupBox4.Dock = DockStyle.Fill; this.groupBox4.Location = new Point(0, 0); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new Size(0x374, 0x84); this.groupBox4.TabIndex = 0; this.groupBox4.TabStop = false; this.groupBox4.Text = "销售单据明细"; this.aisinoDataGrid2.set_AborCellPainting(false); this.aisinoDataGrid2.AutoSize = true; this.aisinoDataGrid2.set_CurrentCell(null); this.aisinoDataGrid2.set_DataSource(null); this.aisinoDataGrid2.Dock = DockStyle.Fill; this.aisinoDataGrid2.set_FirstDisplayedScrollingRowIndex(-1); this.aisinoDataGrid2.set_IsShowAll(false); this.aisinoDataGrid2.Location = new Point(3, 0x11); this.aisinoDataGrid2.Name = "aisinoDataGrid2"; this.aisinoDataGrid2.RightToLeft = RightToLeft.No; this.aisinoDataGrid2.set_ShowAllChkVisible(true); this.aisinoDataGrid2.Size = new Size(0x36e, 0x70); this.aisinoDataGrid2.TabIndex = 0; this.groupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.checkBoxKBZ); this.groupBox2.Controls.Add(this.radioButtonComplicate); this.groupBox2.Controls.Add(this.radioButtonSimple); this.groupBox2.Controls.Add(this.checkBoxHBBZ); this.groupBox2.Location = new Point(6, 0x47); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(0x36e, 0x41); this.groupBox2.TabIndex = 0x19; this.groupBox2.TabStop = false; this.groupBox2.Text = "合并选项"; this.label1.AutoSize = true; this.label1.ForeColor = Color.Brown; this.label1.Location = new Point(0x1f5, 20); this.label1.Name = "label1"; this.label1.Size = new Size(0x83, 12); this.label1.TabIndex = 4; this.label1.Text = "合并选择不能超过800行"; this.checkBoxKBZ.AutoSize = true; this.checkBoxKBZ.Location = new Point(0x202, 0x2a); this.checkBoxKBZ.Name = "checkBoxKBZ"; this.checkBoxKBZ.Size = new Size(120, 0x10); this.checkBoxKBZ.TabIndex = 3; this.checkBoxKBZ.Text = "空备注添加单据号"; this.checkBoxKBZ.UseVisualStyleBackColor = true; this.radioButtonComplicate.AutoSize = true; this.radioButtonComplicate.Location = new Point(0x1f, 0x2a); this.radioButtonComplicate.Name = "radioButtonComplicate"; this.radioButtonComplicate.Size = new Size(0x179, 0x10); this.radioButtonComplicate.TabIndex = 2; this.radioButtonComplicate.Tag = "合并后的统计为一条折扣行"; this.radioButtonComplicate.Text = "复杂合并(商品名称、规格型号、计量单位、单价 相同合并为一行)"; this.radioButtonComplicate.UseVisualStyleBackColor = true; this.radioButtonSimple.AutoSize = true; this.radioButtonSimple.Checked = true; this.radioButtonSimple.Location = new Point(0x1f, 20); this.radioButtonSimple.Name = "radioButtonSimple"; this.radioButtonSimple.Size = new Size(0xcb, 0x10); this.radioButtonSimple.TabIndex = 1; this.radioButtonSimple.TabStop = true; this.radioButtonSimple.Text = "简单合并(合并后商品行保持不变)"; this.radioButtonSimple.UseVisualStyleBackColor = true; this.checkBoxHBBZ.AutoSize = true; this.checkBoxHBBZ.Location = new Point(0x1b4, 0x2b); this.checkBoxHBBZ.Name = "checkBoxHBBZ"; this.checkBoxHBBZ.Size = new Size(0x48, 0x10); this.checkBoxHBBZ.TabIndex = 0; this.checkBoxHBBZ.Text = "合并备注"; this.checkBoxHBBZ.UseVisualStyleBackColor = true; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(890, 0x236); base.Controls.Add(this.panel1); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "DJHB"; this.Text = "销售单据合并"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.EndInit(); this.splitContainer1.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); base.ResumeLayout(false); }
private void Initialize() { this.InitializeComponent(); this.toolStrip = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip"); this.tool_Close = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Close"); this.tool_Print = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Print"); this.tool_Edit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Edit"); this.tool_Price = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Price"); this.tool_RowAdd = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_RowAdd"); this.tool_RowDelete = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_RowDelete"); this.lbl_Title = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblTitle"); this.lbl_Date = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblDate"); this.lbl_JBR = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblJBR"); this.lbl_No = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblNo"); this.mcmb_CarrierName = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbCarrierName"); this.mcmb_CarrierNumber = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbCarrierNumber"); this.mcmb_DraweeName = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbDraweeName"); this.mcmb_DraweeNumber = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbDraweeNumber"); this.mcmb_ReceiverName = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbReceiverName"); this.mcmb_ReceiverNumber = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbReceiverNumber"); this.mcmb_ShipperName = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbShipperName"); this.mcmb_ShipperNumber = this.xmlComponentLoader1.GetControlByName <AisinoMultiCombox>("mcmbShipperNumber"); this.csdg_Item = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("csdgItem"); this.rtxt_Cargo = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtxtCargo"); this.lbl_Price = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblPrice"); this.cmb_Rate = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmbRate"); this.lbl_Tax = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblTax"); this.lbl_Machine = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblMachine"); this.txt_CargoNumber = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtCargoNumber"); this.txt_CargoLoad = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtCargoLoad"); this.pnl_Reason = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlReason"); this.rbt_Drawee = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtDrawee"); this.rbt_Deduated = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtDeduated"); this.rbt_NotDeduated = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtNotDeduated"); this.rbt_NDReason1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtNDReason1"); this.rbt_NDReason2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtNDReason2"); this.rbt_NDReason3 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtNDReason3"); this.rbt_NDReason4 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtNDReason4"); this.rbt_Carrier = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtCarrier"); this.rbt_CReason1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtCReason1"); this.rbt_CReason2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtCReason2"); this.pnl_ReasonOverDate = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlReasonOverDate"); this.rbt_OverDateReason1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason1"); this.rbt_OverDateReason2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason2"); this.rbt_OverDateReason3 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason3"); this.rbt_OverDateReason4 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason4"); this.rbt_OverDateReason5 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason5"); this.rbt_OverDateReason6 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason6"); this.rbt_OverDateReason7 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason7"); this.rbt_OverDateReason8 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtOverDateReason8"); this.lbl_BlueInveType = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblBlueInveType"); this.lbl_BlueInveNumber = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblBlueInveNumber"); this.lbl_BlueInveCode = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblBlueInveCode"); this.tool_Close.Margin = new Padding(20, 1, 0, 2); ControlStyleUtil.SetToolStripStyle(this.toolStrip); this.mcmb_DraweeNumber.IsSelectAll = (true); this.mcmb_DraweeNumber.buttonStyle = (0); this.mcmb_DraweeNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_DraweeNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_DraweeNumber.Width - 140)); this.mcmb_DraweeNumber.ShowText = ("SH"); this.mcmb_DraweeNumber.DrawHead = (false); this.mcmb_DraweeName.IsSelectAll = (true); this.mcmb_DraweeName.buttonStyle = (0); this.mcmb_DraweeName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_DraweeName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_DraweeName.Width - 140)); this.mcmb_DraweeName.ShowText = ("MC"); this.mcmb_DraweeName.DrawHead = (false); this.mcmb_CarrierNumber.IsSelectAll = (true); this.mcmb_CarrierNumber.buttonStyle = (0); this.mcmb_CarrierNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_CarrierNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_CarrierNumber.Width - 140)); this.mcmb_CarrierNumber.ShowText = ("SH"); this.mcmb_CarrierNumber.DrawHead = (false); this.mcmb_CarrierName.IsSelectAll = (true); this.mcmb_CarrierName.buttonStyle = (0); this.mcmb_CarrierName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_CarrierName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_CarrierName.Width - 140)); this.mcmb_CarrierName.ShowText = ("MC"); this.mcmb_CarrierName.DrawHead = (false); this.mcmb_ReceiverNumber.IsSelectAll = (true); this.mcmb_ReceiverNumber.buttonStyle = (0); this.mcmb_ReceiverNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_ReceiverNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_ReceiverNumber.Width - 140)); this.mcmb_ReceiverNumber.ShowText = ("SH"); this.mcmb_ReceiverNumber.DrawHead = (false); this.mcmb_ReceiverName.IsSelectAll = (true); this.mcmb_ReceiverName.buttonStyle = (0); this.mcmb_ReceiverName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_ReceiverName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_ReceiverName.Width - 140)); this.mcmb_ReceiverName.ShowText = ("MC"); this.mcmb_ReceiverName.DrawHead = (false); this.mcmb_ShipperNumber.IsSelectAll = (true); this.mcmb_ShipperNumber.buttonStyle = (0); this.mcmb_ShipperNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_ShipperNumber.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_ShipperNumber.Width - 140)); this.mcmb_ShipperNumber.ShowText = ("SH"); this.mcmb_ShipperNumber.DrawHead = (false); this.mcmb_ShipperName.IsSelectAll = (true); this.mcmb_ShipperName.buttonStyle = (0); this.mcmb_ShipperName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "SH", 140)); this.mcmb_ShipperName.Columns.Add(new AisinoMultiCombox.AisinoComboxColumn("", "MC", this.mcmb_ShipperName.Width - 140)); this.mcmb_ShipperName.ShowText = ("MC"); this.mcmb_ShipperName.DrawHead = (false); this.csdg_Item.AllowUserToAddRows = false; this.csdg_Item.AllowUserToDeleteRows = false; this.csdg_Item.AllowUserToResizeRows = (false); this.csdg_Item.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; this.csdg_Item.GridStyle = ((CustomStyle)1); this.pnl_Reason.Visible = false; this.pnl_ReasonOverDate.Visible = true; this.rbt_Drawee.Enabled = false; this.rbt_Deduated.Enabled = false; this.rbt_NotDeduated.Enabled = false; this.rbt_NDReason1.Enabled = false; this.rbt_NDReason2.Enabled = false; this.rbt_NDReason3.Enabled = false; this.rbt_NDReason4.Enabled = false; this.rbt_Carrier.Enabled = false; this.rbt_CReason1.Enabled = false; this.rbt_CReason2.Enabled = false; }