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);
 }
Exemple #2
0
 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 txtDJBH_GotFocus(object sender, EventArgs e)
        {
            this.rdKHMC.Checked = false;
            this.rdKHSH.Checked = false;
            this.rdDJBH.Checked = false;
            AisinoTXT otxt = (AisinoTXT)sender;

            if (otxt.Name == "txtDJBH")
            {
                this.rdDJBH.Checked = true;
                this.txtKHMC.Text   = "";
                this.txtKHSH.Text   = "";
            }
            if (otxt.Name == "txtKHMC")
            {
                this.rdKHMC.Checked = true;
                this.txtDJBH.Text   = "";
                this.txtKHSH.Text   = "";
            }
            if (otxt.Name == "txtKHSH")
            {
                this.rdKHSH.Checked = true;
                this.txtDJBH.Text   = "";
                this.txtKHMC.Text   = "";
            }
        }
 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);
 }
 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);
     }
 }
Exemple #7
0
 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);
 }
Exemple #8
0
 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 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;
            }
        }
Exemple #10
0
 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 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);
     }
 }
Exemple #12
0
        private void aisinoTXT_2_KeyPress(object sender, KeyPressEventArgs e)
        {
            AisinoTXT otxt = (AisinoTXT)sender;

            if (e.KeyChar == '\b')
            {
                e.Handled = false;
            }
            else if (e.KeyChar == '.')
            {
                if (otxt.Name.Equals("txt_zkhs"))
                {
                    e.Handled = true;
                }
                else if (otxt.Text.IndexOf(".") >= 0)
                {
                    e.Handled = true;
                }
                else
                {
                    e.Handled = false;
                }
            }
            else if ((Convert.ToInt32(e.KeyChar) < 0x30) || (Convert.ToInt32(e.KeyChar) > 0x39))
            {
                e.Handled = true;
            }
        }
 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);
 }
Exemple #14
0
        private void txt_gfmc_TextChanged(object sender, EventArgs e)
        {
            AisinoTXT otxt           = (AisinoTXT)sender;
            int       selectionStart = otxt.SelectionStart;

            otxt.Text           = GetSubString(otxt.Text, 100).Trim();
            otxt.SelectionStart = selectionStart;
        }
Exemple #15
0
 private void Initialize()
 {
     this.InitializeComponent();
     this.textBoxWaitMC                         = this.xmlComponentLoader1.GetControlByName <TextBoxWait>("textBoxWaitMC");
     this.textBoxSH                             = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxSH");
     this.label10                               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10");
     this.textBoxJM                             = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxJM");
     this.textBoxBM                             = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxBM");
     this.textBoxSJBM                           = this.xmlComponentLoader1.GetControlByName <TextBoxTreeView>("textBoxSJBM");
     this.label8                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8");
     this.label7                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7");
     this.textBoxIDCOC                          = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxIDCOC");
     this.label14                               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label14");
     this.label11                               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label11");
     this.label9                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9");
     this.label6                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label6");
     this.label5                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label5");
     this.textBoxYHZH                           = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxYHZH");
     this.textBoxDZDH                           = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxDZDH");
     this.label3                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3");
     this.label4                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label4");
     this.label2                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2");
     this.label1                                = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1");
     this.toolStrip1                            = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1");
     this.toolStripBtnSave                      = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave");
     this.toolStripBtnContinue                  = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnContinue");
     this.label13                               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label13");
     this.toolStripBtnCancel                    = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnCancel");
     this.textBoxWaitMC.WaterMarkString         = "购货单位名称";
     this.textBoxWaitMC.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitMC_TextChangedWaitGetText);
     this.textBoxWaitMC.TextChanged            += new EventHandler(this.textBoxWaitMC_TextChanged);
     this.textBoxJM.KeyPress                   += new KeyPressEventHandler(this.textBoxJM_KeyPress);
     this.textBoxJM.TextChanged                += new EventHandler(this.textBoxJM_TextChanged);
     this.textBoxSH.KeyPress                   += new KeyPressEventHandler(this.textBoxSH_KeyPress);
     this.textBoxSH.TextChanged                += new EventHandler(this.textBoxSH_TextChanged);
     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.textBoxIDCOC.KeyPress                += new KeyPressEventHandler(this.textBoxIDCOC_KeyPress);
     this.textBoxIDCOC.TextChanged             += new EventHandler(this.textBoxIDCOC_TextChanged);
     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.textBoxSJBM.RootNodeString            = "购货单位编码";
     this.textBoxSJBM.Text                      = "编码";
     this.textBoxSJBM.selectChanged            += new TextBoxTreeView.SelectChanged(this.textBoxSJBM_selectChanged);
     this.textBoxSJBM.getListNodes             += new TextBoxTreeView.GetListNodes(this.treeviewneed_getListNodes);
     this.textBoxYHZH.Multiline                 = true;
     this.textBoxYHZH.ScrollBars                = ScrollBars.Vertical;
     this.textBoxYHZH.TextChanged              += new EventHandler(StringUtils.textBoxYHZH_DZDH_TextChanged);
     this.textBoxDZDH.Multiline                 = true;
     this.textBoxDZDH.ScrollBars                = ScrollBars.Vertical;
     this.textBoxDZDH.TextChanged              += new EventHandler(StringUtils.textBoxYHZH_DZDH_TextChanged);
     this.toolStripBtnContinue.Visible          = false;
 }
Exemple #16
0
 private void InitializeComponent()
 {
     this.OK_BT       = new AisinoBTN();
     this.pictureBox1 = new AisinoPIC();
     this.MESS_TXT    = new AisinoTXT();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     base.SuspendLayout();
     this.OK_BT.Anchor                  = AnchorStyles.Bottom;
     this.OK_BT.DialogResult            = DialogResult.Cancel;
     this.OK_BT.Location                = new Point(0xa8, 0x8b);
     this.OK_BT.Name                    = "OK_BT";
     this.OK_BT.Size                    = new Size(0x4b, 0x17);
     this.OK_BT.TabIndex                = 0;
     this.OK_BT.Text                    = "确定";
     this.OK_BT.UseVisualStyleBackColor = true;
     this.OK_BT.Click                  += new EventHandler(this.OK_BT_Click);
     this.pictureBox1.Location          = new Point(2, 12);
     this.pictureBox1.Name              = "pictureBox1";
     this.pictureBox1.Size              = new Size(0x70, 0x71);
     this.pictureBox1.TabIndex          = 1;
     this.pictureBox1.TabStop           = false;
     this.MESS_TXT.Anchor               = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.MESS_TXT.BackColor            = SystemColors.MenuBar;
     this.MESS_TXT.BorderStyle          = BorderStyle.None;
     this.MESS_TXT.Location             = new Point(120, 12);
     this.MESS_TXT.Multiline            = true;
     this.MESS_TXT.Name                 = "MESS_TXT";
     this.MESS_TXT.ReadOnly             = true;
     this.MESS_TXT.Size                 = new Size(0x128, 0x71);
     this.MESS_TXT.TabIndex             = 3;
     base.AcceptButton                  = this.OK_BT;
     base.AutoScaleDimensions           = new SizeF(6f, 12f);
     base.AutoScaleMode                 = AutoScaleMode.Font;
     base.CancelButton                  = this.OK_BT;
     base.CausesValidation              = false;
     base.ClientSize                    = new Size(0x1ac, 0xab);
     base.ControlBox                    = false;
     base.Controls.Add(this.MESS_TXT);
     base.Controls.Add(this.pictureBox1);
     base.Controls.Add(this.OK_BT);
     this.ForeColor       = SystemColors.ControlText;
     base.FormBorderStyle = FormBorderStyle.FixedSingle;
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "MessForm";
     base.SizeGripStyle   = SizeGripStyle.Hide;
     base.StartPosition   = FormStartPosition.CenterScreen;
     this.Text            = "提示信息";
     base.TopMost         = true;
     ((ISupportInitialize)this.pictureBox1).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Exemple #17
0
 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.label1           = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1");
     this.label2           = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2");
     this.txtFilePath      = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtFilePath");
     this.btnBrowse        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnBrowse");
     this.btnOK            = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK");
     this.btnCancel        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel");
     this.btnBrowse.Click += new EventHandler(this.btnBrowse_Click);
     this.btnOK.Click     += new EventHandler(this.btnOK_Click);
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
 }
Exemple #19
0
 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);
 }
Exemple #20
0
 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;
 }
Exemple #21
0
 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_xxbbh           = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("text_xxbbh");
     this.text_xxbbh.MaxLength = 0x10;
     this.text_xxbbh.KeyPress += new KeyPressEventHandler(this.text_xxbbh_KeyPress);
     this.but_close.Click     += new EventHandler(this.but_close_Click);
     this.but_ok.Click        += new EventHandler(this.but_ok_Click);
 }
Exemple #22
0
        private void txtDJBH_GotFocus(object sender, EventArgs e)
        {
            this.radioButtonMC.Checked = false;
            this.radioButtonSH.Checked = false;
            AisinoTXT otxt = (AisinoTXT)sender;

            if (otxt.Name == "textBoxMC")
            {
                this.radioButtonMC.Checked = true;
            }
            if (otxt.Name == "textBoxSH")
            {
                this.radioButtonSH.Checked = true;
            }
        }
Exemple #23
0
 private void InModel()
 {
     this.fyxmModel.BM   = this.textBoxBM.Text.Trim();
     this.fyxmModel.MC   = this.textBoxWaitMC.Text.Trim();
     this.fyxmModel.SJBM = this.textBoxSJBM.Text.Trim();
     this.fyxmModel.JM   = this.textBoxJM.Text.Trim();
     this.fyxmModel.KJM  = CommonFunc.GenerateKJM(this.textBoxWaitMC.Text.Trim());
     this.fyxmModel.WJ   = 1;
     if (Flbm.IsYM())
     {
         this.fyxmModel.SPFL   = this.comBoxSPFL.Text.Trim();
         this.fyxmModel.SPFLMC = this.SPFLMC.Text.Trim();
         this.fyxmModel.YHZC   = (this.comboBoxYHZC.SelectedIndex == 0) ? "是" : "否";
         this.fyxmModel.YHZCMC = this.comboBoxYHZCMC.Text.Trim();
     }
 }
 private void Initialize()
 {
     this.InitializeComponent();
     this.toolStrip                     = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip");
     this.tool_Close                    = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Close");
     this.tool_Choose                   = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Choose");
     this.tool_Default                  = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Default");
     this.tool_Insert                   = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Insert");
     this.tool_Update                   = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Update");
     this.tool_Delete                   = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Delete");
     this.pnl_Edit                      = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnl_Edit");
     this.txt_Receiver                  = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Receiver");
     this.txt_Cellphone                 = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Cellphone");
     this.txt_Landline                  = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Landline");
     this.txt_Postcode                  = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Postcode");
     this.txt_Address                   = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_Address");
     this.rtxt_Memo                     = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtxt_Memo");
     this.btn_InsertUpdate              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_InsertUpdate");
     this.btn_Reset                     = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btn_Reset");
     this.btn_Indent                    = this.xmlComponentLoader1.GetControlByName <Button>("btn_Indent");
     this.csdgAddress                   = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("csdgList");
     this.tool_Close.Click             += new EventHandler(this.tool_Close_Click);
     this.tool_Choose.Click            += new EventHandler(this.tool_Choose_Click);
     this.tool_Default.Click           += new EventHandler(this.tool_Default_Click);
     this.tool_Insert.Click            += new EventHandler(this.tool_Insert_Click);
     this.tool_Update.Click            += new EventHandler(this.tool_Update_Click);
     this.tool_Delete.Click            += new EventHandler(this.tool_Delete_Click);
     this.btn_Indent.Click             += new EventHandler(this.btn_Indent_Click);
     this.btn_InsertUpdate.Click       += new EventHandler(this.btn_InsertUpdate_Click);
     this.btn_Reset.Click              += new EventHandler(this.btn_Reset_Click);
     this.txt_Receiver.TextChanged     += new EventHandler(this.txt_Receiver_TextChanged);
     this.txt_Cellphone.TextChanged    += new EventHandler(this.txt_Cellphone_TextChanged);
     this.txt_Landline.TextChanged     += new EventHandler(this.txt_Landline_TextChanged);
     this.txt_Postcode.TextChanged     += new EventHandler(this.txt_Postcode_TextChanged);
     this.txt_Address.TextChanged      += new EventHandler(this.txt_Address_TextChanged);
     this.rtxt_Memo.TextChanged        += new EventHandler(this.rtxt_Memo_TextChanged);
     this.txt_Receiver.KeyPress        += new KeyPressEventHandler(this.txt_Receiver_KeyPress);
     this.txt_Cellphone.KeyPress       += new KeyPressEventHandler(this.txt_Cellphone_KeyPress);
     this.txt_Landline.KeyPress        += new KeyPressEventHandler(this.txt_Landline_KeyPress);
     this.txt_Postcode.KeyPress        += new KeyPressEventHandler(this.txt_Postcode_KeyPress);
     this.txt_Address.KeyPress         += new KeyPressEventHandler(this.txt_Address_KeyPress);
     this.rtxt_Memo.KeyPress           += new KeyPressEventHandler(this.rtxt_Memo_KeyPress);
     this.csdgAddress.MouseDoubleClick += new MouseEventHandler(this.csdgAddress_MouseDoubleClick);
     this.tool_Close.Margin             = new Padding(20, 1, 0, 2);
     ControlStyleUtil.SetToolStripStyle(this.toolStrip);
     this.gridSetting();
 }
Exemple #25
0
 private void Initialize()
 {
     this.InitializeComponent();
     base.MaximizeBox                = false;
     base.MinimizeBox                = false;
     base.FormBorderStyle            = FormBorderStyle.FixedDialog;
     this.txtPhone                   = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtPhone");
     this.txtCreateDate              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtCreateDate");
     this.txtDesc                    = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDesc");
     this.txtName                    = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtName");
     this.tvUser                     = this.xmlComponentLoader1.GetControlByName <AisinoTVW>("tvUser");
     this.chklRole                   = this.xmlComponentLoader1.GetControlByName <AisinoCKL>("chklRole");
     this.tsbtnNewUser               = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsbtnNewUser");
     this.tsbtnUpdUser               = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsbtnUpdUser");
     this.tsbtnDelUser               = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsbtnDelUser");
     this.tsbtnChangePwd             = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsbtnChangePwd");
     this.tsBtnCancel                = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsBtnCancel");
     this.tsBtnSave                  = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tsBtnSave");
     this.txtName.KeyPress          += new KeyPressEventHandler(this.txtName_KeyPress);
     this.txtPhone.KeyPress         += new KeyPressEventHandler(this.txtPhone_KeyPress);
     this.txtDesc.KeyPress          += new KeyPressEventHandler(this.txtDesc_KeyPress);
     this.txtName.TextChanged       += new EventHandler(this.txtName_TextChanged);
     this.txtPhone.TextChanged      += new EventHandler(this.txtPhone_TextChanged);
     this.txtDesc.TextChanged       += new EventHandler(this.txtDesc_TextChanged);
     this.chklRole.CheckOnClick      = true;
     this.tsBtnSave.Alignment        = ToolStripItemAlignment.Right;
     this.tsBtnCancel.Alignment      = ToolStripItemAlignment.Right;
     this.tsbtnNewUser.Image         = Resources.user_add;
     this.tsbtnNewUser.ToolTipText   = "新增用户";
     this.tsbtnUpdUser.Image         = Resources.user_edit;
     this.tsbtnUpdUser.ToolTipText   = "修改用户";
     this.tsbtnDelUser.Image         = Resources.user_delete;
     this.tsbtnDelUser.ToolTipText   = "删除用户";
     this.tsbtnChangePwd.Image       = Resources.change_password;
     this.tsbtnChangePwd.ToolTipText = "修改密码";
     this.tsBtnCancel.Image          = Resources.cancel;
     this.tsBtnSave.Image            = Resources.accept;
     this.tsbtnNewUser.Click        += new EventHandler(this.tsbtnNewUser_Click);
     this.tsbtnUpdUser.Click        += new EventHandler(this.tsbtnUpdUser_Click);
     this.tsbtnDelUser.Click        += new EventHandler(this.tsbtnDelUser_Click);
     this.tsbtnChangePwd.Click      += new EventHandler(this.tsbtnChangePwd_Click);
     this.tvUser.AfterSelect        += new TreeViewEventHandler(this.tvUser_AfterSelect);
     this.tvUser.BeforeSelect       += new TreeViewCancelEventHandler(this.tvUser_BeforeSelect);
     this.tsBtnCancel.Click         += new EventHandler(this.tsBtnCancel_Click);
     this.tsBtnSave.Click           += new EventHandler(this.tsBtnSave_Click);
 }
Exemple #26
0
 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;
 }
Exemple #27
0
 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);
 }
Exemple #28
0
 private void method_3()
 {
     this.method_2();
     this.aisinoBTN_0              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1");
     this.aisinoBTN_1              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button2");
     this.aisinoLBL_0              = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("txt_spje");
     this.aisinoTXT_1              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_zkje");
     this.aisinoTXT_2              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_zkLv");
     this.aisinoTXT_0              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_zkhs");
     this.aisinoTXT_0.TextChanged += new EventHandler(this.aisinoTXT_0_TextChanged);
     this.aisinoTXT_2.TextChanged += new EventHandler(this.aisinoTXT_2_TextChanged);
     this.aisinoTXT_1.TextChanged += new EventHandler(this.aisinoTXT_1_TextChanged);
     this.aisinoTXT_0.KeyPress    += new KeyPressEventHandler(this.aisinoTXT_2_KeyPress);
     this.aisinoTXT_1.KeyPress    += new KeyPressEventHandler(this.aisinoTXT_2_KeyPress);
     this.aisinoTXT_2.KeyPress    += new KeyPressEventHandler(this.aisinoTXT_2_KeyPress);
     this.aisinoBTN_1.Click       += new EventHandler(this.aisinoBTN_1_Click);
     this.aisinoBTN_0.Click       += new EventHandler(this.aisinoBTN_0_Click);
 }
Exemple #29
0
 private void Initialize()
 {
     this.InitializeComponent();
     base.MaximizeBox          = false;
     base.MinimizeBox          = false;
     base.FormBorderStyle      = FormBorderStyle.FixedDialog;
     this.txtName              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtName");
     this.txtDesc              = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDesc");
     this.tvFunc               = this.xmlComponentLoader1.GetControlByName <TriStateTreeView>("tvFunc");
     this.btnOK                = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK");
     this.btnCancel            = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel");
     this.tvFunc.CheckBoxes    = true;
     this.txtName.KeyPress    += new KeyPressEventHandler(this.txtName_KeyPress);
     this.txtName.TextChanged += new EventHandler(this.txtName_TextChanged);
     this.txtDesc.TextChanged += new EventHandler(this.txtDesc_TextChanged);
     this.btnOK.Click         += new EventHandler(this.btnOK_Click);
     this.btnCancel.Click     += new EventHandler(this.btnCancel_Click);
 }
Exemple #30
0
 private void Initialize()
 {
     this.InitializeComponent();
     this.txtHXPath        = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtHXPath");
     this.txtBFPath        = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtBFPath");
     this.txtDRPath        = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDRPath");
     this.txtInterval      = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtInterval");
     this.btnCancel        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnCancel");
     this.btnOK            = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK");
     this.btnOpenDR        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOpenDR");
     this.btnOpenBF        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOpenBF");
     this.btnOpenHX        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOpenHX");
     this.btnOK.Click     += new EventHandler(this.btnOK_Click);
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.btnOpenBF.Click += new EventHandler(this.btnOpenBF_Click);
     this.btnOpenDR.Click += new EventHandler(this.btnOpenDR_Click);
     this.btnOpenHX.Click += new EventHandler(this.btnOpenHX_Click);
 }