• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Forms.Label类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Forms.Label的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.Label类的具体用法?C# System.Windows.Forms.Label怎么用?C# System.Windows.Forms.Label使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



System.Windows.Forms.Label类属于命名空间,在下文中一共展示了System.Windows.Forms.Label类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.label1.Location = new System.Drawing.Point(72, 128);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(128, 16);
     this.label1.TabIndex = 8;
     this.label1.Text = "Drag me on the drawing";
     this.label1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label1_MouseMove);
     //
     // TestControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.label1});
     this.Name = "TestControl";
     this.Size = new System.Drawing.Size(280, 296);
     this.GiveFeedback += new System.Windows.Forms.GiveFeedbackEventHandler(this.TestControl_GiveFeedback);
     this.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.TestControl_QueryContinueDrag);
     this.ResumeLayout(false);
 }
开发者ID:kevinzhwl,项目名称:ObjectARXMod,代码行数:29,代码来源:dockingpalette.cs


示例2: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("宋体", 26F, System.Drawing.FontStyle.Bold);
     this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location = new System.Drawing.Point(433, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(231, 35);
     this.label1.TabIndex = 4;
     this.label1.Text = "考卷成绩查询";
     //
     // TitleScore
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
     this.ClientSize = new System.Drawing.Size(1024, 60);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "TitleScore";
     this.Text = "TitleScore";
     this.Load += new System.EventHandler(this.TitleScore_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:yaopengchao,项目名称:tcz,代码行数:34,代码来源:TitleScore.designer.cs


示例3: InitializeComponent

 /// <summary>
 /// Initializes the component.
 /// </summary>
 private void InitializeComponent()
 {
     this.ValueStringLabel = new System.Windows.Forms.Label();
     this.ValueStringTextBox = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // ValueStringLabel
     //
     this.ValueStringLabel.AutoSize = true;
     this.ValueStringLabel.Location = new System.Drawing.Point(133, 10);
     this.ValueStringLabel.Name = "ValueStringLabel";
     this.ValueStringLabel.Size = new System.Drawing.Size(33, 13);
     this.ValueStringLabel.TabIndex = 2;
     this.ValueStringLabel.Text = "Label";
     //
     // ValueStringTextBox
     //
     this.ValueStringTextBox.Location = new System.Drawing.Point(4, 4);
     this.ValueStringTextBox.MaxLength = 255;
     this.ValueStringTextBox.Name = "ValueStringTextBox";
     this.ValueStringTextBox.Size = new System.Drawing.Size(123, 20);
     this.ValueStringTextBox.TabIndex = 3;
     //
     // ValuePanelString
     //
     this.AutoSize = true;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this.ValueStringTextBox);
     this.Controls.Add(this.ValueStringLabel);
     this.Name = "ValuePanelString";
     this.Size = new System.Drawing.Size(169, 27);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:Yadoms,项目名称:yadoms,代码行数:37,代码来源:ValuePanelString.cs


示例4: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 void InitializeComponent()
 {
     this.lblMain = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lblMain
     //
     this.lblMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lblMain.Location = new System.Drawing.Point(0, 0);
     this.lblMain.Margin = new System.Windows.Forms.Padding(0);
     this.lblMain.Name = "lblMain";
     this.lblMain.Size = new System.Drawing.Size(0, 31);
     this.lblMain.TabIndex = 0;
     //
     // BottomControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage = global::RegistryCleaner.Properties.Resources.bottomBar;
     this.Controls.Add(this.lblMain);
     this.Margin = new System.Windows.Forms.Padding(0);
     this.MaximumSize = new System.Drawing.Size(0, 31);
     this.MinimumSize = new System.Drawing.Size(0, 31);
     this.Name = "BottomControl";
     this.Size = new System.Drawing.Size(0, 31);
     this.ResumeLayout(false);
 }
开发者ID:nullkuhl,项目名称:fsu-dev,代码行数:31,代码来源:ButtomControl.designer.cs


示例5: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblMessage = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lblMessage
     //
     this.lblMessage.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lblMessage.ForeColor = System.Drawing.Color.White;
     this.lblMessage.Location = new System.Drawing.Point(0, 0);
     this.lblMessage.Name = "lblMessage";
     this.lblMessage.Size = new System.Drawing.Size(200, 50);
     this.lblMessage.TabIndex = 0;
     this.lblMessage.Text = "Please Wait...";
     this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // PleaseWait
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.RoyalBlue;
     this.ClientSize = new System.Drawing.Size(200, 50);
     this.Controls.Add(this.lblMessage);
     this.Font = new System.Drawing.Font("Tahoma", 8F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "PleaseWait";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "PleaseWait";
     this.TopMost = true;
     this.ResumeLayout(false);
 }
开发者ID:x265,项目名称:HoloBenchmark,代码行数:35,代码来源:frmPleaseWait.designer.cs


示例6: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RenameDialog));
     this.label2 = new System.Windows.Forms.Label();
     this.txtname = new System.Windows.Forms.TextBox();
     this.okbtn = new System.Windows.Forms.Button();
     this.cancelbtn = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Name = "label2";
     //
     // txtname
     //
     this.txtname.BackColor = System.Drawing.SystemColors.Window;
     this.txtname.ForeColor = System.Drawing.SystemColors.ControlText;
     resources.ApplyResources(this.txtname, "txtname");
     this.txtname.Name = "txtname";
     this.txtname.TextChanged += new System.EventHandler(this.txtartist_TextChanged);
     //
     // okbtn
     //
     resources.ApplyResources(this.okbtn, "okbtn");
     this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okbtn.Name = "okbtn";
     this.okbtn.UseVisualStyleBackColor = true;
     this.okbtn.Click += new System.EventHandler(this.okbtn_Click);
     //
     // cancelbtn
     //
     resources.ApplyResources(this.cancelbtn, "cancelbtn");
     this.cancelbtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelbtn.Name = "cancelbtn";
     this.cancelbtn.UseVisualStyleBackColor = true;
     //
     // RenameDialog
     //
     this.AcceptButton = this.okbtn;
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.Control;
     this.CancelButton = this.cancelbtn;
     this.Controls.Add(this.okbtn);
     this.Controls.Add(this.cancelbtn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtname);
     this.ForeColor = System.Drawing.SystemColors.ControlText;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "RenameDialog";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:GetTabster,项目名称:Tabster,代码行数:64,代码来源:RenameDialog.designer.cs


示例7: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._tbImageToDecompose = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this._btnDecompose = new System.Windows.Forms.Button();
     this._tbSaveImage = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // _tbImageToDecompose
     //
     this._tbImageToDecompose.Location = new System.Drawing.Point(15, 25);
     this._tbImageToDecompose.Name = "_tbImageToDecompose";
     this._tbImageToDecompose.Size = new System.Drawing.Size(292, 20);
     this._tbImageToDecompose.TabIndex = 0;
     this._tbImageToDecompose.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TbImageToDecomposeMouseDoubleClick);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(204, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Select image to decompose (double click)";
     //
     // _btnDecompose
     //
     this._btnDecompose.Location = new System.Drawing.Point(232, 77);
     this._btnDecompose.Name = "_btnDecompose";
     this._btnDecompose.Size = new System.Drawing.Size(75, 23);
     this._btnDecompose.TabIndex = 2;
     this._btnDecompose.Text = "Decompose";
     this._btnDecompose.UseVisualStyleBackColor = true;
     this._btnDecompose.Click += new System.EventHandler(this.BtnDecomposeClick);
     //
     // _tbSaveImage
     //
     this._tbSaveImage.Location = new System.Drawing.Point(15, 51);
     this._tbSaveImage.Name = "_tbSaveImage";
     this._tbSaveImage.Size = new System.Drawing.Size(292, 20);
     this._tbSaveImage.TabIndex = 3;
     this._tbSaveImage.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.TbSaveImageMouseDoubleClick);
     //
     // WinHaarWavelet
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(319, 112);
     this.Controls.Add(this._tbSaveImage);
     this.Controls.Add(this._btnDecompose);
     this.Controls.Add(this.label1);
     this.Controls.Add(this._tbImageToDecompose);
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(335, 150);
     this.MinimumSize = new System.Drawing.Size(335, 150);
     this.Name = "WinHaarWavelet";
     this.Text = "WinHaarWavelet";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:eugentorica,项目名称:soundfingerprinting,代码行数:64,代码来源:WinHaarWavelet.designer.cs


示例8: Start

 public void Start()
 {
     _threadSynchronizer = new System.Windows.Forms.Label();
     IntPtr handle = _threadSynchronizer.Handle;
     _done = false;
     _thread.Start();
 }
开发者ID:CarverLab,项目名称:Oyster,代码行数:7,代码来源:ScheduledFTP.cs


示例9: InitializeComponent

		/// <summary>
		/// This method is required for Windows Forms designer support.
		/// Do not change the method contents inside the source code editor. The Forms designer might
		/// not be able to load this method if it was changed manually.
		/// </summary>
		private void InitializeComponent()
		{
			this.lbTotal = new System.Windows.Forms.Label();
			this.SuspendLayout();
			// 
			// lbTotal
			// 
			this.lbTotal.Location = new System.Drawing.Point(0, 251);
			this.lbTotal.Name = "lbTotal";
			this.lbTotal.Size = new System.Drawing.Size(156, 23);
			this.lbTotal.TabIndex = 0;
			this.lbTotal.Text = "Carregando Registros...";
			// 
			// MainForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(292, 273);
			this.Controls.Add(this.lbTotal);
			this.Name = "MainForm";
			this.Text = "NSync";
			this.Load += new System.EventHandler(this.MainFormLoad);
			this.ResumeLayout(false);

		}
开发者ID:luanlary,项目名称:NSync,代码行数:30,代码来源:MainForm.Designer.cs


示例10: InitializeComponent

    private void InitializeComponent() {
      this.lblMessage = new System.Windows.Forms.Label();
      this.SuspendLayout();
      // 
      // lblMessage
      // 
      this.lblMessage.BackColor = System.Drawing.Color.Transparent;
      this.lblMessage.Dock = System.Windows.Forms.DockStyle.Fill;
      this.lblMessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
      this.lblMessage.ImeMode = System.Windows.Forms.ImeMode.NoControl;
      this.lblMessage.Location = new System.Drawing.Point(0, 0);
      this.lblMessage.Name = "lblMessage";
      this.lblMessage.Size = new System.Drawing.Size(294, 76);
      this.lblMessage.TabIndex = 0;
      this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
      this.lblMessage.UseMnemonic = false;
      // 
      // PleaseWaitDialog
      // 
      this.ClientSize = new System.Drawing.Size(294, 76);
      this.ControlBox = false;
      this.Controls.Add(this.lblMessage);
      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
      this.ImeMode = System.Windows.Forms.ImeMode.NoControl;
      this.Name = "PleaseWaitDialog";
      this.ShowInTaskbar = false;
      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
      this.Text = "Please Wait...";
      this.ResumeLayout(false);

    }
开发者ID:Zastai,项目名称:POLUtils,代码行数:31,代码来源:PleaseWaitDialog.Designer.cs


示例11: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 void InitializeComponent()
 {
     this.lblBotomBar = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lblBotomBar
     //
     this.lblBotomBar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lblBotomBar.Location = new System.Drawing.Point(0, 0);
     this.lblBotomBar.Margin = new System.Windows.Forms.Padding(0);
     this.lblBotomBar.Name = "lblBotomBar";
     this.lblBotomBar.Size = new System.Drawing.Size(0, 31);
     this.lblBotomBar.TabIndex = 0;
     //
     // BottomControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.lblBotomBar);
     this.Margin = new System.Windows.Forms.Padding(0);
     this.MaximumSize = new System.Drawing.Size(0, 31);
     this.MinimumSize = new System.Drawing.Size(0, 31);
     this.Name = "BottomControl";
     this.Size = new System.Drawing.Size(0, 31);
     this.ResumeLayout(false);
 }
开发者ID:nullkuhl,项目名称:fsu-dev,代码行数:30,代码来源:ButtomControl.designer.cs


示例12: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PasswordBox));
     this.textBox = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // textBox
     //
     resources.ApplyResources(this.textBox, "textBox");
     this.textBox.Name = "textBox";
     this.textBox.UseSystemPasswordChar = true;
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // PasswordBox
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.textBox);
     this.Controls.Add(this.label2);
     this.MaximumSize = new System.Drawing.Size(352, 36);
     this.MinimumSize = new System.Drawing.Size(50, 36);
     this.Name = "PasswordBox";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:greeduomacro,项目名称:phoenix,代码行数:34,代码来源:PasswordBox.designer.cs


示例13: InitializeComponent

    private void InitializeComponent() {
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileScanDialog));
      this.prbScanProgress = new System.Windows.Forms.ProgressBar();
      this.lblScanProgress = new System.Windows.Forms.Label();
      this.SuspendLayout();
      // 
      // prbScanProgress
      // 
      resources.ApplyResources(this.prbScanProgress, "prbScanProgress");
      this.prbScanProgress.Maximum = 1000;
      this.prbScanProgress.Name = "prbScanProgress";
      // 
      // lblScanProgress
      // 
      resources.ApplyResources(this.lblScanProgress, "lblScanProgress");
      this.lblScanProgress.FlatStyle = System.Windows.Forms.FlatStyle.System;
      this.lblScanProgress.Name = "lblScanProgress";
      // 
      // FileScanDialog
      // 
      resources.ApplyResources(this, "$this");
      this.Controls.Add(this.prbScanProgress);
      this.Controls.Add(this.lblScanProgress);
      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
      this.Name = "FileScanDialog";
      this.ShowInTaskbar = false;
      this.ResumeLayout(false);

    }
开发者ID:Gravenet,项目名称:POLUtils,代码行数:29,代码来源:FileScanDialog.Designer.cs


示例14: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblText = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lblText
     //
     this.lblText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblText.Cursor = System.Windows.Forms.Cursors.Hand;
     this.lblText.Location = new System.Drawing.Point(0, 0);
     this.lblText.Name = "lblText";
     this.lblText.Size = new System.Drawing.Size(30, 30);
     this.lblText.TabIndex = 0;
     this.lblText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.lblText.Click += new System.EventHandler(this.lblText_Click);
     this.lblText.MouseEnter += new System.EventHandler(this.lblText_MouseEnter);
     this.lblText.MouseLeave += new System.EventHandler(this.lblText_MouseLeave);
     //
     // CardButton
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.lblText);
     this.Name = "CardButton";
     this.Size = new System.Drawing.Size(30, 30);
     this.ResumeLayout(false);
 }
开发者ID:smtheard,项目名称:PokerMuck,代码行数:31,代码来源:CardButton.designer.cs


示例15: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.labelDescription = new System.Windows.Forms.Label();
     this.SuspendLayout();
     // 
     // labelDescription
     // 
     this.labelDescription.Anchor = System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top;
     this.labelDescription.Font = new System.Drawing.Font("Arial", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc);
     this.labelDescription.Location = new System.Drawing.Point(8, 8);
     this.labelDescription.BackColor = System.Drawing.SystemColors.Window;
     this.labelDescription.Size = new System.Drawing.Size(428, 48);
     this.labelDescription.Name = "labelDescription";
     this.labelDescription.TabIndex = 0;
     this.labelDescription.Text = "Enter Step Description Here";
     base.Controls.Add(this.labelDescription);
     // 
     // WizardExteriorStep
     // 
     this.BackColor = System.Drawing.SystemColors.Window;
     this.Name = "WizardExteriorStep";
     this.Size = new System.Drawing.Size(444, 417);
     this.ResumeLayout(false);
 }
开发者ID:kostrse,项目名称:WinFormsWizard,代码行数:25,代码来源:WizardExteriorStep.Designer.cs


示例16: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.button1 = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.button2 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(210, 15);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(42, 23);
     this.button1.TabIndex = 0;
     this.button1.Text = "选择";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(90, 15);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(109, 21);
     this.textBox1.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 20);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(77, 12);
     this.label1.TabIndex = 2;
     this.label1.Text = "目标文件夹:";
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(93, 48);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 3;
     this.button2.Text = "递归删除";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Frm_Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(260, 81);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.button1);
     this.MaximizeBox = false;
     this.Name = "Frm_Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "使用递归法删除文件夹中的所有文件";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:TGHGH,项目名称:C-1200,代码行数:64,代码来源:Frm_Main.designer.cs


示例17: InitializeComponent

 /// <summary>
 /// Обязательный метод для поддержки конструктора - не изменяйте
 /// содержимое данного метода при помощи редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(45, 50);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(35, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "label1";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.label1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:phobos-nik,项目名称:academy,代码行数:30,代码来源:Form1.Designer_backup.cs


示例18: InitializeComponent

        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.colorComboBox1 = new ColorComboTestApp.ColorComboBox();
            this.colorComboBox2 = new ColorComboTestApp.ColorComboBox();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 12);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(89, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Vordergrundfarbe";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 59);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(86, 13);
            this.label2.TabIndex = 1;
            this.label2.Text = "Hintergrundfarbe";
            // 
            // colorComboBox1
            // 
            this.colorComboBox1.Extended = false;
            this.colorComboBox1.Location = new System.Drawing.Point(107, 12);
            this.colorComboBox1.Name = "colorComboBox1";
            this.colorComboBox1.SelectedColor = System.Drawing.Color.White;
            this.colorComboBox1.Size = new System.Drawing.Size(155, 23);
            this.colorComboBox1.TabIndex = 2;
            // 
            // colorComboBox2
            // 
            this.colorComboBox2.Extended = false;
            this.colorComboBox2.Location = new System.Drawing.Point(107, 59);
            this.colorComboBox2.Name = "colorComboBox2";
            this.colorComboBox2.SelectedColor = System.Drawing.Color.Black;
            this.colorComboBox2.Size = new System.Drawing.Size(155, 23);
            this.colorComboBox2.TabIndex = 3;
            // 
            // ColorSettings
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.CategoryPath = "Allgemein\\Farben";
            this.Controls.Add(this.colorComboBox2);
            this.Controls.Add(this.colorComboBox1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.DisplayName = "Farben";
            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "ColorSettings";
            this.Size = new System.Drawing.Size(426, 331);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
开发者ID:SchwarzerLoewe,项目名称:Paint,代码行数:60,代码来源:ColorSettings.cs


示例19: InitializeComponent

    private void InitializeComponent() {
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PleaseWaitDialog));
      this.lblMessage = new System.Windows.Forms.Label();
      this.SuspendLayout();
      // 
      // lblMessage
      // 
      this.lblMessage.AccessibleDescription = resources.GetString("lblMessage.AccessibleDescription");
      this.lblMessage.AccessibleName = resources.GetString("lblMessage.AccessibleName");
      resources.ApplyResources(this.lblMessage, "lblMessage");
      this.lblMessage.BackColor = System.Drawing.Color.Transparent;
      this.lblMessage.Name = "lblMessage";
      this.lblMessage.RightToLeft = ((System.Windows.Forms.RightToLeft) (resources.GetObject("lblMessage.RightToLeft")));
      this.lblMessage.UseMnemonic = false;
      // 
      // PleaseWaitDialog
      // 
      this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
      this.AccessibleName = resources.GetString("$this.AccessibleName");
      resources.ApplyResources(this, "$this");
      this.BackgroundImage = ((System.Drawing.Image) (resources.GetObject("$this.BackgroundImage")));
      this.ControlBox = false;
      this.Controls.Add(this.lblMessage);
      this.Font = ((System.Drawing.Font) (resources.GetObject("$this.Font")));
      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
      this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon")));
      this.ImeMode = ((System.Windows.Forms.ImeMode) (resources.GetObject("$this.ImeMode")));
      this.Name = "PleaseWaitDialog";
      this.RightToLeft = ((System.Windows.Forms.RightToLeft) (resources.GetObject("$this.RightToLeft")));
      this.ShowInTaskbar = false;
      this.ResumeLayout(false);

    }
开发者ID:Gravenet,项目名称:POLUtils,代码行数:33,代码来源:PleaseWaitDialog.Designer.cs


示例20: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label label1;
     this.newTekConsumerBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.comboBox5 = new System.Windows.Forms.ComboBox();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.newTekConsumerBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     label1.AutoSize = true;
     label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(190)))), ((int)(((byte)(190)))));
     label1.Location = new System.Drawing.Point(12, 10);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(87, 13);
     label1.TabIndex = 17;
     label1.Text = "Channel Layout";
     //
     // newTekConsumerBindingSource
     //
     this.newTekConsumerBindingSource.AllowNew = false;
     this.newTekConsumerBindingSource.DataSource = typeof(CasparCGFrontend.DecklinkConsumer);
     //
     // comboBox5
     //
     this.comboBox5.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.newTekConsumerBindingSource, "ChannelLayout", true));
     this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox5.FormattingEnabled = true;
     this.comboBox5.Items.AddRange(new object[] {
     "mono",
     "stereo",
     "dts",
     "dolbye",
     "dolbydigital",
     "smpte",
     "passthru"});
     this.comboBox5.Location = new System.Drawing.Point(105, 7);
     this.comboBox5.Name = "comboBox5";
     this.comboBox5.Size = new System.Drawing.Size(121, 21);
     this.comboBox5.TabIndex = 18;
     this.toolTip.SetToolTip(this.comboBox5, "This is the audio channels configuration. Passthru will pass 16 channels of audio" +
     " withour modifying it. More information: http://casparcg.com/wiki/Content_/_Medi" +
     "a#Audio Default is Stereo.");
     //
     // NewTekIVGAConsumerControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Controls.Add(this.comboBox5);
     this.Controls.Add(label1);
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "NewTekIVGAConsumerControl";
     ((System.ComponentModel.ISupportInitialize)(this.newTekConsumerBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:dust63,项目名称:Frontend,代码行数:64,代码来源:NewTekIVGAConsumerControl.designer.cs



注:本文中的System.Windows.Forms.Label类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Forms.LinkLabel类代码示例发布时间:2022-05-24
下一篇:
C# Forms.ImageList类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap