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

📄 frmuserdetails.cs

📁 yongle jpscxsd j cxksk xdkl sna
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace FeedBackProject
{
	/// <summary>
	/// Summary description for frmResult.
	/// </summary>
	public class frmUserDetails : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TextBox txtValues;
		private System.Windows.Forms.Button btnClose;
		/// <summary>
		/// Required designer variable.
		/// </summary>
	
		private string _name;
		private string _emailId;
		private string _subject;
		private string _feedBack;


		private System.ComponentModel.Container components = null;

		public frmUserDetails()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}
		public frmUserDetails(string varName, string varEmail, string varSubject, string varFeedBack)
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
			this._name = varName;
			this._emailId = varEmail;
			this._subject = varSubject;
			this._feedBack = varFeedBack;

			this.txtValues.Text = this._name + "\r\n"+this._emailId + "\r\n" + this._subject + "\r\n" + this._feedBack;

		}
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.txtValues = new System.Windows.Forms.TextBox();
			this.btnClose = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// txtValues
			// 
			this.txtValues.Dock = System.Windows.Forms.DockStyle.Top;
			this.txtValues.Location = new System.Drawing.Point(0, 0);
			this.txtValues.Multiline = true;
			this.txtValues.Name = "txtValues";
			this.txtValues.Size = new System.Drawing.Size(480, 240);
			this.txtValues.TabIndex = 0;
			this.txtValues.Text = "";
			// 
			// btnClose
			// 
			this.btnClose.BackColor = System.Drawing.SystemColors.ActiveBorder;
			this.btnClose.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnClose.Location = new System.Drawing.Point(392, 248);
			this.btnClose.Name = "btnClose";
			this.btnClose.Size = new System.Drawing.Size(75, 21);
			this.btnClose.TabIndex = 2;
			this.btnClose.Text = "关闭(&C)";
			this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
			// 
			// frmUserDetails
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.BackColor = System.Drawing.SystemColors.ActiveBorder;
			this.ClientSize = new System.Drawing.Size(480, 277);
			this.Controls.Add(this.btnClose);
			this.Controls.Add(this.txtValues);
			this.Name = "frmUserDetails";
			this.Text = "用户明细";
			this.Load += new System.EventHandler(this.frmUserDetails_Load);
			this.ResumeLayout(false);

		}
		#endregion

		private void frmUserDetails_Load(object sender, System.EventArgs e)
		{
		
		}

		private void btnClose_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}
	}
}

⌨️ 快捷键说明

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