⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 incometax.cs

📁 人力资源管理系统 在vc的环境下编写的
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace 人力资源管理系统
{
	/// <summary>
	/// IncomeTax 的摘要说明。
	/// </summary>
	public class IncomeTax : System.Windows.Forms.Form
	{
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.ToolBar toolBar1;
		private System.Windows.Forms.ToolBarButton tbarBtnSave;
		private System.Windows.Forms.ToolBarButton tbarBtnDelete;
		private System.Windows.Forms.ImageList imageList1;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Windows.Forms.DataGridTableStyle dataGridTableStyle1;
		private System.Windows.Forms.DataGridTextBoxColumn 编号;
		private System.Windows.Forms.DataGridTextBoxColumn 级数;
		private System.Windows.Forms.DataGridTextBoxColumn 不计税工资;
		private System.Windows.Forms.DataGridTextBoxColumn 工资下限;
		private System.Windows.Forms.DataGridTextBoxColumn 工资上限;
		private System.Windows.Forms.DataGridTextBoxColumn 个人所得税率;
		private System.Windows.Forms.DataGridTextBoxColumn 速算扣除数;
		private System.Windows.Forms.DataGridTextBoxColumn 备注;
		private System.Windows.Forms.ToolBarButton toolBarQuit;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
		private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
		private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private 人力资源管理系统.DataSet1 dataSet11;
		private System.ComponentModel.IContainer components;

		public IncomeTax()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(IncomeTax));
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.dataSet11 = new 人力资源管理系统.DataSet1();
			this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
			this.编号 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.级数 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.不计税工资 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.工资下限 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.工资上限 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.个人所得税率 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.速算扣除数 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.备注 = new System.Windows.Forms.DataGridTextBoxColumn();
			this.toolBar1 = new System.Windows.Forms.ToolBar();
			this.tbarBtnSave = new System.Windows.Forms.ToolBarButton();
			this.tbarBtnDelete = new System.Windows.Forms.ToolBarButton();
			this.toolBarQuit = new System.Windows.Forms.ToolBarButton();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.SuspendLayout();
			// 
			// dataGrid1
			// 
			this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.dataGrid1.CaptionVisible = false;
			this.dataGrid1.DataMember = "个人所得税表";
			this.dataGrid1.DataSource = this.dataSet11;
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(0, 40);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.Size = new System.Drawing.Size(592, 378);
			this.dataGrid1.TabIndex = 1;
			this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
																								  this.dataGridTableStyle1});
			// 
			// dataSet11
			// 
			this.dataSet11.DataSetName = "DataSet1";
			this.dataSet11.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// dataGridTableStyle1
			// 
			this.dataGridTableStyle1.AllowSorting = false;
			this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.LightGray;
			this.dataGridTableStyle1.DataGrid = this.dataGrid1;
			this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																												  this.编号,
																												  this.级数,
																												  this.不计税工资,
																												  this.工资下限,
																												  this.工资上限,
																												  this.个人所得税率,
																												  this.速算扣除数,
																												  this.备注});
			this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGridTableStyle1.MappingName = "个人所得税表";
			// 
			// 编号
			// 
			this.编号.Format = "";
			this.编号.FormatInfo = null;
			this.编号.HeaderText = "编号";
			this.编号.MappingName = "编号";
			this.编号.NullText = "";
			this.编号.Width = 35;
			// 
			// 级数
			// 
			this.级数.Format = "";
			this.级数.FormatInfo = null;
			this.级数.HeaderText = "级数";
			this.级数.MappingName = "级数";
			this.级数.NullText = "";
			this.级数.Width = 35;
			// 
			// 不计税工资
			// 
			this.不计税工资.Format = "";
			this.不计税工资.FormatInfo = null;
			this.不计税工资.HeaderText = "不计税工资";
			this.不计税工资.MappingName = "不计税工资";
			this.不计税工资.NullText = "";
			this.不计税工资.Width = 75;
			// 
			// 工资下限
			// 
			this.工资下限.Format = "";
			this.工资下限.FormatInfo = null;
			this.工资下限.HeaderText = "工资下限";
			this.工资下限.MappingName = "工资下限";
			this.工资下限.NullText = "";
			this.工资下限.Width = 75;
			// 
			// 工资上限
			// 
			this.工资上限.Format = "";
			this.工资上限.FormatInfo = null;
			this.工资上限.HeaderText = "工资上限";
			this.工资上限.MappingName = "工资上限";
			this.工资上限.NullText = "";
			this.工资上限.Width = 75;
			// 
			// 个人所得税率
			// 
			this.个人所得税率.Format = "";
			this.个人所得税率.FormatInfo = null;
			this.个人所得税率.HeaderText = "个人所得税率";
			this.个人所得税率.MappingName = "个人所得税率";
			this.个人所得税率.NullText = "";
			this.个人所得税率.Width = 75;
			// 
			// 速算扣除数
			// 
			this.速算扣除数.Format = "";
			this.速算扣除数.FormatInfo = null;
			this.速算扣除数.HeaderText = "速算扣除数";
			this.速算扣除数.MappingName = "速算扣除数";
			this.速算扣除数.NullText = "";
			this.速算扣除数.Width = 75;
			// 
			// 备注
			// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -