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

C# Forms.ComboBox类代码示例

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

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



System.Windows.Forms.ComboBox类属于命名空间,在下文中一共展示了System.Windows.Forms.ComboBox类的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.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(37, 2);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(129, 21);
     this.comboBox1.TabIndex = 0;
     //
     // label1
     //
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label1.Location = new System.Drawing.Point(3, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(28, 23);
     this.label1.TabIndex = 1;
     this.label1.Text = "0";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // MappedDataTypeCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBox1);
     this.Name = "MappedDataTypeCtrl";
     this.Size = new System.Drawing.Size(172, 27);
     this.ResumeLayout(false);
 }
开发者ID:BgRva,项目名称:Blob1,代码行数:38,代码来源:MappedDataTypeCtrl.designer.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.comboBox1 = new System.Windows.Forms.ComboBox();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(129, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Output format for textures:";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(12, 30);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(268, 21);
     this.comboBox1.TabIndex = 1;
     //
     // button1
     //
     this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button1.Location = new System.Drawing.Point(200, 57);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(80, 23);
     this.button1.TabIndex = 2;
     this.button1.Text = "Cancel";
     this.button1.UseVisualStyleBackColor = true;
     //
     // button2
     //
     this.button2.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button2.Location = new System.Drawing.Point(114, 57);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(80, 23);
     this.button2.TabIndex = 3;
     this.button2.Text = "OK";
     this.button2.UseVisualStyleBackColor = true;
     //
     // ExportAllAskFormat
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 92);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.label1);
     this.Name = "ExportAllAskFormat";
     this.Text = "Export All";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:blahblahblahblah831,项目名称:brawltools2,代码行数:64,代码来源:ExportAllAskFormat.designer.cs


示例3: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.combo = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // combo
     //
     this.combo.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.combo.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.combo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.combo.DropDownWidth = 189;
     this.combo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.combo.FormattingEnabled = true;
     this.combo.Location = new System.Drawing.Point(0, 0);
     this.combo.Name = "combo";
     this.combo.Size = new System.Drawing.Size(189, 28);
     this.combo.TabIndex = 0;
     this.combo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.combo_KeyDown);
     this.combo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.combo_KeyPress);
     //
     // ucDropDownList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.combo);
     this.Name = "ucDropDownList";
     this.Size = new System.Drawing.Size(189, 28);
     this.Enter += new System.EventHandler(this.ucDropDownList_Enter);
     this.ResumeLayout(false);
 }
开发者ID:pragmasolutions,项目名称:Maxikioscos,代码行数:34,代码来源:ucDropDownList.designer.cs


示例4: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(0, 0);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(442, 21);
     this.comboBox1.TabIndex = 0;
     this.comboBox1.Text = "Введите название услуги";
     this.comboBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseDoubleClick);
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     this.comboBox1.Enter += new System.EventHandler(this.comboBox1_Enter);
     this.comboBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.searchPatientComboBox1_KeyUp);
     //
     // SearchReestrBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox1);
     this.Name = "SearchReestrBox";
     this.Size = new System.Drawing.Size(443, 22);
     this.ResumeLayout(false);
 }
开发者ID:oeai,项目名称:medx,代码行数:31,代码来源:SearchReestrBox.designer.cs


示例5: InitializeComponent

		private void InitializeComponent()
		{
			_pathComboBox = new System.Windows.Forms.ComboBox();
			_browseButton = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// pathComboBox
			// 
			_pathComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
				| System.Windows.Forms.AnchorStyles.Right)));
			_pathComboBox.Location = new System.Drawing.Point(0, 2);
			_pathComboBox.Name = "pathComboBox";
			_pathComboBox.Size = new System.Drawing.Size(211, 21);
			_pathComboBox.TabIndex = 0;
			// 
			// browseButton
			// 
			_browseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			_browseButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			_browseButton.Location = new System.Drawing.Point(217, 1);
			_browseButton.Name = "browseButton";
			_browseButton.Size = new System.Drawing.Size(32, 23);
			_browseButton.TabIndex = 1;
			_browseButton.Click += new System.EventHandler(this.browseButton_Click);
			// 
			// NuGenFileSelector
			// 
			this.Controls.Add(_browseButton);
			this.Controls.Add(_pathComboBox);
			this.Size = new System.Drawing.Size(250, 25);
			this.ResumeLayout(false);
		}
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:32,代码来源:NuGenFileSelector.Designer.cs


示例6: 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.comboBox1 = new System.Windows.Forms.ComboBox();
			this.label1 = new System.Windows.Forms.Label();
			this.SuspendLayout();
			// 
			// comboBox1
			// 
			this.comboBox1.FormattingEnabled = true;
			this.comboBox1.Location = new System.Drawing.Point(117, 12);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(252, 21);
			this.comboBox1.TabIndex = 11;
			this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1SelectedIndexChanged);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(12, 12);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(100, 23);
			this.label1.TabIndex = 12;
			this.label1.Text = "Таблицы:";
			// 
			// Annex1
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(582, 340);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.comboBox1);
			this.Name = "Annex1";
			this.Text = "Annex1";
			this.ResumeLayout(false);

		}
开发者ID:glebmillenium,项目名称:projects,代码行数:40,代码来源:Annex1.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.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


示例8: InitializeComponent

 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.cmbClass = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // cmbClass
     //
     this.cmbClass.Dock = System.Windows.Forms.DockStyle.Fill;
     this.cmbClass.FormattingEnabled = true;
     this.cmbClass.Location = new System.Drawing.Point(0, 0);
     this.cmbClass.Margin = new System.Windows.Forms.Padding(4);
     this.cmbClass.Name = "cmbClass";
     this.cmbClass.Size = new System.Drawing.Size(146, 29);
     this.cmbClass.TabIndex = 0;
     //
     // ComboBoxClass
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.cmbClass);
     this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Margin = new System.Windows.Forms.Padding(5);
     this.Name = "ComboBoxClass";
     this.Size = new System.Drawing.Size(146, 32);
     this.ResumeLayout(false);
 }
开发者ID:bonizlee,项目名称:ClassQuestionMark,代码行数:30,代码来源:ComboBoxClass.designer.cs


示例9: 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(ServerEncryptionBox));
     this.comboBox = new System.Windows.Forms.ComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // comboBox
     //
     resources.ApplyResources(this.comboBox, "comboBox");
     this.comboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox.FormattingEnabled = true;
     this.comboBox.Name = "comboBox";
     this.comboBox.Sorted = true;
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // ServerEncryptionBox
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox);
     this.Controls.Add(this.label5);
     this.MaximumSize = new System.Drawing.Size(352, 37);
     this.MinimumSize = new System.Drawing.Size(50, 37);
     this.Name = "ServerEncryptionBox";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:greeduomacro,项目名称:phoenix,代码行数:36,代码来源:ServerEncryptionBox.designer.cs


示例10: _initControl

 public override void _initControl()
 {
     if (null == mComboBox || mComboBox.IsDisposed)
     {
         mComboBox = new System.Windows.Forms.ComboBox();
         mComboBox.Enabled = mEnable;
         if (null != mSize)
         {
             mComboBox.Size = new Size(mSize._getWidth(), mSize._getHeight());
         }
         int x_ = mPoint._getX();
         int y_ = mPoint._getY();
         mComboBox.Location = new Point(x_, y_);
         if (null != m_tSelectTextSlot)
         {
             mComboBox.SelectedText = this.m_tSelectTextSlot();
         }
         foreach (ComboBoxItem i in mComboBoxItems)
         {
             string name_ = i._getName();
             ICommand command_ = i._getCommand();
             mCommands.Add(command_);
             mComboBox.Items.Add(name_);
         }
         mComboBox.SelectionChangeCommitted += this._selectionChangeCommitted;
     }
 }
开发者ID:zyouhua,项目名称:nvwa,代码行数:27,代码来源:ComboBox.cs


示例11: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.DisplayMember = "Caption";
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(0, 0);
     this.comboBox1.Margin = new System.Windows.Forms.Padding(0);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(197, 21);
     this.comboBox1.TabIndex = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // ExcelListWindows
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox1);
     this.Name = "ExcelListWindows";
     this.Size = new System.Drawing.Size(197, 21);
     this.Load += new System.EventHandler(this.ExcelListWindows_Load);
     this.ResumeLayout(false);
 }
开发者ID:alnemer,项目名称:excel-qa-tools,代码行数:34,代码来源:ExcelListWindows.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()
 {
     this.label3 = new System.Windows.Forms.Label();
     this.LblEntrar = new System.Windows.Forms.Label();
     this.CboRoles = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(40, 27);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(72, 13);
     this.label3.TabIndex = 11;
     this.label3.Text = "ROL A USAR";
     //
     // LblEntrar
     //
     this.LblEntrar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(89)))), ((int)(((byte)(182)))));
     this.LblEntrar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.LblEntrar.Cursor = System.Windows.Forms.Cursors.Hand;
     this.LblEntrar.ForeColor = System.Drawing.Color.White;
     this.LblEntrar.Location = new System.Drawing.Point(140, 107);
     this.LblEntrar.Name = "LblEntrar";
     this.LblEntrar.Size = new System.Drawing.Size(88, 32);
     this.LblEntrar.TabIndex = 6;
     this.LblEntrar.Text = "LISTO";
     this.LblEntrar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.LblEntrar.Click += new System.EventHandler(this.LblEntrar_Click);
     //
     // CboRoles
     //
     this.CboRoles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CboRoles.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.CboRoles.FormattingEnabled = true;
     this.CboRoles.Location = new System.Drawing.Point(43, 43);
     this.CboRoles.Name = "CboRoles";
     this.CboRoles.Size = new System.Drawing.Size(296, 21);
     this.CboRoles.TabIndex = 12;
     //
     // FrmChooseRol
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(240)))), ((int)(((byte)(241)))));
     this.ClientSize = new System.Drawing.Size(372, 168);
     this.Controls.Add(this.CboRoles);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.LblEntrar);
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(388, 206);
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(388, 206);
     this.Name = "FrmChooseRol";
     this.Text = "FrbaCommerce - Elegir rol";
     this.Load += new System.EventHandler(this.FrmChooseRol_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:norchow,项目名称:gestiondedatos,代码行数:63,代码来源:FrmChooseRol.designer.cs


示例13: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cmbPorts = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.tbBaudRate = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // cmbPorts
     //
     this.cmbPorts.Location = new System.Drawing.Point(115, 24);
     this.cmbPorts.Name = "cmbPorts";
     this.cmbPorts.Size = new System.Drawing.Size(100, 21);
     this.cmbPorts.TabIndex = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4, 25);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(100, 20);
     this.label1.TabIndex = 5;
     this.label1.Text = "Serial port";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(4, 49);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(100, 20);
     this.label2.TabIndex = 4;
     this.label2.Text = "Baudrate";
     //
     // tbBaudRate
     //
     this.tbBaudRate.Location = new System.Drawing.Point(115, 53);
     this.tbBaudRate.Name = "tbBaudRate";
     this.tbBaudRate.Size = new System.Drawing.Size(100, 20);
     this.tbBaudRate.TabIndex = 3;
     this.tbBaudRate.Text = "4800";
     //
     // FrmGpsSettings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize = new System.Drawing.Size(228, 87);
     this.Controls.Add(this.tbBaudRate);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbPorts);
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(244, 123);
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(244, 123);
     this.Name = "FrmGpsSettings";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "GPS Settings";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:fivepmtechnology,项目名称:SharpGPS,代码行数:63,代码来源:frmgpssettings.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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlPartList));
     this.contextMenuPart = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolTipNamespace = new System.Windows.Forms.ToolTip(this.components);
     this.labelDataSource = new System.Windows.Forms.Label();
     this.comboBoxPartList = new System.Windows.Forms.ComboBox();
     this.contextMenuPart.SuspendLayout();
     this.SuspendLayout();
     //
     // contextMenuPart
     //
     resources.ApplyResources(this.contextMenuPart, "contextMenuPart");
     this.contextMenuPart.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.renameToolStripMenuItem,
     this.deleteToolStripMenuItem});
     this.contextMenuPart.Name = "contextMenuPart";
     this.contextMenuPart.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuPart_Opening);
     //
     // renameToolStripMenuItem
     //
     this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
     resources.ApplyResources(this.renameToolStripMenuItem, "renameToolStripMenuItem");
     this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
     resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem");
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
     //
     // labelDataSource
     //
     resources.ApplyResources(this.labelDataSource, "labelDataSource");
     this.labelDataSource.Name = "labelDataSource";
     //
     // comboBoxPartList
     //
     resources.ApplyResources(this.comboBoxPartList, "comboBoxPartList");
     this.comboBoxPartList.ContextMenuStrip = this.contextMenuPart;
     this.comboBoxPartList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxPartList.FormattingEnabled = true;
     this.comboBoxPartList.Name = "comboBoxPartList";
     this.comboBoxPartList.SelectedIndexChanged += new System.EventHandler(this.comboBoxPartList_SelectedIndexChanged);
     this.comboBoxPartList.MouseHover += new System.EventHandler(this.comboBoxPartList_MouseHover);
     //
     // ControlPartList
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBoxPartList);
     this.Controls.Add(this.labelDataSource);
     this.Name = "ControlPartList";
     this.contextMenuPart.ResumeLayout(false);
     this.ResumeLayout(false);
 }
开发者ID:plutext,项目名称:OpenDoPE-Mapping-WordAddIn,代码行数:63,代码来源:ControlPartList.designer.cs


示例15: AddPanel

        public void AddPanel()
        {
            int yCord = 0;

            tmpNumUpDown = new System.Windows.Forms.NumericUpDown();
            tmpComboBox = new System.Windows.Forms.ComboBox();
            tmpPanel = new System.Windows.Forms.Panel();

            // numericUpDown2
            //
            tmpNumUpDown.Location = new System.Drawing.Point(3, 3);
            tmpNumUpDown.Name = "numericUpDown";
            tmpNumUpDown.Size = new System.Drawing.Size(108, 20);
            tmpNumUpDown.TabIndex = 1;
            //
            // comboBox1
            //
            tmpComboBox.FormattingEnabled = true;
            tmpComboBox.Items.AddRange(new object[] {
                "AA(4.0)",
                "BA(3.5)",
                "BB(3.0)",
                "CB(2.5)",
                "CC(2.0)",
                "DC(1.5)",
                "DD(1.0)",
                "FD(0.5)",
                "FF,F0(0.0)"
            });
            tmpComboBox.Location = new System.Drawing.Point(132, 2);
            tmpComboBox.Name = "comboBox";
            tmpComboBox.SelectedIndex = 0;
            tmpComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            tmpComboBox.Size = new System.Drawing.Size(121, 21);
            tmpComboBox.TabIndex = 2;
            //
            // panel1
            //

            tmpPanel.Controls.Add(tmpComboBox);
            tmpPanel.Controls.Add(tmpNumUpDown);

            tmpPanel.Name = "panel";
            tmpPanel.Size = new System.Drawing.Size(256, 28);

            if (PanelList.Count > 0) {

                yCord = PanelList[PanelList.Count - 1].Location.Y;
                yCord += 30;
                tmpPanel.Location = new System.Drawing.Point(0, yCord);

            }
            else tmpPanel.Location = new System.Drawing.Point(0, 0);

            PanelList.Add(tmpPanel);
            GradeList.Add(tmpComboBox);
            CredictList.Add(tmpNumUpDown);
        }
开发者ID:megoman123,项目名称:FinishedBasicProjects,代码行数:58,代码来源:AGNOCalculator.cs


示例16: 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.label4 = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(653, 7);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(26, 13);
     this.label1.TabIndex = 4;
     this.label1.Text = "Tag";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(3, 7);
     this.label4.Name = "label4";
     this.label4.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
     this.label4.Size = new System.Drawing.Size(191, 16);
     this.label4.TabIndex = 1;
     this.label4.Text = "error in getting plugin element name";
     //
     // comboBox1
     //
     this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(263, 4);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(358, 21);
     this.comboBox1.TabIndex = 3;
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location = new System.Drawing.Point(200, 4);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(57, 21);
     this.comboBox2.TabIndex = 2;
     this.comboBox2.Text = "Type";
     //
     // Ident
     //
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this.label4);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.label1);
     this.Name = "Ident";
     this.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0);
     this.Size = new System.Drawing.Size(682, 30);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:nolenfelten,项目名称:Blam_BSP,代码行数:62,代码来源:Ident.designer.cs


示例17: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnCancelScenario = new System.Windows.Forms.Button();
     this.btnOkScenario = new System.Windows.Forms.Button();
     this.lblSelectScenario = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // btnCancelScenario
     //
     this.btnCancelScenario.Location = new System.Drawing.Point(370, 43);
     this.btnCancelScenario.Name = "btnCancelScenario";
     this.btnCancelScenario.Size = new System.Drawing.Size(53, 26);
     this.btnCancelScenario.TabIndex = 7;
     this.btnCancelScenario.Text = "Cancel";
     this.btnCancelScenario.UseVisualStyleBackColor = true;
     //
     // btnOkScenario
     //
     this.btnOkScenario.Location = new System.Drawing.Point(311, 44);
     this.btnOkScenario.Name = "btnOkScenario";
     this.btnOkScenario.Size = new System.Drawing.Size(53, 25);
     this.btnOkScenario.TabIndex = 6;
     this.btnOkScenario.Text = "OK";
     this.btnOkScenario.UseVisualStyleBackColor = true;
     //
     // lblSelectScenario
     //
     this.lblSelectScenario.AutoSize = true;
     this.lblSelectScenario.Location = new System.Drawing.Point(12, 19);
     this.lblSelectScenario.Name = "lblSelectScenario";
     this.lblSelectScenario.Size = new System.Drawing.Size(146, 13);
     this.lblSelectScenario.TabIndex = 4;
     this.lblSelectScenario.Text = "Select Water Level Scenario:";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(164, 16);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(259, 21);
     this.comboBox1.TabIndex = 8;
     //
     // FormSelectScenario
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(438, 77);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.btnCancelScenario);
     this.Controls.Add(this.btnOkScenario);
     this.Controls.Add(this.lblSelectScenario);
     this.Name = "FormSelectScenario";
     this.Text = "Water Level Scenario";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:estiljr,项目名称:RBFAT,代码行数:61,代码来源:FormSelectScenario.designer.cs


示例18: 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();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.ckBxSequential = new System.Windows.Forms.CheckBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(49, 2);
     this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(132, 24);
     this.comboBox1.TabIndex = 0;
     //
     // label1
     //
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label1.Location = new System.Drawing.Point(4, 0);
     this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(37, 28);
     this.label1.TabIndex = 1;
     this.label1.Text = "0";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ckBxSequential
     //
     this.ckBxSequential.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ckBxSequential.AutoSize = true;
     this.ckBxSequential.Location = new System.Drawing.Point(195, 5);
     this.ckBxSequential.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.ckBxSequential.Name = "ckBxSequential";
     this.ckBxSequential.Size = new System.Drawing.Size(97, 21);
     this.ckBxSequential.TabIndex = 2;
     this.ckBxSequential.Text = "Sequential";
     this.ckBxSequential.UseVisualStyleBackColor = true;
     //
     // DataTypeCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.ckBxSequential);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBox1);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name = "DataTypeCtrl";
     this.Size = new System.Drawing.Size(296, 33);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:BgRva,项目名称:Blob1,代码行数:60,代码来源:DataTypeCtrl.designer.cs


示例19: InitializeComponent

 private void InitializeComponent()
 {
     this.registerCombo = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.maxDeltaESPTextBox = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // registerCombo
     //
     this.registerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.registerCombo.FormattingEnabled = true;
     this.registerCombo.Items.AddRange(new object[] {
     "EAX",
     "ECX",
     "EDX",
     "EBX",
     "ESP",
     "EBP",
     "ESI",
     "EDI",
     "ANY"});
     this.registerCombo.Location = new System.Drawing.Point(0, 0);
     this.registerCombo.Name = "registerCombo";
     this.registerCombo.Size = new System.Drawing.Size(45, 21);
     this.registerCombo.TabIndex = 28;
     this.registerCombo.SelectedIndexChanged += new System.EventHandler(this.registerCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(140, 6);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(96, 13);
     this.label1.TabIndex = 29;
     this.label1.Text = "Maxium delta ESP:";
     //
     // maxDeltaESPTextBox
     //
     this.maxDeltaESPTextBox.Location = new System.Drawing.Point(243, 2);
     this.maxDeltaESPTextBox.Name = "maxDeltaESPTextBox";
     this.maxDeltaESPTextBox.Size = new System.Drawing.Size(27, 20);
      

鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# Forms.ContextMenuStrip类代码示例发布时间:2022-05-24
下一篇:
C# Forms.ColumnHeader类代码示例发布时间: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