private void Initialize() { this.InitializeComponent(); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.fileControl1 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl1"); this.btnQuit = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuit"); this.btnQuit.Click += new EventHandler(this.btnQuit_Click); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.dateTimePicker2 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker2"); this.dateTimePicker1 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker1"); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridCellFormatting(new EventHandler <DataGridViewCellFormattingEventArgs>(this.aisinoDataGrid1_DataGridCellFormatting)); this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.SelectionChangeCommitted += new EventHandler(this.dateTimePicker1_CloseUp); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.dateTimePicker2.CloseUp += new EventHandler(this.dateTimePicker1_CloseUp); this.dateTimePicker1.CloseUp += new EventHandler(this.dateTimePicker1_CloseUp); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButtonExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExit"); this.toolStripButtonExit.Click += new EventHandler(this.toolStripButtonExit_Click); this.toolStripButtonPrint = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonPrint"); this.toolStripButtonPrint.Click += new EventHandler(this.toolStripButtonPrint_Click); this.toolStripButtonStyle = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonStyle"); this.toolStripButtonStyle.Click += new EventHandler(this.toolStripButtonStyle_Click); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.che_jsrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_jsrq"); this.che_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_gfsh"); this.che_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_gfmc"); this.txt_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfsh"); this.txt_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfmc"); this.com_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_fpzl"); this.che_ksrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_ksrq"); this.but_ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ok"); this.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.but_zhuhechaxun = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_zhuhechaxun"); this.but_close = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_close"); this.text_Fphm_Z = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fphm_Z"); this.text_Fphm_Q = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fphm_Q"); this.text_Fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fpdm"); this.text_Fpje_Z = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fpje_Z"); this.text_Fpje_Q = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fpje_Q"); this.but_ok.Click += new EventHandler(this.but_Ok_Clike); this.but_zhuhechaxun.Click += new EventHandler(this.but_ZhuHeChaxun_Clike); this.but_close.Click += new EventHandler(this.but_Close_Clike); this.text_Fphm_Z.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fphm_Q.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fpdm.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fpje_Q.KeyPress += new KeyPressEventHandler(this.Double_KeyPressEventHandler); this.text_Fpje_Z.KeyPress += new KeyPressEventHandler(this.Double_KeyPressEventHandler); }
public ChaXunTiaoJian() { try { this.Initialize(); this.cmb_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzl"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fpdm"); this.txt_fphm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm"); this.btn_cancle = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_cancle"); this.btn_select = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_select"); this.data_kprq_s = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_kprq_s"); this.data_kprq_e = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_kprq_e"); this.data_rzrq_s = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_rzrq_s"); this.data_rzrq_e = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_rzrq_e"); this.data_kprq_s.ShowCheckBox = true; this.data_kprq_e.ShowCheckBox = true; this.data_rzrq_s.ShowCheckBox = true; this.data_rzrq_e.ShowCheckBox = true; this.btn_select.Click += new EventHandler(this.BtnSelect_Click); this.btn_cancle.Click += new EventHandler(this.BtnCancle_Click); this.cmb_fpzl.Items.Add("全部发票"); this.cmb_fpzl.Items.Add("增值税专用发票"); this.cmb_fpzl.Items.Add("货物运输业增值税专用发票"); this.cmb_fpzl.Items.Add("机动车销售统一发票"); this.cmb_fpzl.DropDownStyle = ComboBoxStyle.DropDownList; this.cmb_fpzl.BackColor = Color.White; this.cmb_fpzl.SelectedIndex = 0; this.SelectTimeBind(); } catch (Exception exception) { this.loger.Error(exception.Message); } }
private void Initialize() { this.InitializeComponent(); this.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.che_jsrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_jsrq"); this.che_ksrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_ksrq"); this.but_ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ok"); this.but_close = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_close"); this.text_xhfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_xhfsh"); this.text_ghfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_ghfsh"); this.text_xxbbh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_xxbbh"); this.che_bqysq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_bqysq"); this.che_bqyjs = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_bqyjs"); this.com_yqzt = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_yqzt"); this.com_yqzt.SelectedIndexChanged += new EventHandler(this.com_yqzt_SelectedIndexChanged); this.text_xhfsh.KeyPress += new KeyPressEventHandler(this.text_xhfsh_KeyPress); this.text_xhfsh.MaxLength = 20; this.text_ghfsh.KeyPress += new KeyPressEventHandler(this.text_ghfsh_KeyPress); this.text_ghfsh.MaxLength = 20; this.text_xxbbh.KeyPress += new KeyPressEventHandler(this.text_xxbbh_KeyPress); this.text_xxbbh.MaxLength = 0x10; this.but_close.Click += new EventHandler(this.but_close_Click); this.but_ok.Click += new EventHandler(this.but_ok_Click); }
private void Initialize() { this.InitializeComponent(); this.fpdm = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("rtxtFpdm"); this.qshm = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("rtxtQshm"); this.fpzs = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("rtxtFpzs"); this.fplx = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmbFplx"); this.labelTypeCode = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelTypeCode"); this.labelHeadCode = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelHeadCode"); this.lbl_Fpdm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpdm"); this.lbl_Qshm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblQshm"); this.lbl_Fpzs = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpzs"); this.btn_download = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_xz"); this.btn_close = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_close"); this.fplx.SelectedValueChanged += new EventHandler(this.fplx_SelectedValueChanged); this.fpdm.KeyPress += new KeyPressEventHandler(this.fpdm_KeyPress); this.qshm.KeyPress += new KeyPressEventHandler(this.qshm_KeyPress); this.fpzs.KeyPress += new KeyPressEventHandler(this.fpzs_KeyPress); this.fpdm.TextChanged += new EventHandler(this.fpdm_TextChanged); this.qshm.TextChanged += new EventHandler(this.qshm_TextChanged); this.fpzs.TextChanged += new EventHandler(this.fpzs_TextChanged); this.btn_download.Click += new EventHandler(this.btn_download_Click); this.btn_close.Click += new EventHandler(this.btn_close_Click); this.fpdm.set_RegexText("^[0-9]{0,12}$"); this.qshm.set_RegexText("^[0-9]{0,8}$"); this.fpzs.set_RegexText("^[0-9]{0,8}$"); }
private void Initialize() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Load += new EventHandler(this.ChaoshuiForm_Load); this.cmbShuiqi = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmbShuiqi"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.btnBSPCSQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnBSPCSQuery"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.checkBox3 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox3"); this.checkBox1.Checked = false; this.checkBox2.Checked = false; this.checkBox3.Checked = false; this.checkBox1.Visible = true; this.checkBox2.Visible = true; this.checkBox3.Visible = true; this.checkBox1.CheckedChanged += new EventHandler(this.pzCheckChanged); this.checkBox2.CheckedChanged += new EventHandler(this.pzCheckChanged); this.checkBox3.CheckedChanged += new EventHandler(this.pzCheckChanged); this.btnOK.Enabled = false; this.cmbShuiqi.DropDownStyle = ComboBoxStyle.DropDownList; this.groupBox1.Location = new Point(0, this.btnOK.Location.Y - 15); this.btnBSPCSQuery.Visible = false; this.btnBSPCSQuery.Click += new EventHandler(this.btnBSPCSQuery_Click); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
public DiKouFaPiaoXiaZai() { try { this.Initialize(); this.cmb_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzl"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fpdm"); this.txt_fphm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm"); this.data_kprq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_kprq"); this.btn_cancle = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_cancle"); this.btn_download = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_download"); this.btn_download.Click += new EventHandler(this.BtnDownload_Click); this.btn_cancle.Click += new EventHandler(this.BtnCancle_Click); this.cmb_fpzl.Items.Add("增值税专用发票"); this.cmb_fpzl.Items.Add("货物运输业增值税专用发票"); this.cmb_fpzl.Items.Add("机动车销售统一发票"); this.cmb_fpzl.DropDownStyle = ComboBoxStyle.DropDownList; this.cmb_fpzl.BackColor = Color.White; this.cmb_fpzl.SelectedIndex = 0; } catch (Exception exception) { this.loger.Error(exception.Message); } }
private void Initialize() { this.InitializeComponent(); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.radioBtnZYFP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioBtnZYFP"); this.radioBtnPTFP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioBtnPTFP"); this.radioBtnHYFP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioBtnHYFP"); this.radioBtnJDCFP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioBtnJDCFP"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.comboBoxJESM = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxJESM"); this.comboBoxJESM.DropDownStyle = ComboBoxStyle.DropDownList; this.fileControl2 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl2"); this.button3 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button3"); this.btnCR = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCR"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.btnSet = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnSet"); this.fileControl1 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl1"); this.checkBox_HYSYDJ = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox_HYSYDJ"); this.button3.Click += new EventHandler(this.btnQuit_Click); this.btnCR.Click += new EventHandler(this.btnCR_Click); this.btnSet.Click += new EventHandler(this.btnSet_Click); this.radioBtnPTFP.CheckedChanged += new EventHandler(this.radioBtnPTFP_CheckedChanged); this.radioBtnZYFP.CheckedChanged += new EventHandler(this.radioBtnZYFP_CheckedChanged); this.radioBtnHYFP.CheckedChanged += new EventHandler(this.radioBtnHYFP_checkedChanged); this.radioBtnJDCFP.CheckedChanged += new EventHandler(this.radioBtnJDCFP_CheckedChanged); }
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 combo_Yskm_Qtkm_Zfsfp_Xtsp_SelectedIndexChanged(object sender, EventArgs e) { try { AisinoCMB ocmb = (AisinoCMB)sender; if (ocmb != null) { string name = ocmb.Name; if (name.Equals("comb_Yskm_Zdfs")) { string str2 = PropertyUtil.GetValue(DingYiZhiFuChuan.SKSubValue_Yskm_ZdfsItemValue); string str3 = this.comb_Yskm_Zdfs.SelectedItem.ToString(); if (!str2.Equals(str3)) { PropertyUtil.SetValue(DingYiZhiFuChuan.SKSubValue_Yskm_ZdfsItemValue, str3); } } else if (name.Equals("comb_Qtkm_Zdfs")) { string str4 = PropertyUtil.GetValue(DingYiZhiFuChuan.NSKSubValue_Qtkm_ZdfsItemValue); string str5 = this.comb_Qtkm_Zdfs.SelectedItem.ToString(); if (!str4.Equals(str5)) { PropertyUtil.SetValue(DingYiZhiFuChuan.NSKSubValue_Qtkm_ZdfsItemValue, str5); } } else if (name.Equals("comb_Zfsfp_Zds")) { string str6 = PropertyUtil.GetValue(DingYiZhiFuChuan.PosiInvOpType_Zfsfp_ZdsItemValue); string str7 = this.comb_Zfsfp_Zds.SelectedItem.ToString(); if (!str6.Equals(str7)) { PropertyUtil.SetValue(DingYiZhiFuChuan.PosiInvOpType_Zfsfp_ZdsItemValue, str7); } } else if (name.Equals("comb_Xtsp_Zds")) { string str8 = PropertyUtil.GetValue(DingYiZhiFuChuan.Xtsp_ZdsItemValue); string str9 = this.comb_Xtsp_Zds.SelectedItem.ToString(); if (!str8.Equals(str9)) { PropertyUtil.SetValue(DingYiZhiFuChuan.Xtsp_ZdsItemValue, str9); } } } } catch (BaseException exception) { this._Loger.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } catch (Exception exception2) { this._Loger.Error(exception2.ToString()); ExceptionHandler.HandleError(exception2); } }
private void Initialize() { this.InitializeComponent(); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.fileControl1 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl1"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.cbbSeparator = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cbbSeparator"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
private void Initialize() { this.InitializeComponent(); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.button2 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button2"); this.comboBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBox1"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.checkBox3 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox3"); this.button1.Click += new EventHandler(this.button1_Click); this.button2.Click += new EventHandler(this.button2_Click); }
private void Initialize() { this.InitializeComponent(); this.date_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_ksrq"); this.date_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_jsrq"); this.txt_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfmc"); this.txt_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfsh"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fpdm"); this.txt_fphm_start = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm_start"); this.txt_fphm_end = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm_end"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.com_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_fpzl"); this.com_zfbz = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_zfbz"); this.com_zffp = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_zffp"); this.but_FPChaxun = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_FPChaxun"); this.but_DaochuShuju = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_DaochuShuju"); this.group_box = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.but_FPChaxun.Click += new EventHandler(this.but_FPChaxun_Click); this.but_DaochuShuju.Click += new EventHandler(this.but_DaochuShuju_Click); this.check_tongbutxt = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("check_tongbutxt"); this.ConTextMenu_Daochu = new ContextMenuStrip(); this.MenuItem_DaoChuAll = new ToolStripMenuItem("导出全部"); this.MenuItem_DaoChuSelect = new ToolStripMenuItem("导出选择"); this.ConTextMenu_Daochu.Items.Add(this.MenuItem_DaoChuAll); this.ConTextMenu_Daochu.Items.Add(this.MenuItem_DaoChuSelect); this.MenuItem_DaoChuAll.Click += new EventHandler(this.MenuItem_DaoChuAll_Click); this.MenuItem_DaoChuSelect.Click += new EventHandler(this.MenuItem_DaoChuSelect_Click); this.date_ksrq.TextChanged += new EventHandler(this.data_ksrq_TextChanged); this.date_jsrq.TextChanged += new EventHandler(this.data_jsrq_TextChanged); this.txt_gfmc.MaxLength = 100; this.txt_gfsh.MaxLength = 20; this.txt_fphm_start.MaxLength = 8; this.txt_fphm_end.MaxLength = 8; this.txt_fpdm.MaxLength = 20; this.txt_bz.MaxLength = 230; this.txt_gfmc.KeyPress += new KeyPressEventHandler(this.textBox_GFMC_KeyPress); this.txt_gfmc.TextChanged += new EventHandler(this.txt_gfmc_TextChanged); this.txt_gfsh.KeyPress += new KeyPressEventHandler(this.textBox_GFSH_KeyPress); this.txt_fpdm.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); this.txt_fphm_start.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); this.txt_fphm_end.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); aisinoGrid = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoGrid"); aisinoGrid.ReadOnly = true; aisinoGrid.DataGrid.AllowUserToDeleteRows = false; aisinoGrid.GoToPageEvent += aisinoGrid_GoToPageEvent; aisinoGrid.AutoSize = false; aisinoGrid.Height = 0x17f; aisinoGrid.Dock = DockStyle.Bottom; this.Text = "增值税发票加密数据导出(机动车专用)"; this.but_FPChaxun.TabIndex = 0; this.but_FPChaxun.Focus(); base.FormClosing += new FormClosingEventHandler(this.FPZJDaoChu_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.cmb_MachineNum = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_Zfjh"); this.cmb_InvType = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzl"); this.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.btn_Ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btn_Cancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.cmb_MachineNum.KeyPress += new KeyPressEventHandler(this.cmb_MachineNum_KeyPress); this.btn_Ok.Click += new EventHandler(this.btn_Ok_Click); this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); }
private void Initialize() { this.InitializeComponent(); this.com_month = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_month"); this.com_year = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("aisinoCMB_Year"); this.tbxfpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("tbxfpdm"); this.tbxfphm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("tbxfphm"); this.but_ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ok"); this.but_back = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_back"); this.group_box = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.com_year.DropDownStyle = ComboBoxStyle.DropDownList; this.com_month.DropDownStyle = ComboBoxStyle.DropDownList; this.aisinoLBL2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL2"); this.aisinoLBL3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL3"); this.chxDate = this.xmlComponentLoader1.GetControlByName <RadioButton>("chxDate"); this.chxSingle = this.xmlComponentLoader1.GetControlByName <RadioButton>("chxSingle"); this.group_box.Text = "发票修复"; this.com_year.SelectedIndexChanged += new EventHandler(this.com_year_SelectedIndexChanged); if (base.TaxCardInstance.SoftVersion == "FWKP_V2.0_Svr_Client") { base.ClientSize = new Size(0x163, 0xff); this.but_ok.Location = new Point(this.but_ok.Location.X - 0x2d, this.but_ok.Location.Y); this.but_back.Location = new Point(this.but_back.Location.X - 0x2d, this.but_back.Location.Y); this.tbxfpdm.MaxLength = 12; this.tbxfphm.MaxLength = 8; this.tbxfpdm.KeyPress += new KeyPressEventHandler(this.tbxfpdm_KeyPress); this.tbxfphm.KeyPress += new KeyPressEventHandler(this.tbxfpdm_KeyPress); this.tbxfpdm.Text = ""; this.tbxfphm.Text = ""; this.chxDate.CheckedChanged += new EventHandler(this.chxDate_CheckedChanged); this.chxSingle.CheckedChanged += new EventHandler(this.chxDate_CheckedChanged); this.chxDate.Checked = true; this.tbxfpdm.Enabled = false; this.tbxfphm.Enabled = false; } else { this.xmlComponentLoader1.Size = new Size(0x163, 180); base.ClientSize = new Size(0x163, 180); this.group_box.ClientSize = new Size(0x163, 120); this.but_ok.Location = new Point(this.but_ok.Location.X - 0x2d, this.but_ok.Location.Y - 80); this.but_back.Location = new Point(this.but_back.Location.X - 0x2d, this.but_back.Location.Y - 80); this.chxSingle.Visible = false; this.chxDate.Visible = false; this.tbxfpdm.Visible = false; this.tbxfphm.Visible = false; this.aisinoLBL2.Visible = false; this.aisinoLBL3.Visible = false; } base.FormClosing += new FormClosingEventHandler(this.SelectMonth_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.tbxMachine = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("tbxMachine"); this.cmb_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzl"); this.cmb_fpzt = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzt"); this.date_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_ksrq"); this.date_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_jsrq"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.tbxMachine.KeyPress += new KeyPressEventHandler(this.tbxMachine_KeyPress); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
private void Initialize() { this.InitializeComponent(); this.buttonName = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonName"); this.buttonName.Click += new EventHandler(this.buttonName_Click); this.textBoxFPHM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxFPHM"); this.textBoxFPDM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxFPDM"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.comboBoxZFBZ = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxZFBZ"); this.comboBoxFPZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxFPZL"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.label9 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9"); this.label8 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8"); this.label7 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.ckbContainTadayE = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbContainTadayE"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.ckbAllDate = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbAllDate"); this.ckbContainTadayS = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbContainTadayS"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.textBoxDJH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxDJH"); this.label5 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label5"); this.textBoxGFSH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxGFSH"); this.textBoxGFMC = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxGFMC"); this.dTPEnd = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dTPEnd"); this.dTPStart = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dTPStart"); this.label4 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label4"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridRowDbClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent)); this.ckbAllDate.CheckedChanged += new EventHandler(this.ckbAllDate_CheckedChanged); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButtonExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExit"); this.toolStripButtonExit.Click += new EventHandler(this.toolStripButtonExit_Click); this.toolStripButtonPrint = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonPrint"); this.toolStripButtonPrint.Click += new EventHandler(this.toolStripButtonPrint_Click); this.toolStripButtonStyle = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonStyle"); this.toolStripButtonStyle.Click += new EventHandler(this.toolStripButtonStyle_Click); this.toolStripButtonExcel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExcel"); this.toolStripButtonExcel.Click += new EventHandler(this.toolStripButtonExcel_Click); this.toolStripButtonXML = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonXML"); this.toolStripButtonXML.Click += new EventHandler(this.toolStripButtonXML_Click); this.toolStripButtonMX = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonMX"); this.toolStripButtonMX.Click += new EventHandler(this.toolStripButtonMX_Click); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; }
private void InitializeComponent_1() { this.label1 = new AisinoLBL(); this.aisinoCMB_0 = new AisinoCMB(); this.btnOK = new AisinoBTN(); this.btnCancel = new AisinoBTN(); base.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(0x17, 0x1f); this.label1.Name = "label1"; this.label1.Size = new Size(0x35, 12); this.label1.TabIndex = 0; this.label1.Text = "防伪税控"; this.aisinoCMB_0.FormattingEnabled = true; this.aisinoCMB_0.Location = new Point(90, 0x1c); this.aisinoCMB_0.Name = "cmbHasJSK"; this.aisinoCMB_0.Size = new Size(0x79, 20); this.aisinoCMB_0.TabIndex = 1; this.btnOK.Location = new Point(0x7a, 0x65); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 2; this.btnOK.Text = "确定"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Location = new Point(0xcb, 0x65); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "取消"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(290, 0x8b); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); base.Controls.Add(this.aisinoCMB_0); base.Controls.Add(this.label1); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FormSettings"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "设置"; base.Load += new EventHandler(this.FormSettings_Load); base.ResumeLayout(false); base.PerformLayout(); }
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.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.chkQS = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chkQS"); this.chkJZ = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chkJZ"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_cx"); this.cmbInvType = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_fpzl"); this.cmbStatus = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("cmb_Slzt"); this.txtApplyNo = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_slxh"); this.csdgStatusVolumn = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("csdgStatusVolumn"); this.cmbInvType.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbStatus.DropDownStyle = ComboBoxStyle.DropDownList; this.gridSetting(); this.chkQS.CheckedChanged += new EventHandler(this.chkQS_CheckedChanged); this.chkJZ.CheckedChanged += new EventHandler(this.chkJZ_CheckedChanged); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.csdgStatusVolumn.CellContentClick += new DataGridViewCellEventHandler(this.csdgStatusVolumn_CellContentClick); }
private void Initialize() { this.InitializeComponent(); this.combo_IP = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_Server"); this.combo_User = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_User"); this.combo_ZhangTao = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_ZhangTao"); this.but_GengHuan = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.but_QueDing = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_QuDing"); this.but_QuXiao = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_QuXiao"); this.but_GengHuan.Click += new EventHandler(this.but_GengHuan_Click); this.but_QueDing.Click += new EventHandler(this.but_QueDing_Click); this.but_QuXiao.Click += new EventHandler(this.but_QuXiao_Click); this.combo_IP.TextChanged += new EventHandler(this.combo_IP_TextChanged); this.combo_IP.MaxLength = 60; this.combo_User.MaxLength = 20; this.combo_User.DropDownStyle = ComboBoxStyle.DropDownList; this.combo_ZhangTao.MaxLength = 20; this.combo_ZhangTao.SelectedIndexChanged += new EventHandler(this.combo_ZhangTao_SelectedIndexChanged); this.combo_ZhangTao.DropDownStyle = ComboBoxStyle.DropDownList; base.FormClosing += new FormClosingEventHandler(this.QiYeGuanLiRuanJianMsgSet_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.comboBoxYF = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxYF"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripBtnSave = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave"); this.toolStripBtnHZYL = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnHZYL"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.splitContainer2 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer2"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.aisinoDataGrid3 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid3"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.txtKHSH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtKHSH"); this.rdKHSH = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdKHSH"); this.txtKHMC = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtKHMC"); this.rdKHMC = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdKHMC"); this.txtDJBH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDJBH"); this.rdDJBH = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdDJBH"); this.toolStripBtnHZYL.Visible = false; this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.toolStripBtnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid3.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid3_GoToPageEvent)); this.toolStripButton1.Click += new EventHandler(this.toolStripButton1_Click); this.aisinoDataGrid1.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowClickEvent)); this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid3.set_ReadOnly(true); this.aisinoDataGrid3.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.text_Fphm_Z = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fphm_Z"); this.text_Fphm_Q = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fphm_Q"); this.text_Fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Fpdm"); this.che_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_gfsh"); this.che_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_gfmc"); this.txt_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfsh"); this.txt_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfmc"); this.com_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_fpzl"); this.but_ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ok"); this.but_ZhuHeChaXun = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_ZhuHeChaXun"); this.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.che_jsrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_jsrq"); this.che_ksrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_ksrq"); this.che_wlywh = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_wlywh"); this.but_QuXiao = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_QuXiao"); this.text_Pzhm_Z = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Pzhm_Z"); this.text_Pzhm_Q = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Pzhm_Q"); this.text_Wlywh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_Wlywh"); this.combo_PzType = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_PzType"); this.radio_Pzrq = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radio_Pzrq"); this.radio_Kprq = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radio_Kprq"); this.radio_Zf = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radio_Zf"); this.radio_Wzf = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radio_Wzf"); this.but_ok.Click += new EventHandler(this.but_ok_Click); this.but_QuXiao.Click += new EventHandler(this.but_QuXiao_Click); this.but_ZhuHeChaXun.Click += new EventHandler(this.but_ZhuHeChaXun_Click); this.radio_Pzrq.CheckedChanged += new EventHandler(this.radio_Pzrq_Kprq_Zf_Wzf_CheckedChanged); this.radio_Kprq.CheckedChanged += new EventHandler(this.radio_Pzrq_Kprq_Zf_Wzf_CheckedChanged); this.radio_Zf.CheckedChanged += new EventHandler(this.radio_Pzrq_Kprq_Zf_Wzf_CheckedChanged); this.radio_Wzf.CheckedChanged += new EventHandler(this.radio_Pzrq_Kprq_Zf_Wzf_CheckedChanged); this.text_Pzhm_Z.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Pzhm_Q.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fphm_Z.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fphm_Q.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); this.text_Fpdm.KeyPress += new KeyPressEventHandler(this.Int_KeyPressEventHandler); }
private void ExcelSheetBindComBoBoxItems(AisinoCMB bobox, string path) { try { bobox.Items.Clear(); if (!File.Exists(path)) { MessageBoxHelper.Show(path + "文件不存在!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } else { DataTable excelTableNames = ExcelRead.GetExcelTableNames(path); bobox.Text = excelTableNames.Rows[0][2].ToString().Trim(new char[] { '$' }); for (int i = 0; i < excelTableNames.Rows.Count; i++) { string str = excelTableNames.Rows[i][2].ToString().Trim(); int num2 = 0; if (str[str.Length - 1] != '$') { num2 = 1; } for (int j = 0; j < bobox.Items.Count; j++) { if (bobox.Items[j].ToString() == str) { num2 = 1; } } if (num2 == 0) { bobox.Items.Add(str.Trim(new char[] { '$' })); } } } } catch (Exception exception) { MessageBoxHelper.Show(exception.ToString(), "异常"); } }
private void ReadExcelTableHead(AisinoCMB combox, string path, string sheetName, int HeadRow) { try { HeadRow--; if (HeadRow < 0) { HeadRow = 0; } combox.Items.Clear(); DataTable table = ExcelRead.ExcelToDataTable(path, sheetName + "$", 0); for (int i = 0; i < table.Columns.Count; i++) { int num2 = i + 1; combox.Items.Add("[" + num2.ToString() + "]" + table.Rows[HeadRow][i].ToString()); } } catch (Exception exception) { MessageBoxHelper.Show(exception.ToString(), "异常"); } }
private void Initialize() { this.InitializeComponent(); this.aisinoLBL_SZ = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_SZ"); this.textBox_SZ = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox_SZ"); this.textBox_SZ.KeyPress += new KeyPressEventHandler(this.textBox_SZ_KeyPress); this.textBox_SZ.TextChanged += new EventHandler(this.textBox_SZ_TextChanged); this.aisinoLBL_BM = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_BM"); this.textBox_BM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox_BM"); this.textBox_BM.KeyPress += new KeyPressEventHandler(this.textBox_BM_KeyPress); this.textBox_BM.TextChanged += new EventHandler(this.textBox_BM_TextChanged); this.aisinoLBL_MC = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_MC"); this.textBox_MC = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox_MC"); this.aisinoLBL_SLV = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_SLV"); this.comboBox_SLV = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBox_SLV"); this.comboBox_SLV.Leave += new EventHandler(this.comboBox_SLV_Leave); this.comboBox_SLV.SelectedValueChanged += new EventHandler(this.comboBox_SLV_Leave); this.aisinoLBL_ZSL = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_ZSL"); this.comboBox_ZSL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBox_ZSL"); this.comboBox_ZSL.DropDownStyle = ComboBoxStyle.Simple; this.comboBox_ZSL.KeyPress += new KeyPressEventHandler(this.comboBox_ZSL_KeyPress); this.comboBox_ZSL.TextChanged += new EventHandler(this.comboBox_ZSL_TextChanged); this.aisinoLBL_FHDBZ = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("aisinoLBL_FHDBZ"); this.comboBox_FHDBZ = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBox_FHDBZ"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripBtnSave = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave"); this.toolStripBtnContinue = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnContinue"); this.toolStripBtnCancel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnCancel"); this.toolStripBtnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.toolStripBtnContinue.Click += new EventHandler(this.toolStripBtnContinue_Click); this.toolStripBtnCancel.Click += new EventHandler(this.toolStripBtnCancel_Click); this.textBox_MC.TextChanged += new EventHandler(this.textBox_MC_TextChanged); this.toolStripBtnContinue.Visible = false; base.FormBorderStyle = FormBorderStyle.FixedSingle; this.comboBox_FHDBZ.Items.AddRange(new string[] { "否", "是" }); this.comboBox_FHDBZ.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBox_FHDBZ.SelectedIndex = 0; }
private void Initialize() { this.InitializeComponent(); this.comb_Yskm_Zdfs = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comb_Yskm_Zdfs"); this.comb_Qtkm_Zdfs = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comb_Qtkm_Zdfs"); this.comb_Zfsfp_Zds = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comb_Zfsfp_Zds"); this.comb_Xtsp_Zds = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comb_Xtsp_Zds"); this.tool_Quit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Quit"); this.tool_Edit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Edit"); this.tool_CanShu = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_CanShu"); this.comb_Yskm_Zdfs.DropDownStyle = ComboBoxStyle.DropDownList; this.comb_Qtkm_Zdfs.DropDownStyle = ComboBoxStyle.DropDownList; this.comb_Zfsfp_Zds.DropDownStyle = ComboBoxStyle.DropDownList; this.comb_Xtsp_Zds.DropDownStyle = ComboBoxStyle.DropDownList; this.tool_Quit.Click += new EventHandler(this.tool_Quit_Click); this.tool_Edit.Click += new EventHandler(this.tool_Edit_Click); this.tool_CanShu.Click += new EventHandler(this.tool_CanShu_Click); this.comb_Yskm_Zdfs.SelectedIndexChanged += new EventHandler(this.combo_Yskm_Qtkm_Zfsfp_Xtsp_SelectedIndexChanged); this.comb_Qtkm_Zdfs.SelectedIndexChanged += new EventHandler(this.combo_Yskm_Qtkm_Zfsfp_Xtsp_SelectedIndexChanged); this.comb_Zfsfp_Zds.SelectedIndexChanged += new EventHandler(this.combo_Yskm_Qtkm_Zfsfp_Xtsp_SelectedIndexChanged); this.comb_Xtsp_Zds.SelectedIndexChanged += new EventHandler(this.combo_Yskm_Qtkm_Zfsfp_Xtsp_SelectedIndexChanged); base.FormClosing += new FormClosingEventHandler(this.ZhiDanFangShiSet_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.textBox_PathName = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox_PathName"); this.chk_EndRunCopy = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chk_EndRunCopy"); this.chk_BeginningMonthCopy = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chk_BeginningMonthCopy"); this.chk_XtcshBf = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chk_XtcshBf"); this.chk_XtcshBf.Enabled = false; this.textBox_Sjjg = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox_Sjjg"); this.combo_Day_Month = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("combo_Day_Month"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.btn_FindPath = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_FindPath"); this.btn_OK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_OK"); this.btn_Cancle = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Cancle"); this.btn_FindPath.Click += new EventHandler(this.btn_FindPath_Click); this.btn_OK.Click += new EventHandler(this.btn_OK_Click); this.btn_Cancle.Click += new EventHandler(this.btn_Cancle_Click); this.chk_EndRunCopy.CheckedChanged += new EventHandler(this.Chk_CheckedChanged); this.chk_BeginningMonthCopy.CheckedChanged += new EventHandler(this.Chk_CheckedChanged); this.textBox_Sjjg.KeyPress += new KeyPressEventHandler(this.textBox_Sjjg_KeyPress); this.textBox_Sjjg.TextChanged += new EventHandler(this.textBox_Sjjg_TextChanged); this.combo_Day_Month.SelectedIndexChanged += new EventHandler(this.combo_Day_Month_SelectedIndexChanged); }
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.comboBoxKJM = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxKJM"); this.textBoxWaitMC = this.xmlComponentLoader1.GetControlByName <TextBoxWait>("textBoxWaitMC"); this.labelKJM = 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.Validating += new CancelEventHandler(this.textBoxBM_Validating); this.textBoxWaitMC.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitMC_TextChangedWaitGetText); 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; base.FormBorderStyle = FormBorderStyle.FixedSingle; }
private void Initialize() { this.InitializeComponent(); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripBtnZD = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnZD"); this.toolStripBtnSD = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSD"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.textBoxKey = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxKey"); this.comboBoxYF = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxYF"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.comboBoxJYGZ = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxJYGZ"); this.radioButton2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton2"); this.radioButton1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton1"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.comboBoxJYGZ.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.toolStripBtnSD.Click += new EventHandler(this.toolBtnSDCF_Click); this.toolStripButton2.Click += new EventHandler(this.toolBtnZDCF_Click); this.textBoxKey.TextChanged += new EventHandler(this.textBoxKey_TextChanged); this.button1.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.add_DataGridRowSelectionChanged(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowSelectionChanged)); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridCellFormatting(new EventHandler <DataGridViewCellFormattingEventArgs>(this.aisinoDataGrid1_DataGridCellFormatting)); this.toolStripButton1.Click += new EventHandler(this.toolBtnClose_Click); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; }