private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(ChaE_Tax)); this.tb_Kce = new TextBox(); this.lab_Kce = new Label(); this.btn_Confirm = new AisinoButton(); this.btn_Cencel = new AisinoButton(); this.groupBox1 = new GroupBox(); this.groupBox1.SuspendLayout(); base.SuspendLayout(); this.tb_Kce.Location = new Point(0x44, 0x1f); this.tb_Kce.Margin = new Padding(3, 4, 3, 4); this.tb_Kce.Name = "tb_Kce"; this.tb_Kce.Size = new Size(0x9b, 0x17); this.tb_Kce.TabIndex = 3; this.tb_Kce.KeyPress += new KeyPressEventHandler(this.tb_Kce_KeyPress); this.lab_Kce.AutoSize = true; this.lab_Kce.Location = new Point(6, 0x25); this.lab_Kce.Name = "lab_Kce"; this.lab_Kce.Size = new Size(0x38, 0x11); this.lab_Kce.TabIndex = 2; this.lab_Kce.Text = "扣除额:"; this.btn_Confirm.BackColorActive = Color.FromArgb(0x19, 0x76, 210); this.btn_Confirm.ColorDefaultA = Color.FromArgb(0, 0xac, 0xfb); this.btn_Confirm.ColorDefaultB = Color.FromArgb(0, 0x91, 0xe0); this.btn_Confirm.Font = new Font("宋体", 9f); this.btn_Confirm.FontColor = Color.FromArgb(0xff, 0xff, 0xff); this.btn_Confirm.Imagesize = 0x19; this.btn_Confirm.Location = new Point(0x43, 0x44); this.btn_Confirm.Name = "btn_Confirm"; this.btn_Confirm.Size = new Size(0x4b, 0x17); this.btn_Confirm.TabIndex = 4; this.btn_Confirm.Text = "确认"; this.btn_Confirm.UseVisualStyleBackColor = true; this.btn_Confirm.Click += new EventHandler(this.btn_Confirm_Click); this.btn_Cencel.BackColorActive = Color.FromArgb(0x19, 0x76, 210); this.btn_Cencel.ColorDefaultA = Color.FromArgb(0, 0xac, 0xfb); this.btn_Cencel.ColorDefaultB = Color.FromArgb(0, 0x91, 0xe0); this.btn_Cencel.Font = new Font("宋体", 9f); this.btn_Cencel.FontColor = Color.FromArgb(0xff, 0xff, 0xff); this.btn_Cencel.Imagesize = 0x19; this.btn_Cencel.Location = new Point(0x94, 0x44); this.btn_Cencel.Name = "btn_Cencel"; this.btn_Cencel.Size = new Size(0x4b, 0x17); this.btn_Cencel.TabIndex = 5; this.btn_Cencel.Text = "取消"; this.btn_Cencel.UseVisualStyleBackColor = true; this.btn_Cencel.Click += new EventHandler(this.btn_Cencel_Click); this.groupBox1.Controls.Add(this.btn_Confirm); this.groupBox1.Controls.Add(this.btn_Cencel); this.groupBox1.Controls.Add(this.lab_Kce); this.groupBox1.Controls.Add(this.tb_Kce); this.groupBox1.Location = new Point(9, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0xf2, 0x61); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "友情提示:以下信息输入后无法修改!"; base.AutoScaleDimensions = new SizeF(7f, 17f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x109, 0x79); base.Controls.Add(this.groupBox1); this.Font = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); base.FormBorderStyle = FormBorderStyle.FixedSingle; base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ChaE_Tax"; this.Text = "输入扣除额"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.dataGridView1 = new DataGridView(); this.SPMC = new DataGridViewTextBoxColumn(); this.FLBM = new DataGridViewTextBoxColumn(); this.XSYH = new DataGridViewTextBoxColumn(); this.YHZC = new DataGridViewTextBoxColumn(); this.SLV = new DataGridViewTextBoxColumn(); this._spmcBt = new AisinoMultiCombox(); this.XSYH_com = new ComboBox(); this.YHZC_com = new ComboBox(); this.label1 = new Label(); this.button1 = new AisinoButton(); this.button2 = new AisinoButton(); ((ISupportInitialize)this.dataGridView1).BeginInit(); base.SuspendLayout(); this.dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; DataGridViewColumn[] dataGridViewColumns = new DataGridViewColumn[] { this.SPMC, this.FLBM, this.XSYH, this.YHZC, this.SLV }; this.dataGridView1.Columns.AddRange(dataGridViewColumns); this.dataGridView1.Location = new Point(13, 0x4a); this.dataGridView1.Margin = new Padding(3, 4, 3, 4); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 0x17; this.dataGridView1.Size = new Size(0x292, 0x170); this.dataGridView1.TabIndex = 0; this.dataGridView1.CurrentCellChanged += new EventHandler(this.dataGridView1_CurrentCellChanged); this.SPMC.HeaderText = "名称"; this.SPMC.Name = "SPMC"; this.SPMC.Width = 130; this.FLBM.HeaderText = "税收分类编码"; this.FLBM.Name = "FLBM"; this.FLBM.Width = 170; this.XSYH.HeaderText = "是否享受优惠政策"; this.XSYH.Name = "XSYH"; this.XSYH.Width = 130; this.YHZC.HeaderText = "优惠政策"; this.YHZC.Name = "YHZC"; this.YHZC.Width = 130; this.SLV.HeaderText = "税率"; this.SLV.Name = "SLV"; this.SLV.Width = 0x37; this._spmcBt.AutoComplate = 0; this._spmcBt.AutoIndex = 1; this._spmcBt.BorderColor = Color.Transparent; this._spmcBt.BorderStyle = AisinoComboxBorderStyle.System; this._spmcBt.ButtonAutoHide = true; this._spmcBt.buttonStyle = ButtonStyle.Select; this._spmcBt.DataSource = null; this._spmcBt.DrawHead = true; this._spmcBt.Edit = EditStyle.TextBox; this._spmcBt.IsSelectAll = false; this._spmcBt.Location = new Point(0, 0); this._spmcBt.MaxIndex = 8; this._spmcBt.MaxLength = 0x7fff; this._spmcBt.Name = "_spmcBt"; this._spmcBt.ReadOnly = false; this._spmcBt.SelectedIndex = -1; this._spmcBt.SelectionStart = 0; this._spmcBt.ShowText = ""; this._spmcBt.Size = new Size(0x7a, 0x15); this._spmcBt.TabIndex = 0; this._spmcBt.UnderLineColor = Color.Transparent; this._spmcBt.UnderLineStyle = 0; this.XSYH_com.Location = new Point(0, 0); this.XSYH_com.Name = "XSYH_com"; this.XSYH_com.Size = new Size(0x79, 20); this.XSYH_com.TabIndex = 0; this.YHZC_com.Location = new Point(0, 0); this.YHZC_com.Name = "YHZC_com"; this.YHZC_com.Size = new Size(0x79, 20); this.YHZC_com.TabIndex = 0; this.label1.AutoSize = true; this.label1.Font = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.label1.Location = new Point(13, 0x18); this.label1.MaximumSize = new Size(550, 0); this.label1.Name = "label1"; this.label1.Size = new Size(0x20c, 0x11); this.label1.TabIndex = 1; this.label1.Text = "正在复制含有无税收分类编码信息的发票!以下明细没有添加税收分类编码,请先设置分类编码。"; this.button1.BackColorActive = Color.FromArgb(0x19, 0x76, 210); this.button1.ColorDefaultA = Color.FromArgb(0, 0xac, 0xfb); this.button1.ColorDefaultB = Color.FromArgb(0, 0x91, 0xe0); this.button1.Font = new Font("宋体", 9f); this.button1.FontColor = Color.FromArgb(0xff, 0xff, 0xff); this.button1.Imagesize = 0x19; this.button1.Location = new Point(0x254, 12); this.button1.Name = "button1"; this.button1.Size = new Size(0x4b, 0x17); this.button1.TabIndex = 2; this.button1.Text = "确定"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new EventHandler(this.button1_Click); this.button2.BackColorActive = Color.FromArgb(0x19, 0x76, 210); this.button2.ColorDefaultA = Color.FromArgb(0, 0xac, 0xfb); this.button2.ColorDefaultB = Color.FromArgb(0, 0x91, 0xe0); this.button2.Font = new Font("宋体", 9f); this.button2.FontColor = Color.FromArgb(0xff, 0xff, 0xff); this.button2.Imagesize = 0x19; this.button2.Location = new Point(0x254, 0x2c); this.button2.Name = "button2"; this.button2.Size = new Size(0x4b, 0x17); this.button2.TabIndex = 3; this.button2.Text = "取消"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new EventHandler(this.button2_Click); base.AutoScaleDimensions = new SizeF(7f, 17f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x2ac, 0x1c1); base.Controls.Add(this.button2); base.Controls.Add(this.button1); base.Controls.Add(this.label1); base.Controls.Add(this.dataGridView1); this.Font = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "Add_SPFLBM"; this.Text = "批量添加税收分类编码"; base.Load += new EventHandler(this.Add_SPFLBM_Load); ((ISupportInitialize)this.dataGridView1).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }