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

📄 ppinforecord.cs

📁 c#编写的人事管理系统源码 写得不错 值得收藏
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Text;
using System.Data.OleDb;
namespace PM
{
	/// <summary>
	/// PpInfoRecord 的摘要说明。
	/// </summary>
	public class PpInfoRecord : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.ComboBox No_cb;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox Name_txt;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.DateTimePicker Time_dtp;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.ComboBox Type_cb;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.TextBox Reson_txt;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.TextBox Context_txt;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.ComboBox Section_cb;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.ComboBox App_cb;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.DateTimePicker Repealtime_dtp;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.TextBox Repealreson_txt;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.TextBox Remarks_txt;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		//接受由PpInfoForm 传递过来的员工编号 
		private string ID = string.Empty;
		//定义一个内存的表用来存储检索出来的数据
		private DataTable dt = new DataTable();
		public PpInfoRecord()
		{
			//
			// 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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PpInfoRecord));
			this.label1 = new System.Windows.Forms.Label();
			this.No_cb = new System.Windows.Forms.ComboBox();
			this.label2 = new System.Windows.Forms.Label();
			this.Name_txt = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.Time_dtp = new System.Windows.Forms.DateTimePicker();
			this.label4 = new System.Windows.Forms.Label();
			this.Type_cb = new System.Windows.Forms.ComboBox();
			this.label5 = new System.Windows.Forms.Label();
			this.Reson_txt = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.Context_txt = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.Section_cb = new System.Windows.Forms.ComboBox();
			this.label8 = new System.Windows.Forms.Label();
			this.App_cb = new System.Windows.Forms.ComboBox();
			this.label9 = new System.Windows.Forms.Label();
			this.Repealtime_dtp = new System.Windows.Forms.DateTimePicker();
			this.label10 = new System.Windows.Forms.Label();
			this.Repealreson_txt = new System.Windows.Forms.TextBox();
			this.label11 = new System.Windows.Forms.Label();
			this.Remarks_txt = new System.Windows.Forms.TextBox();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(24, 32);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(56, 16);
			this.label1.TabIndex = 0;
			this.label1.Text = "员工编号";
			// 
			// No_cb
			// 
			this.No_cb.Location = new System.Drawing.Point(88, 24);
			this.No_cb.Name = "No_cb";
			this.No_cb.Size = new System.Drawing.Size(100, 20);
			this.No_cb.TabIndex = 1;
			this.No_cb.SelectedIndexChanged += new System.EventHandler(this.No_cb_SelectedIndexChanged);
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(216, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(56, 16);
			this.label2.TabIndex = 2;
			this.label2.Text = "员工姓名";
			// 
			// Name_txt
			// 
			this.Name_txt.Enabled = false;
			this.Name_txt.Location = new System.Drawing.Point(280, 24);
			this.Name_txt.Name = "Name_txt";
			this.Name_txt.TabIndex = 3;
			this.Name_txt.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(24, 72);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(56, 16);
			this.label3.TabIndex = 4;
			this.label3.Text = "奖惩时间";
			// 
			// Time_dtp
			// 
			this.Time_dtp.Format = System.Windows.Forms.DateTimePickerFormat.Short;
			this.Time_dtp.Location = new System.Drawing.Point(88, 64);
			this.Time_dtp.Name = "Time_dtp";
			this.Time_dtp.Size = new System.Drawing.Size(100, 21);
			this.Time_dtp.TabIndex = 5;
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(216, 72);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(56, 16);
			this.label4.TabIndex = 6;
			this.label4.Text = "奖惩类别";
			// 
			// Type_cb
			// 
			this.Type_cb.Location = new System.Drawing.Point(280, 64);
			this.Type_cb.Name = "Type_cb";
			this.Type_cb.Size = new System.Drawing.Size(100, 20);
			this.Type_cb.TabIndex = 7;
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(24, 112);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(56, 16);
			this.label5.TabIndex = 8;
			this.label5.Text = "奖惩原因";
			// 
			// Reson_txt
			// 
			this.Reson_txt.Location = new System.Drawing.Point(88, 96);
			this.Reson_txt.Multiline = true;
			this.Reson_txt.Name = "Reson_txt";
			this.Reson_txt.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.Reson_txt.Size = new System.Drawing.Size(288, 56);
			this.Reson_txt.TabIndex = 9;
			this.Reson_txt.Text = "";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(24, 184);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(56, 16);
			this.label6.TabIndex = 10;
			this.label6.Text = "奖惩内容";
			// 
			// Context_txt
			// 
			this.Context_txt.Location = new System.Drawing.Point(88, 160);
			this.Context_txt.Multiline = true;
			this.Context_txt.Name = "Context_txt";
			this.Context_txt.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.Context_txt.Size = new System.Drawing.Size(288, 56);
			this.Context_txt.TabIndex = 11;
			this.Context_txt.Text = "";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(32, 232);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(56, 16);
			this.label7.TabIndex = 12;
			this.label7.Text = "批准部门";
			// 
			// Section_cb
			// 
			this.Section_cb.Location = new System.Drawing.Point(88, 224);
			this.Section_cb.Name = "Section_cb";
			this.Section_cb.Size = new System.Drawing.Size(100, 20);
			this.Section_cb.TabIndex = 13;
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(216, 232);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(48, 16);
			this.label8.TabIndex = 14;
			this.label8.Text = "批准人";
			// 
			// App_cb
			// 

⌨️ 快捷键说明

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