userzhuchehistoryframe.cs

来自「独立完成考勤管理软件加打卡系统(C#) 是打卡加管理系统软件 」· CS 代码 · 共 236 行 · 第 1/2 页

CS
236
字号
#region 命名空间...using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;#endregionnamespace WindowsApplication.UserHistoryFrame{	public class userZhuCheHistoryFrame : WindowsApplication.ParentMDiFrame.ParentFrame	{		#region Control...		private System.ComponentModel.IContainer components = null;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter;
		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 sqlConnection;
		private WindowsApplication.UserHistoryFrame.userzhecheHistorySet userzhecheHistorySet;        public static bool blZhuChe=false;		#endregion		#region Function...		public userZhuCheHistoryFrame()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(userZhuCheHistoryFrame));
			this.sqlDataAdapter = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection = 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();
			this.userzhecheHistorySet = new WindowsApplication.UserHistoryFrame.userzhecheHistorySet();
			((System.ComponentModel.ISupportInitialize)(this.ds)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.stStauts)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.stUserOperator)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.stDateText)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.stTimeText)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.stState)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataGridSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.userzhecheHistorySet)).BeginInit();
			this.SuspendLayout();
			// 
			// tool
			// 
			this.tool.Name = "tool";
			this.tool.Size = new System.Drawing.Size(862, 40);
			// 
			// image
			// 
			this.image.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("image.ImageStream")));
			// 
			// TitleLabel
			// 
			this.TitleLabel.Name = "TitleLabel";
			this.TitleLabel.Text = "用户注册历史管理";
			// 
			// status
			// 
			this.status.Name = "status";
			// 
			// stDateText
			// 
			this.stDateText.Text = "当前日期:2006年11月10日";
			// 
			// stTimeText
			// 
			this.stTimeText.Text = "当前时间:02:57:19PM";
			// 
			// stState
			// 
			this.stState.Text = "状态:无";
			// 
			// dataGridSource
			// 
			this.dataGridSource.Name = "dataGridSource";
			// 
			// 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", "UserZheCheHistory", 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 + =
减小字号Ctrl + -
显示快捷键?