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

📄 monthstatictisframe.cs

📁 独立完成考勤管理软件加打卡系统(C#) 是打卡加管理系统软件 
💻 CS
📖 第 1 页 / 共 2 页
字号:
#region NamePlace...using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data.SqlClient;using System.Data;#endregionnamespace WindowsApplication{	public class MonthStatictisFrame : WindowsApplication.EmployeeLeaveManager.ParentFrame	{		#region Controls...		private System.ComponentModel.IContainer components = null;		#endregion		#region Function....		public MonthStatictisFrame()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}				/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}        #endregion		#region DataValue Define...		private ConnectionData conn=new ConnectionData();
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private WindowsApplication.MonthDataSet monthDataSet;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand2;
		private System.Data.SqlClient.SqlConnection sqlConnection2;
		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 WindowsApplication.month month;		private DataTable MonthTable=new DataTable();		#endregion		#region Values Define...		//private string selectStr="select * from Month_statictis_Table";		#endregion		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MonthStatictisFrame));
			this.sqlDataAdapter = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.monthDataSet = new WindowsApplication.MonthDataSet();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection2 = new System.Data.SqlClient.SqlConnection();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.month = new WindowsApplication.month();
			((System.ComponentModel.ISupportInitialize)(this.statusZhuangTai)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.ds)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataSet)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.statusText)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.monthDataSet)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.month)).BeginInit();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.Name = "label1";
			this.label1.Text = "月考勤管理";
			// 
			// tool
			// 
			this.tool.Name = "tool";
			// 
			// status
			// 
			this.status.Name = "status";
			// 
			// imageList
			// 
			this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
			// 
			// dataGrid
			// 
			this.dataGrid.Name = "dataGrid";
			// 
			// label2
			// 
			this.label2.Name = "label2";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 96);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(72, 23);
			this.label3.Text = "职工名称:";
			// 
			// textSearchA
			// 
			this.textSearchA.ForeColor = System.Drawing.Color.Black;
			this.textSearchA.Name = "textSearchA";
			// 
			// TextCheckBox
			// 
			this.TextCheckBox.Name = "TextCheckBox";
			this.TextCheckBox.Text = "月份:";
			// 
			// textSearchB
			// 
			this.textSearchB.ForeColor = System.Drawing.Color.Black;
			this.textSearchB.Name = "textSearchB";
			// 
			// label4
			// 
			this.label4.Name = "label4";
			this.label4.Text = "日期:";
			// 
			// btnSearch
			// 
			this.btnSearch.Name = "btnSearch";
			this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
			// 
			// textSearchC
			// 
			this.textSearchC.ForeColor = System.Drawing.Color.Black;
			this.textSearchC.Name = "textSearchC";
			// 
			// sqlDataAdapter
			// 
			this.sqlDataAdapter.DeleteCommand = this.sqlDeleteCommand1;
			this.sqlDataAdapter.InsertCommand = this.sqlInsertCommand1;
			this.sqlDataAdapter.SelectCommand = this.sqlSelectCommand1;
			this.sqlDataAdapter.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									 new System.Data.Common.DataTableMapping("Table", "Month_statictis_Table", new System.Data.Common.DataColumnMapping[] {
																																																							  new System.Data.Common.DataColumnMapping("编号", "编号"),
																																																							  new System.Data.Common.DataColumnMapping("职工名称", "职工名称"),
																																																							  new System.Data.Common.DataColumnMapping("统计日期", "统计日期"),
																																																							  new System.Data.Common.DataColumnMapping("月份", "月份"),
																																																							  new System.Data.Common.DataColumnMapping("迟到次数", "迟到次数"),
																																																							  new System.Data.Common.DataColumnMapping("未到次数", "未到次数"),
																																																							  new System.Data.Common.DataColumnMapping("请假次数", "请假次数"),
																																																							  new System.Data.Common.DataColumnMapping("备注", "备注")})});
			this.sqlDataAdapter.UpdateCommand = this.sqlUpdateCommand1;
			// 
			// sqlConnection1
			// 
			this.sqlConnection1.ConnectionString = "workstation id=localhost;integrated security=SSPI;database=SystemODBC";
			// 
			// monthDataSet
			// 
			this.monthDataSet.DataSetName = "MonthDataSet";
			this.monthDataSet.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// sqlDataAdapter1
			// 
			this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand2;
			this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									  new System.Data.Common.DataTableMapping("Table", "Month_statictis_Table", new System.Data.Common.DataColumnMapping[] {
																																																							   new System.Data.Common.DataColumnMapping("编号", "编号"),
																																																							   new System.Data.Common.DataColumnMapping("职工名称", "职工名称"),
																																																							   new System.Data.Common.DataColumnMapping("统计日期", "统计日期"),
																																																							   new System.Data.Common.DataColumnMapping("月份", "月份"),

⌨️ 快捷键说明

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