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.textBoxWaitKey = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("textBoxWaitKey"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.btnQuery.Visible = false; this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.treeViewBM1 = this.xmlComponentLoader1.GetControlByName <TreeViewBM>("treeViewBM1"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.textBoxWaitKey.TextChanged += new EventHandler(this.textBoxWaitKey_TextChanged); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.GoToPageEvent += new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent); this.aisinoDataGrid1.DataGridRowDbClickEvent += new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent); this.aisinoDataGrid1.DataGridRowKeyDown += new KeyEventHandler(this.aisinoDataGrid1_DataGridRowKeyDown); this.aisinoDataGrid1.ShowAllChkVisible = false; this.treeViewBM1.onTreeNodeClick += new TreeViewBM.OnTreeNodeClick(this.treeViewBM1_onTreeNodeClick); this.textBoxWaitKey.ToolTipText = "输入关键字(车辆编码,名称,厂牌型号,产地,生产厂家名称)"; this.toolSearchLbl = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolSearchLbl"); this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); ControlStyleUtil.SetToolStripStyle(this.toolStrip1); this.textBoxWaitKey.Paint += new PaintEventHandler(this.textBoxWaitKey_Paint); this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.splitContainer1.Panel2.Controls.Add(this.toolStrip1); }
private void Initialize() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.textBoxOldPwd = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtOldPwd"); this.textBoxOldPwd.MaxLength = 0x10; this.textBoxNewPwd = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtNewPwd"); this.textBoxNewPwd.MaxLength = 0x10; this.textBoxReNewPwd = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtReNewPwd"); this.textBoxReNewPwd.MaxLength = 0x10; this.lblTip = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblTip"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnOK.ImageAlign = ContentAlignment.MiddleLeft; this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.btnCancel.ImageAlign = ContentAlignment.MiddleLeft; this.textBoxOldPwd.PasswordChar = '*'; this.textBoxNewPwd.PasswordChar = '*'; this.textBoxReNewPwd.PasswordChar = '*'; this.textBoxNewPwd.KeyPress += new KeyPressEventHandler(this.txtNewPwd_KeyPress); this.textBoxNewPwd.TextChanged += new EventHandler(this.txtNewPwd_TextChanged); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
private void Initial() { this.InitializeComponent(); base.MinimizeBox = false; base.MaximizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.buttonAdd = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonAdd"); this.buttonAdd.Click += new EventHandler(this.buttonAdd_Click); this.buttonAddAll = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonAddAll"); this.buttonAddAll.Click += new EventHandler(this.buttonAddAll_Click); this.buttonDelete = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonDelete"); this.buttonDelete.Click += new EventHandler(this.buttonDelete_Click); this.buttonDeleteAll = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonDeleteAll"); this.buttonDeleteAll.Click += new EventHandler(this.buttonDeleteAll_Click); this.buttonOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonOK"); this.buttonOK.Click += new EventHandler(this.buttonOK_Click); this.buttonCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonCancel"); this.buttonCancel.Click += new EventHandler(this.buttonCancel_Click); this.labelSrc = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelSrc"); this.labelDest = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelDest"); this.listBoxSrc = this.xmlComponentLoader1.GetControlByName <AisinoLST>("listBoxSrc"); this.listBoxSrc.SelectionMode = SelectionMode.MultiExtended; this.listBoxSrc.DoubleClick += new EventHandler(this.listBoxSrc_DoubleClick); this.listBoxDest = this.xmlComponentLoader1.GetControlByName <AisinoLST>("listBoxDest"); this.listBoxDest.SelectionMode = SelectionMode.MultiExtended; this.listBoxDest.DoubleClick += new EventHandler(this.listBoxDest_DoubleClick); base.Load += new EventHandler(this.AddCodeForm_Load); base.FormClosing += new FormClosingEventHandler(this.AddCodeForm_FormClosing); }
public InvDkTypeSetForm() { this.InitializeComponent(); this.btnOk = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOk"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.fileCA = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("fileCA"); this.lblCA = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblCA"); this.txtPassword1 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtPassword1"); this.txtPassword2 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtPassword2"); this.txtPassword1.PasswordChar = '*'; this.txtPassword2.PasswordChar = '*'; this.fileCA.Text = "证书读入"; this.fileCA.Size = new Size(80, 30); this.lblCA.Text = ""; this.lblCA.ForeColor = Color.Blue; this.btnOk.Click += new EventHandler(this.btnOk_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.fileCA.Click += new EventHandler(this.btnCAOk_Click); base.Size = new Size(0x1ac, 0x184); string str = PropertyUtil.GetValue("SWDK_CA_FILENAME"); string path = AppDomain.CurrentDomain.BaseDirectory + "server.pfx"; if ((str.Trim().Length > 0) && File.Exists(path)) { this.lblCA.Text = str; } }
private void Initialize() { this.InitializeComponent(); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.aisinoDataGrid3 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid3"); this.aisinoDataGrid4 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid4"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.textBoxKey = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxKey"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1.Click += new EventHandler(this.toolBtnHY_Click); this.toolStripButton2.Click += new EventHandler(this.toolBtnQuit_Click); this.aisinoDataGrid1.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowClickEvent)); this.aisinoDataGrid3.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid3_DataGridRowClickEvent)); this.btnQuery.Click += new EventHandler(this.btnQuery_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.aisinoDataGrid4.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid4_GoToPageEvent)); 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; this.aisinoDataGrid4.set_ReadOnly(true); this.aisinoDataGrid4.get_DataGrid().AllowUserToDeleteRows = false; }
public WSPZCXForm(FPLX fplx) { this.mfplx = fplx; this.InitializeComponent(); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.txtWspzh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtWspzh"); this.txtXfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtXfsh"); this.data_Jzrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_Jzrq"); this.data_Qsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_Qsrq"); this.tool_select = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_select"); this.tool_exit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_exit"); this.tool_Args = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Args"); this.dgSwdk = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("dgWspz"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); ControlStyleUtil.SetToolStripStyle(this.toolStrip1); this.tool_exit.Click += new EventHandler(this.BtnExit_Click); this.tool_select.Click += new EventHandler(this.BtnSelect_Click); this.tool_Args.Click += new EventHandler(this.BtnArgs_Click); this.btnQuery.Click += new EventHandler(this.BtnSwdkFPFind_Click); this.dgSwdk.DoubleClick += new EventHandler(this.BtnSelect_Click); this.txtWspzh.KeyPress += new KeyPressEventHandler(this.txtWspzh_KeyPress); this.txtXfsh.KeyPress += new KeyPressEventHandler(this.txtXfsh_KeyPress); this.txtWspzh.MaxLength = 100; this.txtXfsh.MaxLength = 20; this.dgSwdk.AllowUserToAddRows = false; this.dgSwdk.MultiSelect = false; this.dgSwdk.SelectionMode = DataGridViewSelectionMode.FullRowSelect; this.dgSwdk.ReadOnly = true; this.SelectTimeBind(); this.swdkFpLists = new List <SwdkFpxx>(); }
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(); 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 SelectSSQ() { try { this.Initialize(); this.data_tbrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_tbrq"); this.data_ssq_s = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ssq_s"); this.data_ssq_e = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ssq_e"); this.btn_cancle = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_cancle"); this.btn_select = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_select"); this.data_ssq_s.Format = DateTimePickerFormat.Custom; this.data_ssq_s.CustomFormat = "yyyy年M月"; this.data_ssq_s.ShowUpDown = true; this.data_ssq_e.Format = DateTimePickerFormat.Custom; this.data_ssq_e.CustomFormat = "yyyy年M月"; this.data_ssq_e.ShowUpDown = true; this.CardClock = base.TaxCardInstance.GetCardClock(); int year = this.CardClock.Year; int month = this.CardClock.Month; this.data_tbrq.Value = new DateTime(year, month, 1); this.btn_select.Click += new EventHandler(this.BtnSelect_Click); this.btn_cancle.Click += new EventHandler(this.BtnCancle_Click); } catch (Exception exception) { this.loger.Error(exception.Message); } }
private void Initialize() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.txtName = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtName"); this.txtPwd = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtPwd"); this.txtPwd.MaxLength = 0x10; this.txtPhone = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtPhone"); this.txtDescription = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDescription"); this.txtCreator = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtCreator"); this.txtCreateDate = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtCreateDate"); this.chklRole = this.xmlComponentLoader1.GetControlByName <AisinoCKL>("chklRole"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.txtName.KeyPress += new KeyPressEventHandler(this.txtName_KeyPress); this.txtPwd.KeyPress += new KeyPressEventHandler(this.txtPwd_KeyPress); this.txtPhone.KeyPress += new KeyPressEventHandler(this.txtPhone_KeyPress); this.txtName.TextChanged += new EventHandler(this.txtName_TextChanged); this.txtPwd.TextChanged += new EventHandler(this.txtPwd_TextChanged); this.txtPhone.TextChanged += new EventHandler(this.txtPhone_TextChanged); this.txtDescription.Multiline = true; this.txtDescription.ScrollBars = ScrollBars.Vertical; this.txtDescription.KeyPress += new KeyPressEventHandler(this.txtDescription_KeyPress); this.txtDescription.TextChanged += new EventHandler(this.txtDescription_TextChanged); this.chklRole.CheckOnClick = true; this.txtPwd.PasswordChar = '*'; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Click += new EventHandler(this.btnCancel_Click); }
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); }
private void Initial() { this.InitializeComponent(); base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = true; base.StartPosition = FormStartPosition.CenterScreen; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.groupBox = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox"); this.rbtJinshuipan = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtJinshuipan"); this.rbtnBaoshuipan = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtnBaoshuipan"); this.rbtZZZP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtZZZP"); this.rbtJDC = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtJDC"); this.rbtHYZP = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rbtHYZP"); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.btnCancel = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel"); this.rbtZZZP.Text = "增值税专用发票、普通发票"; this.rbtJDC.Text = "机动车销售统一发票、电子增值税普通发票及增值税普通发票(卷票)"; this.rbtJinshuipan.Checked = true; this.isJinshuipan = true; this.rbtnBaoshuipan.Checked = false; this.isBaoshuipan = false; this.rbtZZZP.Checked = true; this.isZZZP = true; this.rbtJDC.Checked = false; this.isJDC = false; this.rbtHYZP.Checked = false; this.isHYZP = false; this.rbtJinshuipan.CheckedChanged += new EventHandler(this.rbtJinshuipan_CheckedChanged); this.rbtnBaoshuipan.CheckedChanged += new EventHandler(this.rbtnBaoshuipan_CheckedChanged); this.rbtZZZP.CheckedChanged += new EventHandler(this.rbtZZZP_CheckedChanged); this.rbtJDC.CheckedChanged += new EventHandler(this.rbtJDC_CheckedChanged); this.rbtHYZP.CheckedChanged += new EventHandler(this.rbtHYZP_CheckedChanged); }
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); }
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(); 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 Initialize() { this.InitializeComponent(); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.toolStripButtonAdd = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonAdd"); this.toolStripButtonDel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonDel"); this.toolStripBtnHSJG = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnHSJG"); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.button2 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button2"); this.button3 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button3"); this.textBox1 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox1"); this.textBox2 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox2"); this.textBox3 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox3"); this.textBox4 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox4"); this.textBox5 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox5"); this.textBox6 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox6"); this.textBox7 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox7"); this.textBox8 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox8"); this.textBox9 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox9"); this.textBox10 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox10"); this.textBox11 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox11"); this.textBox12 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox12"); this.textBox13 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox13"); this.textBox15 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox15"); this.textBox16 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox16"); this.textBox17 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox17"); this.dateTimePicker1 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker1"); this.dgFyxm = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("dgFyxm"); this.colFyxm = this.xmlComponentLoader1.GetControlByName <DataGridViewTextBoxColumn>("colFyxm"); this.colJe = this.xmlComponentLoader1.GetControlByName <DataGridViewTextBoxColumn>("colJe"); this.toolStripButton1.Click += new EventHandler(this.QuitBtnClick); this.toolStripButton2.Click += new EventHandler(this.SaveBtnClick); this.toolStripButtonAdd.Click += new EventHandler(this.dataGridView_RowsAdded); this.toolStripButtonDel.Click += new EventHandler(this.dataGridView_RowsRemoved); this.toolStripBtnHSJG.Click += new EventHandler(this.HSJGBtnClick); this.toolStripBtnHSJG.CheckOnClick = true; this.toolStripBtnHSJG.Checked = false; this.button1.Click += new EventHandler(this.SHRMC_BtnClick); this.button2.Click += new EventHandler(this.FHRMC_BtnClick); this.button3.Click += new EventHandler(this.SPFMC_BtnClick); this.textBox16.KeyPress += new KeyPressEventHandler(this.textBox16_KeyPress); this.textBox16.LostFocus += new EventHandler(this.textBox16_LostFocus); base.FormClosing += new FormClosingEventHandler(this.HYXSDJEdite_FormClosing); this.textBox1.TextChanged += new EventHandler(this.textBox1_TextChanged); this.textBox2.TextChanged += new EventHandler(this.textBox2_TextChanged); this.textBox3.TextChanged += new EventHandler(this.textBox3_TextChanged); this.textBox4.TextChanged += new EventHandler(this.textBox4_TextChanged); this.textBox5.TextChanged += new EventHandler(this.textBox5_TextChanged); this.textBox6.TextChanged += new EventHandler(this.textBox6_TextChanged); this.textBox7.TextChanged += new EventHandler(this.textBox7_TextChanged); this.textBox8.TextChanged += new EventHandler(this.textBox8_TextChanged); this.textBox9.TextChanged += new EventHandler(this.textBox9_TextChanged); this.textBox10.TextChanged += new EventHandler(this.textBox10_TextChanged); this.textBox11.TextChanged += new EventHandler(this.textBox11_TextChanged); this.textBox12.TextChanged += new EventHandler(this.textBox12_TextChanged); this.textBox13.TextChanged += new EventHandler(this.textBox13_TextChanged); this.textBox17.TextChanged += new EventHandler(this.textBox17_TextChanged); }
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(); 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.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.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.textBox1 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox1"); this.textBox2 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox2"); this.textBox3 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox3"); this.textBox4 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox4"); this.textBox5 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox5"); this.textBox6 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox6"); this.textBox7 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox7"); this.textBox8 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox8"); this.textBox9 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox9"); this.textBox10 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox10"); this.textBox11 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox11"); this.textBox12 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox12"); this.textBox13 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox13"); this.textBox14 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox14"); this.textBox15 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox15"); this.textBox16 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox16"); this.textBox17 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox17"); this.textBox18 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox18"); this.textBox20 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox20"); this.textBox21 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox21"); this.textBox22 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox22"); this.textBox23 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBox23"); this.dateTimePicker1 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker1"); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.button2 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button2"); this.toolStripButton1.Click += new EventHandler(this.QuitBtnClick); this.toolStripButton2.Click += new EventHandler(this.SaveBtnClick); this.button1.Click += new EventHandler(this.GFXX_BtnClick); this.button2.Click += new EventHandler(this.CLXX_BtnClick); this.textBox20.LostFocus += new EventHandler(this.textBox20_LostFocus); this.textBox20.KeyPress += new KeyPressEventHandler(this.textBox20_KeyPress); base.FormClosing += new FormClosingEventHandler(this.JDCXSDJEdite_FormClosing); this.textBox1.TextChanged += new EventHandler(this.textBox1_TextChanged); this.textBox2.TextChanged += new EventHandler(this.textBox2_TextChanged); this.textBox3.TextChanged += new EventHandler(this.textBox3_TextChanged); this.textBox4.TextChanged += new EventHandler(this.textBox4_TextChanged); this.textBox5.TextChanged += new EventHandler(this.textBox5_TextChanged); this.textBox6.TextChanged += new EventHandler(this.textBox6_TextChanged); this.textBox7.TextChanged += new EventHandler(this.textBox7_TextChanged); this.textBox8.TextChanged += new EventHandler(this.textBox8_TextChanged); this.textBox9.TextChanged += new EventHandler(this.textBox9_TextChanged); this.textBox10.TextChanged += new EventHandler(this.textBox10_TextChanged); this.textBox11.TextChanged += new EventHandler(this.textBox11_TextChanged); this.textBox12.TextChanged += new EventHandler(this.textBox12_TextChanged); this.textBox13.TextChanged += new EventHandler(this.textBox13_TextChanged); this.textBox14.TextChanged += new EventHandler(this.textBox14_TextChanged); this.textBox15.TextChanged += new EventHandler(this.textBox15_TextChanged); this.textBox16.TextChanged += new EventHandler(this.textBox16_TextChanged); this.textBox17.TextChanged += new EventHandler(this.textBox17_TextChanged); this.textBox18.TextChanged += new EventHandler(this.textBox18_TextChanged); this.textBox22.TextChanged += new EventHandler(this.textBox22_TextChanged); this.textBox23.TextChanged += new EventHandler(this.textBox23_TextChanged); }
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.chk_NotRepeat = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chk_NotRepeat"); this.btn_Agree = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Agree"); this.btn_Disagree = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Disagree"); this.btn_Agree.Click += new EventHandler(this.btn_Confirm_Click); this.btn_Disagree.Click += new EventHandler(this.btn_Disagree_Click); }
private void Initialize() { this.InitializeComponent(); this.webBrowser1 = this.xmlComponentLoader1.GetControlByName <WebBrowser>("webBrowser1"); this.but_QuXiao = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_QuXiao"); this.but_Ok = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_Ok"); this.but_Ok.Click += new EventHandler(this.but_Ok_Click); this.but_QuXiao.Click += new EventHandler(this.but_QuXiao_Click); }
private void Initialize() { this.InitializeComponent(); this.btn_OK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_OK"); this.lbl_Message = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("lbl_Message"); this.lbl_Message.AutoSize = false; this.lbl_Message.ReadOnly = true; this.lbl_Message.BorderStyle = BorderStyle.None; base.FormClosing += new FormClosingEventHandler(this.ShowMessage_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.btn_JiXu = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_JiXu"); this.btn_Quit = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Quit"); this.btn_JiXu.Click += new EventHandler(this.btn_JiXu_Click); this.btn_Quit.Click += new EventHandler(this.btn_Quit_Click); this.btn_Quit.Text = "取消"; }
private void Initialize() { this.InitializeComponent(); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.fileControl1 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl1"); 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); base.Load += new EventHandler(this.ImportCode_Load); }
private void Initialize() { this.InitializeComponent(); 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.data_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_ksrq"); this.che_ksrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_ksrq"); this.data_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("data_jsrq"); this.che_jsrq = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("che_jsrq"); }
private void Initialize() { this.InitializeComponent(); this.lab_Fpzl = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_fpzl"); this.lab_Fpdm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_fpdm"); this.lab_Fphm = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lab_fphm"); this.but_quxiao = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_quxiao"); this.but_queding = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_queding"); this.but_quxiao.Click += new EventHandler(this.btnQuxiao_Click); this.but_queding.Click += new EventHandler(this.btnQueding_Click); this.but_queding.TabIndex = 0; }
private void Initialize() { this.InitializeComponent(); this.rdoNew = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdoNew"); this.rdoOld = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdoOld"); this.chkSave = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chkSave"); 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); base.Load += new EventHandler(this.JDCVersionSet_Load); }