private void Initialize() { this.InitializeComponent(); this.txt_fphm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fphm"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fpdm"); this.but_qx = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_qx"); this.but_xyb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_xyb"); this.but_syb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_syb"); this.txt_tzdh_1 = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txt_tzdh_1"); this.txt_tzdh = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txt_tzdh"); this.lbl_title = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.lblXxbTip = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label6"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.tabControl1 = this.xmlComponentLoader1.GetControlByName <AisinoTAB>("tabControl1"); this.tabPage1 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage1"); this.tabPage2 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage2"); this.tabPage3 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage3"); this.picBox1 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox1"); this.picBox2 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox2"); this.picBox3 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox3"); this.label8 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8"); this.label9 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.btnDetail = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnDetail"); this.txt_bz.ScrollBars = ScrollBars.Vertical; this.but_qx.Click += new EventHandler(this.but_qx_Click); this.but_xyb.Click += new EventHandler(this.but_xyb_Click); this.but_syb.Click += new EventHandler(this.but_syb_Click); this.btnDetail.Click += new EventHandler(this.btnDetail_Click); this.txt_tzdh.KeyPress += new KeyPressEventHandler(this.txt_tzdh_KeyPress); this.txt_tzdh_1.KeyPress += new KeyPressEventHandler(this.txt_tzdh_KeyPress); this.txt_tzdh.TextChanged += new EventHandler(this.txt_tzdh_TextChanged); this.txt_fpdm.KeyPress += new KeyPressEventHandler(this.txt_tzdh_KeyPress); this.txt_fphm.KeyPress += new KeyPressEventHandler(this.txt_tzdh_KeyPress); this.txt_fpdm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fphm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fpdm.ImeMode = ImeMode.Disable; this.txt_fphm.ImeMode = ImeMode.Disable; this.picBox1.BackgroundImage = Resources.ZH1; this.picBox1.BackgroundImageLayout = ImageLayout.Stretch; this.picBox2.BackgroundImage = Resources.ZH2; this.picBox2.BackgroundImageLayout = ImageLayout.Stretch; this.picBox3.BackgroundImage = Resources.ZH3; this.picBox3.BackgroundImageLayout = ImageLayout.Stretch; }
private void Initialize() { this.InitializeComponent(); this.panel1 = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1"); this.lbl_title = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.txt_fphm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fphm"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <NoPasteText>("txt_fpdm"); this.txt_fphm2 = this.xmlComponentLoader1.GetControlByName <NoPasteText>("text_fphm2"); this.txt_fpdm2 = this.xmlComponentLoader1.GetControlByName <NoPasteText>("text_fpdm2"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.but_qx = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_qx"); this.but_xyb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_xyb"); this.but_syb = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_syb"); this.label9 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.tabControl1 = this.xmlComponentLoader1.GetControlByName <AisinoTAB>("tabControl1"); this.tabPage2 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage2"); this.tabPage3 = this.xmlComponentLoader1.GetControlByName <TabPage>("tabPage3"); this.picBox1 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox1"); this.picBox3 = this.xmlComponentLoader1.GetControlByName <PictureBox>("picBox3"); this.btnDetail = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnDetail"); this.txt_bz.ScrollBars = ScrollBars.Vertical; this.but_qx.Click += new EventHandler(this.but_qx_Click); this.but_xyb.Click += new EventHandler(this.but_xyb_Click); this.but_syb.Click += new EventHandler(this.but_syb_Click); this.btnDetail.Click += new EventHandler(this.btnDetail_Click); this.txt_fpdm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fphm.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fpdm2.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fphm2.KeyDown += new KeyEventHandler(this.txt_KeyDown); this.txt_fpdm.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fphm.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fpdm2.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.txt_fphm2.KeyUp += new KeyEventHandler(this.txt_KeyUp); this.picBox1.BackgroundImage = Resources.ZH1; this.picBox1.BackgroundImageLayout = ImageLayout.Stretch; this.picBox3.BackgroundImage = Resources.ZH3; this.picBox3.BackgroundImageLayout = ImageLayout.Stretch; }