亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? frmtextsettings.cs

?? Winform_OnlineTraning.rar 培訓(xùn)機(jī)構(gòu)的案例在線培訓(xùn)
?? CS
字號(hào):
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace Example1
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class frmTextSettings : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label lblText;
		private System.Windows.Forms.Button btnFont;
		private System.Windows.Forms.Button btnColor;
		private System.Windows.Forms.Button btnExit;
		private System.Windows.Forms.Button btnDone;
		private System.Windows.Forms.NumericUpDown updTimes;
		private System.Windows.Forms.Label lblTimes;
		private System.Windows.Forms.TextBox txtTextValue;
		private System.Windows.Forms.FontDialog fdlgFont;
		private System.Windows.Forms.ColorDialog cdlgColor;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

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

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <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()
		{
			System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
			this.txtTextValue = new System.Windows.Forms.TextBox();
			this.lblText = new System.Windows.Forms.Label();
			this.btnFont = new System.Windows.Forms.Button();
			this.btnColor = new System.Windows.Forms.Button();
			this.updTimes = new System.Windows.Forms.NumericUpDown();
			this.btnExit = new System.Windows.Forms.Button();
			this.fdlgFont = new System.Windows.Forms.FontDialog();
			this.cdlgColor = new System.Windows.Forms.ColorDialog();
			this.lblTimes = new System.Windows.Forms.Label();
			this.btnDone = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.updTimes)).BeginInit();
			this.SuspendLayout();
			// 
			// txtTextValue
			// 
			this.txtTextValue.Location = new System.Drawing.Point(10, 43);
			this.txtTextValue.Name = "txtTextValue";
			this.txtTextValue.Size = new System.Drawing.Size(297, 21);
			this.txtTextValue.TabIndex = 0;
			this.txtTextValue.Text = "";
			// 
			// lblText
			// 
			this.lblText.Location = new System.Drawing.Point(19, 17);
			this.lblText.Name = "lblText";
			this.lblText.Size = new System.Drawing.Size(120, 25);
			this.lblText.TabIndex = 1;
			this.lblText.Text = "輸入文本:";
			// 
			// btnFont
			// 
			this.btnFont.Location = new System.Drawing.Point(86, 95);
			this.btnFont.Name = "btnFont";
			this.btnFont.Size = new System.Drawing.Size(106, 25);
			this.btnFont.TabIndex = 2;
			this.btnFont.Text = "更改字體(&F)";
			this.btnFont.Click += new System.EventHandler(this.btnFont_Click);
			// 
			// btnColor
			// 
			this.btnColor.Location = new System.Drawing.Point(202, 95);
			this.btnColor.Name = "btnColor";
			this.btnColor.Size = new System.Drawing.Size(105, 25);
			this.btnColor.TabIndex = 3;
			this.btnColor.Text = "更改顏色(&C)";
			this.btnColor.Click += new System.EventHandler(this.btnColor_Click);
			// 
			// updTimes
			// 
			this.updTimes.Location = new System.Drawing.Point(160, 138);
			this.updTimes.Maximum = new System.Decimal(new int[] {
																	 6,
																	 0,
																	 0,
																	 0});
			this.updTimes.Minimum = new System.Decimal(new int[] {
																	 1,
																	 0,
																	 0,
																	 0});
			this.updTimes.Name = "updTimes";
			this.updTimes.Size = new System.Drawing.Size(57, 21);
			this.updTimes.TabIndex = 4;
			this.updTimes.Value = new System.Decimal(new int[] {
																   1,
																   0,
																   0,
																   0});
			// 
			// btnExit
			// 
			this.btnExit.Location = new System.Drawing.Point(221, 190);
			this.btnExit.Name = "btnExit";
			this.btnExit.Size = new System.Drawing.Size(86, 25);
			this.btnExit.TabIndex = 6;
			this.btnExit.Text = "退出(&E)";
			this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
			// 
			// lblTimes
			// 
			this.lblTimes.Location = new System.Drawing.Point(48, 138);
			this.lblTimes.Name = "lblTimes";
			this.lblTimes.Size = new System.Drawing.Size(110, 26);
			this.lblTimes.TabIndex = 7;
			this.lblTimes.Text = "文本顯示次數(shù):";
			// 
			// btnDone
			// 
			this.btnDone.Location = new System.Drawing.Point(115, 190);
			this.btnDone.Name = "btnDone";
			this.btnDone.Size = new System.Drawing.Size(90, 24);
			this.btnDone.TabIndex = 8;
			this.btnDone.Text = "完成(&D)";
			this.btnDone.Click += new System.EventHandler(this.btnDone_Click);
			// 
			// frmTextSettings
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(320, 245);
			this.Controls.Add(this.btnDone);
			this.Controls.Add(this.lblTimes);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.updTimes);
			this.Controls.Add(this.btnColor);
			this.Controls.Add(this.btnFont);
			this.Controls.Add(this.lblText);
			this.Controls.Add(this.txtTextValue);
			this.Name = "frmTextSettings";
			this.Text = ((string)(configurationAppSettings.GetValue("frmClrFnt.Text", typeof(string))));
			((System.ComponentModel.ISupportInitialize)(this.updTimes)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new frmTextSettings());
		}

		private void btnFont_Click(object sender, System.EventArgs e)
		{
			fdlgFont.ShowColor = true;
			fdlgFont.Font = txtTextValue.Font;
			fdlgFont.Color = txtTextValue.ForeColor;

			if(fdlgFont.ShowDialog() != DialogResult.Cancel )
			{
				txtTextValue.Font = fdlgFont.Font ;
				txtTextValue.ForeColor = fdlgFont.Color;
			}

		}

		private void btnExit_Click(object sender, System.EventArgs e)
		{
			Application.Exit();
		}

		private void btnColor_Click(object sender, System.EventArgs e)
		{
			if(cdlgColor.ShowDialog() == DialogResult.OK)
			{
				txtTextValue.ForeColor  = cdlgColor.Color;
			}

		}

		

		private void btnDone_Click(object sender, System.EventArgs e)
		{
			//increase form size so as to fit in multiple labels
			
            this.Size= new System.Drawing.Size(380,400);

			//create an array of labels
			System.Windows.Forms.Label[] lblText=new Label[Convert.ToInt32(updTimes
				.Value)];
			
            //populate each label of the array
			for(int intCnt=0; intCnt < updTimes.Value;intCnt++)
			{
				lblText[intCnt]=new Label();
				lblText[intCnt].Text = txtTextValue.Text;
				//set the location of the label
				int X = 50;
				int Y = 200+(intCnt*30);
				lblText[intCnt].Font =txtTextValue.Font;
				//change color and font of the label
				lblText[intCnt].ForeColor=txtTextValue.ForeColor; 
				//set the size to be same as the textbox
                lblText[intCnt].Size =  new Size(248, 40);
				lblText[intCnt].Location = new Point(X,Y);
				this.Controls.Add (lblText[intCnt]);
 
			}
		}

	}
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频三区在线播放| 亚洲人午夜精品天堂一二香蕉| 亚洲国产精品t66y| 亚洲国产日韩综合久久精品| 国产伦精品一区二区三区免费| 欧美精品欧美精品系列| 欧美国产日韩亚洲一区| 麻豆免费看一区二区三区| 在线免费不卡视频| 中文字幕二三区不卡| 久久电影网站中文字幕| 欧美日韩一级大片网址| 中文字幕一区在线观看视频| 国产在线不卡一区| 欧美大片在线观看| 亚洲成av人片一区二区| 色综合久久精品| 国产精品久久久久久亚洲毛片 | 午夜视频在线观看一区二区| 成人福利视频网站| 国产视频亚洲色图| 国产精品自在欧美一区| 日韩三级.com| 男人的天堂亚洲一区| 777久久久精品| 午夜欧美2019年伦理| 色网综合在线观看| 亚洲人成7777| 色综合 综合色| 一区二区三区四区国产精品| 94色蜜桃网一区二区三区| 国产精品剧情在线亚洲| 成人av午夜影院| 国产精品久久久久久久久久久免费看| 国产精品一区二区黑丝| 欧美国产日本韩| voyeur盗摄精品| 中文字幕亚洲一区二区va在线| av在线播放不卡| 亚洲激情一二三区| 欧美视频在线一区二区三区 | 日韩视频在线一区二区| 蜜桃视频一区二区三区在线观看 | 国产精品免费aⅴ片在线观看| 国产福利一区二区三区在线视频| 日本一区二区三区视频视频| av电影在线观看完整版一区二区| 亚洲老司机在线| 欧美日韩一区二区在线观看| 日本中文字幕一区二区视频| 精品国产第一区二区三区观看体验| 国产一区二区伦理| 国产精品久久久久aaaa| 色999日韩国产欧美一区二区| 亚洲成人av在线电影| 日韩午夜三级在线| 国产乱码字幕精品高清av| 国产精品国产三级国产aⅴ中文 | 欧美精品aⅴ在线视频| 日韩激情一二三区| 久久色成人在线| 色先锋aa成人| 久久疯狂做爰流白浆xx| 中文字幕在线不卡一区| 在线精品亚洲一区二区不卡| 麻豆精品国产传媒mv男同| 中文字幕一区二区三区视频| 欧美日韩日本视频| 国产精品资源在线| 亚洲一区二区视频在线观看| 精品理论电影在线观看| 97久久超碰国产精品电影| 青青草原综合久久大伊人精品优势 | 日韩女优毛片在线| av在线播放一区二区三区| 丝袜亚洲另类欧美| 国产精品视频麻豆| 欧美疯狂做受xxxx富婆| 成人中文字幕合集| 日本不卡视频在线| 亚洲精品免费在线观看| 久久久久综合网| 欧美日韩一区中文字幕| 成人午夜免费视频| 免播放器亚洲一区| 亚洲激情欧美激情| 国产日韩亚洲欧美综合| 91精品啪在线观看国产60岁| 91麻豆精品视频| 国产成人亚洲精品青草天美| 天堂在线一区二区| 亚洲免费av在线| 国产精品免费视频一区| 精品国产露脸精彩对白| 欧美一区日本一区韩国一区| 91色.com| 91免费在线视频观看| 粉嫩嫩av羞羞动漫久久久| 美女视频网站久久| 爽爽淫人综合网网站| 亚洲精品成a人| 亚洲人成网站色在线观看| 国产网站一区二区| 日韩女优电影在线观看| 日韩一二在线观看| 欧美二区三区91| 欧美日韩精品综合在线| 在线中文字幕一区| 色综合视频在线观看| 97久久精品人人爽人人爽蜜臀| 成人晚上爱看视频| 不卡一区中文字幕| 成人av网在线| 99视频在线观看一区三区| 成人av网站在线| 成人av在线一区二区三区| 大美女一区二区三区| zzijzzij亚洲日本少妇熟睡| 成人国产精品视频| 成人激情校园春色| 91在线无精精品入口| 99精品在线免费| 一本大道av伊人久久综合| 日本韩国欧美在线| 欧美日韩视频在线观看一区二区三区| 欧洲激情一区二区| 制服丝袜亚洲色图| 精品国产凹凸成av人网站| 久久综合色婷婷| 国产精品久久久久影院| 一区二区三区视频在线观看| 亚洲国产精品麻豆| 麻豆传媒一区二区三区| 国产激情91久久精品导航 | 国产乱码字幕精品高清av| 国产成a人无v码亚洲福利| 高清不卡一二三区| 日本精品免费观看高清观看| 欧美色图免费看| 精品少妇一区二区三区日产乱码| 国产欧美精品国产国产专区| 亚洲欧洲日韩一区二区三区| 亚洲成人免费视频| 国产一区视频导航| 一本久久a久久免费精品不卡| 欧美日韩aaa| 中文在线资源观看网站视频免费不卡| 最近日韩中文字幕| 日韩成人dvd| 99久久夜色精品国产网站| 欧美日韩五月天| 日本一区二区成人在线| 天天亚洲美女在线视频| 国产一区二区免费看| 欧美综合一区二区| 久久久99免费| 天天做天天摸天天爽国产一区 | 麻豆国产欧美一区二区三区| 成人激情文学综合网| 欧美日韩在线播放| 国产精品乱码人人做人人爱| 午夜精品免费在线| 99久久精品国产网站| 欧美成人猛片aaaaaaa| 依依成人精品视频| 国产成人在线免费观看| 在线电影院国产精品| 国产精品久久久久婷婷| 免费高清不卡av| 欧美在线短视频| 亚洲欧美在线视频观看| 久久激情综合网| 欧美日韩中文另类| 中文字幕字幕中文在线中不卡视频| 捆绑调教一区二区三区| 欧美伊人精品成人久久综合97| 中文一区在线播放| 韩日av一区二区| 在线电影国产精品| 亚洲午夜久久久久| 色婷婷综合五月| 国产精品卡一卡二| 国产福利91精品一区| 精品久久久久久久久久久久包黑料| 亚洲夂夂婷婷色拍ww47| 91在线观看地址| 国产精品理论在线观看| 国产高清精品在线| 国产亚洲1区2区3区| 韩国成人福利片在线播放| 日韩美女主播在线视频一区二区三区| 一区二区国产盗摄色噜噜| 9久草视频在线视频精品| 欧美激情中文字幕| 国产高清在线观看免费不卡| 久久精品亚洲一区二区三区浴池| 激情五月婷婷综合网| 欧美精品一区男女天堂| 国产精品资源在线| 国产农村妇女精品|