本文整理汇总了C#中System.Windows.Forms.ToolTip.SetToolTip方法的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.ToolTip.SetToolTip方法的具体用法?C# System.Windows.Forms.ToolTip.SetToolTip怎么用?C# System.Windows.Forms.ToolTip.SetToolTip使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.ToolTip
的用法示例。
在下文中一共展示了System.Windows.Forms.ToolTip.SetToolTip方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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.components = new System.ComponentModel.Container();
System.Windows.Forms.Label label1;
System.Windows.Forms.ToolTip _toolTip;
this._projectNameBox = new System.Windows.Forms.TextBox();
this._linkLabel = new System.Windows.Forms.LinkLabel();
this._testButton = new System.Windows.Forms.Button();
this._okButton = new System.Windows.Forms.Button();
this._cancelButton = new System.Windows.Forms.Button();
label1 = new System.Windows.Forms.Label();
_toolTip = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(12, 11);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(139, 13);
label1.TabIndex = 0;
label1.Text = "&Google Code Project Name:";
//
// _projectNameBox
//
this._projectNameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this._projectNameBox.Location = new System.Drawing.Point(12, 31);
this._projectNameBox.Name = "_projectNameBox";
this._projectNameBox.Size = new System.Drawing.Size(416, 21);
this._projectNameBox.TabIndex = 1;
_toolTip.SetToolTip(this._projectNameBox, "Enter Google Code hosted project name");
this._projectNameBox.TextChanged += new System.EventHandler(this.ProjectNameBox_TextChanged);
//
// _linkLabel
//
this._linkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this._linkLabel.AutoEllipsis = true;
this._linkLabel.Location = new System.Drawing.Point(12, 62);
this._linkLabel.Name = "_linkLabel";
this._linkLabel.Size = new System.Drawing.Size(416, 17);
this._linkLabel.TabIndex = 2;
this._linkLabel.TabStop = true;
this._linkLabel.Text = "http://code.google.com/hosting/";
_toolTip.SetToolTip(this._linkLabel, "Open URL in the default Web browser");
this._linkLabel.UseMnemonic = false;
this._linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel_LinkClicked);
//
// _testButton
//
this._testButton.Enabled = false;
this._testButton.Location = new System.Drawing.Point(12, 91);
this._testButton.Name = "_testButton";
this._testButton.Size = new System.Drawing.Size(75, 30);
this._testButton.TabIndex = 5;
this._testButton.Text = "&Test";
_toolTip.SetToolTip(this._testButton, "Test if the supplied Google Code project is reachable online or not");
this._testButton.UseVisualStyleBackColor = true;
this._testButton.Click += new System.EventHandler(this.TestButton_Click);
//
// _okButton
//
this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this._okButton.Enabled = false;
this._okButton.Location = new System.Drawing.Point(272, 175);
this._okButton.Name = "_okButton";
this._okButton.Size = new System.Drawing.Size(75, 30);
this._okButton.TabIndex = 3;
this._okButton.Text = "OK";
this._okButton.UseVisualStyleBackColor = true;
//
// _cancelButton
//
this._cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this._cancelButton.Location = new System.Drawing.Point(353, 175);
this._cancelButton.Name = "_cancelButton";
this._cancelButton.Size = new System.Drawing.Size(75, 30);
this._cancelButton.TabIndex = 4;
this._cancelButton.Text = "Cancel";
this._cancelButton.UseVisualStyleBackColor = true;
//
// OptionsDialog
//
this.AcceptButton = this._okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this._cancelButton;
this.ClientSize = new System.Drawing.Size(440, 217);
this.Controls.Add(this._testButton);
this.Controls.Add(this._linkLabel);
this.Controls.Add(this._cancelButton);
this.Controls.Add(this._okButton);
this.Controls.Add(this._projectNameBox);
//.........这里部分代码省略.........
示例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.components = new System.ComponentModel.Container();
System.Windows.Forms.Button cancelButton;
System.Windows.Forms.StatusStrip statusStrip;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IssueBrowserDialog));
System.Windows.Forms.ToolTip toolTip;
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2;
this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.workStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.detailButton = new System.Windows.Forms.Button();
this.refreshButton = new System.Windows.Forms.Button();
this.okButton = new System.Windows.Forms.Button();
this.issueListView = new System.Windows.Forms.ListView();
this.idColumn = new System.Windows.Forms.ColumnHeader();
this.foundLabel = new System.Windows.Forms.Label();
this.searchFieldBox = new System.Windows.Forms.ComboBox();
this.updateNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.includeClosedCheckBox = new System.Windows.Forms.CheckBox();
this.searchBox = new System.Windows.Forms.ComboBox();
cancelButton = new System.Windows.Forms.Button();
statusStrip = new System.Windows.Forms.StatusStrip();
toolTip = new System.Windows.Forms.ToolTip(this.components);
label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
statusStrip.SuspendLayout();
this.SuspendLayout();
//
// cancelButton
//
cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
cancelButton.Location = new System.Drawing.Point(761, 427);
cancelButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
cancelButton.Name = "cancelButton";
cancelButton.Size = new System.Drawing.Size(75, 30);
cancelButton.TabIndex = 10;
cancelButton.Text = "Cancel";
cancelButton.UseVisualStyleBackColor = true;
//
// statusStrip
//
statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.statusLabel,
this.workStatus});
statusStrip.Location = new System.Drawing.Point(0, 462);
statusStrip.Name = "statusStrip";
statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 13, 0);
statusStrip.Size = new System.Drawing.Size(849, 25);
statusStrip.TabIndex = 11;
//
// statusLabel
//
this.statusLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.statusLabel.Name = "statusLabel";
this.statusLabel.Size = new System.Drawing.Size(835, 20);
this.statusLabel.Spring = true;
this.statusLabel.Text = "Ready";
this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// workStatus
//
this.workStatus.AutoSize = false;
this.workStatus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.workStatus.Image = ((System.Drawing.Image)(resources.GetObject("workStatus.Image")));
this.workStatus.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.workStatus.Name = "workStatus";
this.workStatus.Size = new System.Drawing.Size(45, 20);
this.workStatus.Visible = false;
//
// detailButton
//
this.detailButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.detailButton.Location = new System.Drawing.Point(12, 427);
this.detailButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.detailButton.Name = "detailButton";
this.detailButton.Size = new System.Drawing.Size(75, 30);
this.detailButton.TabIndex = 6;
this.detailButton.Text = "&Details";
toolTip.SetToolTip(this.detailButton, "Open details of selected issue in the browser");
this.detailButton.UseVisualStyleBackColor = true;
this.detailButton.Click += new System.EventHandler(this.DetailButton_Click);
//
// refreshButton
//
this.refreshButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.refreshButton.Enabled = false;
this.refreshButton.Location = new System.Drawing.Point(93, 427);
this.refreshButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.refreshButton.Name = "refreshButton";
this.refreshButton.Size = new System.Drawing.Size(75, 30);
this.refreshButton.TabIndex = 7;
this.refreshButton.Text = "&Refresh";
toolTip.SetToolTip(this.refreshButton, "Reload the issue list");
this.refreshButton.UseVisualStyleBackColor = true;
//.........这里部分代码省略.........
示例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.components = new System.ComponentModel.Container();
System.Windows.Forms.ToolTip toolTip;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NodejsIntellisenseOptionsControl));
System.Windows.Forms.GroupBox intellisenseLevelGroupBox;
System.Windows.Forms.GroupBox saveToDiskGroupBox;
this._saveToDiskDisabledRadioButton = new System.Windows.Forms.RadioButton();
this._saveToDiskEnabledRadioButton = new System.Windows.Forms.RadioButton();
this._fullIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this._noIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this._mediumIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this._previewIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this._analysisLogMax = new System.Windows.Forms.ComboBox();
this._analysisLogMaxLabel = new System.Windows.Forms.Label();
this._analysisPreviewFeedbackLinkLabel = new System.Windows.Forms.LinkLabel();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this._selectionInCompletionListGroupBox = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this._completionCommittedBy = new System.Windows.Forms.TextBox();
this._completionCommittedByLabel = new System.Windows.Forms.Label();
toolTip = new System.Windows.Forms.ToolTip(this.components);
intellisenseLevelGroupBox = new System.Windows.Forms.GroupBox();
saveToDiskGroupBox = new System.Windows.Forms.GroupBox();
intellisenseLevelGroupBox.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
saveToDiskGroupBox.SuspendLayout();
this.tableLayoutPanel4.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this._selectionInCompletionListGroupBox.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.SuspendLayout();
//
// _saveToDiskDisabledRadioButton
//
resources.ApplyResources(this._saveToDiskDisabledRadioButton, "_saveToDiskDisabledRadioButton");
this._saveToDiskDisabledRadioButton.Name = "_saveToDiskDisabledRadioButton";
this._saveToDiskDisabledRadioButton.TabStop = true;
toolTip.SetToolTip(this._saveToDiskDisabledRadioButton, resources.GetString("_saveToDiskDisabledRadioButton.ToolTip"));
this._saveToDiskDisabledRadioButton.UseVisualStyleBackColor = true;
//
// _saveToDiskEnabledRadioButton
//
resources.ApplyResources(this._saveToDiskEnabledRadioButton, "_saveToDiskEnabledRadioButton");
this._saveToDiskEnabledRadioButton.Name = "_saveToDiskEnabledRadioButton";
this._saveToDiskEnabledRadioButton.TabStop = true;
toolTip.SetToolTip(this._saveToDiskEnabledRadioButton, resources.GetString("_saveToDiskEnabledRadioButton.ToolTip"));
this._saveToDiskEnabledRadioButton.UseVisualStyleBackColor = true;
//
// _fullIntelliSenseRadioButton
//
resources.ApplyResources(this._fullIntelliSenseRadioButton, "_fullIntelliSenseRadioButton");
this._fullIntelliSenseRadioButton.Name = "_fullIntelliSenseRadioButton";
this._fullIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._fullIntelliSenseRadioButton, resources.GetString("_fullIntelliSenseRadioButton.ToolTip"));
this._fullIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// _noIntelliSenseRadioButton
//
resources.ApplyResources(this._noIntelliSenseRadioButton, "_noIntelliSenseRadioButton");
this._noIntelliSenseRadioButton.Name = "_noIntelliSenseRadioButton";
this._noIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._noIntelliSenseRadioButton, resources.GetString("_noIntelliSenseRadioButton.ToolTip"));
this._noIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// _mediumIntelliSenseRadioButton
//
resources.ApplyResources(this._mediumIntelliSenseRadioButton, "_mediumIntelliSenseRadioButton");
this._mediumIntelliSenseRadioButton.Name = "_mediumIntelliSenseRadioButton";
this._mediumIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._mediumIntelliSenseRadioButton, resources.GetString("_mediumIntelliSenseRadioButton.ToolTip"));
this._mediumIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// _previewIntelliSenseRadioButton
//
resources.ApplyResources(this._previewIntelliSenseRadioButton, "_previewIntelliSenseRadioButton");
this._previewIntelliSenseRadioButton.Name = "_previewIntelliSenseRadioButton";
this._previewIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._previewIntelliSenseRadioButton, resources.GetString("_previewIntelliSenseRadioButton.ToolTip"));
this._previewIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// intellisenseLevelGroupBox
//
resources.ApplyResources(intellisenseLevelGroupBox, "intellisenseLevelGroupBox");
intellisenseLevelGroupBox.Controls.Add(this.tableLayoutPanel2);
intellisenseLevelGroupBox.Name = "intellisenseLevelGroupBox";
intellisenseLevelGroupBox.TabStop = false;
//
// tableLayoutPanel2
//
resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
this.tableLayoutPanel2.Controls.Add(this._previewIntelliSenseRadioButton, 0, 4);
this.tableLayoutPanel2.Controls.Add(this._mediumIntelliSenseRadioButton, 0, 2);
this.tableLayoutPanel2.Controls.Add(this._analysisLogMax, 1, 5);
this.tableLayoutPanel2.Controls.Add(this._noIntelliSenseRadioButton, 0, 3);
//.........这里部分代码省略.........
示例4: SetTooltip
public static void SetTooltip(this Control control, string tooltip)
{
var toolTip = new System.Windows.Forms.ToolTip();
toolTip.SetToolTip(control, tooltip);
}
示例5: setTooltip
//function to display tooltip
public void setTooltip(System.Windows.Forms.Control ctl,string tooltip)
{
System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
ToolTip1.SetToolTip(ctl, tooltip);
}
示例6: 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.ToolTip toolTip;
this.buttonUseCurrentWord = new System.Windows.Forms.Button();
this.buttonUseCurrentDirectory = new System.Windows.Forms.Button();
this.buttonUseProjectDir = new System.Windows.Forms.Button();
this.buttonBrowse = new System.Windows.Forms.Button();
this.buttonReplaceUseCurrentWord = new System.Windows.Forms.Button();
this.buttonReplaceUseCurrentDirectory = new System.Windows.Forms.Button();
this.buttonReplaceUseProjectDir = new System.Windows.Forms.Button();
this.buttonReplaceBrowse = new System.Windows.Forms.Button();
this.comboReplaceWith = new System.Windows.Forms.ComboBox();
this.comboSearchPattern = new FindInFiles.Controls.LinkedComboBox();
this.comboSearchPath = new FindInFiles.Controls.LinkedComboBox();
this.comboExcludeDirectories = new FindInFiles.Controls.LinkedComboBox();
this.comboSearchExtensions = new FindInFiles.Controls.LinkedComboBox();
this.checkMatchCase = new FindInFiles.Controls.LinkedCheckBox();
this.checkUseRegex = new FindInFiles.Controls.LinkedCheckBox();
this.textReplaceSearchPattern = new FindInFiles.Controls.LinkedComboBox();
this.textReplaceSearchPath = new FindInFiles.Controls.LinkedComboBox();
this.textReplaceDirectoryExcludes = new FindInFiles.Controls.LinkedComboBox();
this.textReplaceSearchExtensions = new FindInFiles.Controls.LinkedComboBox();
this.checkReplaceMatchCase = new FindInFiles.Controls.LinkedCheckBox();
this.checkReplaceUseRegex = new FindInFiles.Controls.LinkedCheckBox();
this.tabControl = new System.Windows.Forms.TabControl();
this.findTab = new System.Windows.Forms.TabPage();
this.groupFindOptions = new System.Windows.Forms.GroupBox();
this.labelExcludeDirectories = new System.Windows.Forms.Label();
this.labelFileTypes = new System.Windows.Forms.Label();
this.labelLookIn = new System.Windows.Forms.Label();
this.labelFindWhat = new System.Windows.Forms.Label();
this.replaceTab = new System.Windows.Forms.TabPage();
this.labelReplaceWith = new System.Windows.Forms.Label();
this.groupReplaceOptions = new System.Windows.Forms.GroupBox();
this.labelReplaceExcludeDirectories = new System.Windows.Forms.Label();
this.labelReplaceFileTypes = new System.Windows.Forms.Label();
this.labelReplaceLookIn = new System.Windows.Forms.Label();
this.labelReplaceFindWhat = new System.Windows.Forms.Label();
this.textProgress = new System.Windows.Forms.Label();
this.panelFixedControls = new System.Windows.Forms.Panel();
this.buttonGo = new System.Windows.Forms.Button();
toolTip = new System.Windows.Forms.ToolTip(this.components);
this.tabControl.SuspendLayout();
this.findTab.SuspendLayout();
this.groupFindOptions.SuspendLayout();
this.replaceTab.SuspendLayout();
this.groupReplaceOptions.SuspendLayout();
this.panelFixedControls.SuspendLayout();
this.SuspendLayout();
//
// buttonUseCurrentWord
//
this.buttonUseCurrentWord.Location = new System.Drawing.Point(414, 22);
this.buttonUseCurrentWord.Name = "buttonUseCurrentWord";
this.buttonUseCurrentWord.Size = new System.Drawing.Size(25, 21);
this.buttonUseCurrentWord.TabIndex = 23;
this.buttonUseCurrentWord.TabStop = false;
this.buttonUseCurrentWord.Text = "&W";
toolTip.SetToolTip(this.buttonUseCurrentWord, "Use the current word under the cursor in E");
this.buttonUseCurrentWord.UseVisualStyleBackColor = true;
this.buttonUseCurrentWord.Click += new System.EventHandler(this.UseCurrentWord_Click);
//
// buttonUseCurrentDirectory
//
this.buttonUseCurrentDirectory.Location = new System.Drawing.Point(366, 68);
this.buttonUseCurrentDirectory.Name = "buttonUseCurrentDirectory";
this.buttonUseCurrentDirectory.Size = new System.Drawing.Size(21, 21);
this.buttonUseCurrentDirectory.TabIndex = 20;
this.buttonUseCurrentDirectory.TabStop = false;
this.buttonUseCurrentDirectory.Text = "&D";
toolTip.SetToolTip(this.buttonUseCurrentDirectory, "Use the current file\'s directory");
this.buttonUseCurrentDirectory.UseVisualStyleBackColor = true;
this.buttonUseCurrentDirectory.Click += new System.EventHandler(this.UseCurrentDirectory_Click);
//
// buttonUseProjectDir
//
this.buttonUseProjectDir.Location = new System.Drawing.Point(388, 68);
this.buttonUseProjectDir.Name = "buttonUseProjectDir";
this.buttonUseProjectDir.Size = new System.Drawing.Size(21, 21);
this.buttonUseProjectDir.TabIndex = 22;
this.buttonUseProjectDir.TabStop = false;
this.buttonUseProjectDir.Text = "&P";
toolTip.SetToolTip(this.buttonUseProjectDir, "Use the current project directory");
this.buttonUseProjectDir.UseVisualStyleBackColor = true;
this.buttonUseProjectDir.Click += new System.EventHandler(this.UseProjectDirectory_Click);
//
// buttonBrowse
//
this.buttonBrowse.Location = new System.Drawing.Point(409, 68);
this.buttonBrowse.Name = "buttonBrowse";
this.buttonBrowse.Size = new System.Drawing.Size(30, 21);
this.buttonBrowse.TabIndex = 18;
this.buttonBrowse.Text = "...";
toolTip.SetToolTip(this.buttonBrowse, "Browse for a directory");
this.buttonBrowse.UseVisualStyleBackColor = true;
//.........这里部分代码省略.........
示例7: 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.listBoxProfiles = new System.Windows.Forms.ListBox();
this.buttonReload = new System.Windows.Forms.Button();
this.buttonDelete = new System.Windows.Forms.Button();
this.buttonAbout = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// listBoxProfiles
//
this.listBoxProfiles.FormattingEnabled = true;
this.listBoxProfiles.Location = new System.Drawing.Point(12, 12);
this.listBoxProfiles.Name = "listBoxProfiles";
this.listBoxProfiles.Size = new System.Drawing.Size(282, 134);
this.listBoxProfiles.TabIndex = 1;
this.listBoxProfiles.SelectedIndexChanged += new System.EventHandler(this.ListBoxProfilesSelectedIndexChanged);
//
// buttonReload
//
this.buttonReload.Image = ((System.Drawing.Image)(resources.GetObject("buttonReload.Image")));
this.buttonReload.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonReload.Location = new System.Drawing.Point(12, 152);
this.buttonReload.Name = "buttonReload";
this.buttonReload.Size = new System.Drawing.Size(83, 28);
this.buttonReload.TabIndex = 2;
this.buttonReload.Text = "Reload";
this.buttonReload.UseVisualStyleBackColor = true;
this.buttonReload.Click += new System.EventHandler(this.ButtonReloadClick);
//
// buttonDelete
//
this.buttonDelete.Enabled = false;
this.buttonDelete.Image = ((System.Drawing.Image)(resources.GetObject("buttonDelete.Image")));
this.buttonDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonDelete.Location = new System.Drawing.Point(101, 152);
this.buttonDelete.Name = "buttonDelete";
this.buttonDelete.Size = new System.Drawing.Size(83, 28);
this.buttonDelete.TabIndex = 3;
this.buttonDelete.Text = "Delete";
this.buttonDelete.UseVisualStyleBackColor = true;
this.buttonDelete.Click += new System.EventHandler(this.ButtonDeleteClick);
//
// buttonAbout
//
this.buttonAbout.Image = ((System.Drawing.Image)(resources.GetObject("buttonAbout.Image")));
this.buttonAbout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonAbout.Location = new System.Drawing.Point(234, 152);
this.buttonAbout.Name = "buttonAbout";
this.buttonAbout.Size = new System.Drawing.Size(60, 28);
this.buttonAbout.TabIndex = 4;
this.buttonAbout.Text = "About";
this.buttonAbout.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonAbout.UseVisualStyleBackColor = true;
this.buttonAbout.Click += new System.EventHandler(this.ButtonAboutClick);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(308, 188);
this.Controls.Add(this.buttonAbout);
this.Controls.Add(this.buttonDelete);
this.Controls.Add(this.buttonReload);
this.Controls.Add(this.listBoxProfiles);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "MainForm";
this.Text = "WLAN Profile Cleaner";
this.Load += new System.EventHandler(this.MainFormLoad);
this.ResumeLayout(false);
//
//Tooltips
//
System.Windows.Forms.ToolTip tip = new System.Windows.Forms.ToolTip() ;
tip.SetToolTip(this.buttonAbout, "Show info about this program") ;
tip.SetToolTip(this.buttonDelete, "Delete the selected WLAN profile") ;
tip.SetToolTip(this.buttonReload, "Reload the list with stored WLAN profiles") ;
}
示例8: 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;
System.Windows.Forms.ToolTip toolTip;
this.statusBox = new System.Windows.Forms.ComboBox();
this.commentBox = new System.Windows.Forms.TextBox();
this.revisionsLabel = new System.Windows.Forms.LinkLabel();
this.summaryLabel = new System.Windows.Forms.LinkLabel();
this.skipBox = new System.Windows.Forms.CheckBox();
label1 = new System.Windows.Forms.Label();
toolTip = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(7, 37);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(52, 17);
label1.TabIndex = 1;
label1.Text = "Status:";
//
// statusBox
//
this.statusBox.FormattingEnabled = true;
this.statusBox.Location = new System.Drawing.Point(65, 37);
this.statusBox.Name = "statusBox";
this.statusBox.Size = new System.Drawing.Size(151, 24);
this.statusBox.TabIndex = 2;
toolTip.SetToolTip(this.statusBox, "Issue resolution status");
this.statusBox.TextChanged += new System.EventHandler(this.StatusBox_TextChanged);
//
// commentBox
//
this.commentBox.AcceptsReturn = true;
this.commentBox.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.commentBox.Location = new System.Drawing.Point(10, 67);
this.commentBox.Multiline = true;
this.commentBox.Name = "commentBox";
this.commentBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.commentBox.Size = new System.Drawing.Size(575, 172);
this.commentBox.TabIndex = 4;
toolTip.SetToolTip(this.commentBox, "Closing comment for issue");
this.commentBox.TextChanged += new System.EventHandler(this.CommentBox_TextChanged);
//
// revisionsLabel
//
this.revisionsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.revisionsLabel.AutoEllipsis = true;
this.revisionsLabel.LinkArea = new System.Windows.Forms.LinkArea(0, 0);
this.revisionsLabel.Location = new System.Drawing.Point(236, 37);
this.revisionsLabel.Name = "revisionsLabel";
this.revisionsLabel.Size = new System.Drawing.Size(349, 23);
this.revisionsLabel.TabIndex = 3;
this.revisionsLabel.Text = "Revisions: {0}";
toolTip.SetToolTip(this.revisionsLabel, "Revision numbers mentioned in comment text");
this.revisionsLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RevisionsLabel_LinkClicked);
//
// summaryLabel
//
this.summaryLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.summaryLabel.AutoEllipsis = true;
this.summaryLabel.Location = new System.Drawing.Point(3, 8);
this.summaryLabel.Name = "summaryLabel";
this.summaryLabel.Size = new System.Drawing.Size(582, 17);
this.summaryLabel.TabIndex = 0;
this.summaryLabel.TabStop = true;
this.summaryLabel.Text = "Summary";
this.summaryLabel.UseMnemonic = false;
this.summaryLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Summary_LinkClicked);
//
// skipBox
//
this.skipBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.skipBox.AutoSize = true;
this.skipBox.Location = new System.Drawing.Point(10, 245);
this.skipBox.Name = "skipBox";
this.skipBox.Size = new System.Drawing.Size(179, 21);
this.skipBox.TabIndex = 5;
this.skipBox.Text = "S&kip updating this issue";
this.skipBox.UseVisualStyleBackColor = true;
this.skipBox.CheckedChanged += new System.EventHandler(this.SkipBox_CheckedChanged);
//
// IssueUpdatePage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.skipBox);
this.Controls.Add(this.revisionsLabel);
this.Controls.Add(label1);
this.Controls.Add(this.summaryLabel);
//.........这里部分代码省略.........
示例9: 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.ToolTip toolTip;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NodeLsIntellisenseOptionsControl));
this._saveToDiskDisabledRadioButton = new System.Windows.Forms.RadioButton();
this._saveToDiskEnabledRadioButton = new System.Windows.Forms.RadioButton();
this._mediumIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this._noIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this._fullIntelliSenseRadioButton = new System.Windows.Forms.RadioButton();
this.outerLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.statementCompletionLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this._showCompletionListAfterCharacterTyped = new System.Windows.Forms.CheckBox();
this._onlyTabOrEnterToCommit = new System.Windows.Forms.CheckBox();
this.statementCompletionLabel = new System.Windows.Forms.Label();
this.saveToDiskLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.saveToDiskLabel = new System.Windows.Forms.Label();
this.intelliSenseLevelLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this._analysisLogMax = new System.Windows.Forms.ComboBox();
this._analysisLogMaxLabel = new System.Windows.Forms.Label();
this.intelliSenseLevelLabel = new System.Windows.Forms.Label();
toolTip = new System.Windows.Forms.ToolTip(this.components);
this.outerLayoutPanel.SuspendLayout();
this.statementCompletionLayoutPanel.SuspendLayout();
this.saveToDiskLayoutPanel.SuspendLayout();
this.intelliSenseLevelLayoutPanel.SuspendLayout();
this.SuspendLayout();
//
// _saveToDiskDisabledRadioButton
//
resources.ApplyResources(this._saveToDiskDisabledRadioButton, "_saveToDiskDisabledRadioButton");
this._saveToDiskDisabledRadioButton.Name = "_saveToDiskDisabledRadioButton";
this._saveToDiskDisabledRadioButton.TabStop = true;
toolTip.SetToolTip(this._saveToDiskDisabledRadioButton, resources.GetString("_saveToDiskDisabledRadioButton.ToolTip"));
this._saveToDiskDisabledRadioButton.UseVisualStyleBackColor = true;
//
// _saveToDiskEnabledRadioButton
//
resources.ApplyResources(this._saveToDiskEnabledRadioButton, "_saveToDiskEnabledRadioButton");
this._saveToDiskEnabledRadioButton.Name = "_saveToDiskEnabledRadioButton";
this._saveToDiskEnabledRadioButton.TabStop = true;
toolTip.SetToolTip(this._saveToDiskEnabledRadioButton, resources.GetString("_saveToDiskEnabledRadioButton.ToolTip"));
this._saveToDiskEnabledRadioButton.UseVisualStyleBackColor = true;
//
// _mediumIntelliSenseRadioButton
//
resources.ApplyResources(this._mediumIntelliSenseRadioButton, "_mediumIntelliSenseRadioButton");
this._mediumIntelliSenseRadioButton.Name = "_mediumIntelliSenseRadioButton";
this._mediumIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._mediumIntelliSenseRadioButton, resources.GetString("_mediumIntelliSenseRadioButton.ToolTip"));
this._mediumIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// _noIntelliSenseRadioButton
//
resources.ApplyResources(this._noIntelliSenseRadioButton, "_noIntelliSenseRadioButton");
this._noIntelliSenseRadioButton.Name = "_noIntelliSenseRadioButton";
this._noIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._noIntelliSenseRadioButton, resources.GetString("_noIntelliSenseRadioButton.ToolTip"));
this._noIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// _fullIntelliSenseRadioButton
//
resources.ApplyResources(this._fullIntelliSenseRadioButton, "_fullIntelliSenseRadioButton");
this._fullIntelliSenseRadioButton.Name = "_fullIntelliSenseRadioButton";
this._fullIntelliSenseRadioButton.TabStop = true;
toolTip.SetToolTip(this._fullIntelliSenseRadioButton, resources.GetString("_fullIntelliSenseRadioButton.ToolTip"));
this._fullIntelliSenseRadioButton.UseVisualStyleBackColor = true;
//
// outerLayoutPanel
//
resources.ApplyResources(this.outerLayoutPanel, "outerLayoutPanel");
this.outerLayoutPanel.Controls.Add(this.statementCompletionLayoutPanel, 0, 5);
this.outerLayoutPanel.Controls.Add(this.statementCompletionLabel, 0, 4);
this.outerLayoutPanel.Controls.Add(this.saveToDiskLayoutPanel, 0, 3);
this.outerLayoutPanel.Controls.Add(this.saveToDiskLabel, 0, 2);
this.outerLayoutPanel.Controls.Add(this.intelliSenseLevelLayoutPanel, 0, 1);
this.outerLayoutPanel.Controls.Add(this.intelliSenseLevelLabel, 0, 0);
this.outerLayoutPanel.Name = "outerLayoutPanel";
//
// statementCompletionLayoutPanel
//
resources.ApplyResources(this.statementCompletionLayoutPanel, "statementCompletionLayoutPanel");
this.statementCompletionLayoutPanel.Controls.Add(this._showCompletionListAfterCharacterTyped, 0, 1);
this.statementCompletionLayoutPanel.Controls.Add(this._onlyTabOrEnterToCommit, 0, 0);
this.statementCompletionLayoutPanel.Name = "statementCompletionLayoutPanel";
//
// _showCompletionListAfterCharacterTyped
//
resources.ApplyResources(this._showCompletionListAfterCharacterTyped, "_showCompletionListAfterCharacterTyped");
this._showCompletionListAfterCharacterTyped.Name = "_showCompletionListAfterCharacterTyped";
this._showCompletionListAfterCharacterTyped.UseVisualStyleBackColor = true;
//
// _onlyTabOrEnterToCommit
//
resources.ApplyResources(this._onlyTabOrEnterToCommit, "_onlyTabOrEnterToCommit");
this._onlyTabOrEnterToCommit.Name = "_onlyTabOrEnterToCommit";
this._onlyTabOrEnterToCommit.UseVisualStyleBackColor = true;
//.........这里部分代码省略.........
开发者ID:CforED,项目名称:Node.js-Tools-for-Visual-Studio,代码行数:101,代码来源:NodeLsIntellisenseOptionsControl.Designer.cs
示例10: 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;
System.Windows.Forms.ToolTip _toolTip;
System.Windows.Forms.Button _resetButton;
this._commitTemplate = new System.Windows.Forms.ComboBox();
this._okButton = new System.Windows.Forms.Button();
this._cancelButton = new System.Windows.Forms.Button();
this._providers = new System.Windows.Forms.ComboBox();
this._configureProviderButton = new System.Windows.Forms.Button();
this._handleOnCommitFinished = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
_toolTip = new System.Windows.Forms.ToolTip(this.components);
_resetButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(9, 9);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(83, 13);
label1.TabIndex = 0;
label1.Text = "&Select provider:";
//
// _resetButton
//
_resetButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
_resetButton.Location = new System.Drawing.Point(12, 175);
_resetButton.Name = "_resetButton";
_resetButton.Size = new System.Drawing.Size(128, 30);
_resetButton.TabIndex = 6;
_resetButton.Text = "Reset Settings";
_toolTip.SetToolTip(_resetButton, "Resets all settings to the defaults");
_resetButton.UseVisualStyleBackColor = true;
_resetButton.Click += new System.EventHandler(this.ResetSettings_Click);
//
// _commitTemplate
//
this._commitTemplate.FormattingEnabled = true;
this._commitTemplate.Items.AddRange(new object[] {
"(%TYPETEXT1% %TYPE% #%BUGID%: %SUMMARY%)",
"%TYPETEXT2% %TYPE% #%BUGID%: %SUMMARY%",
"Fixed issue #%BUGID%: %SUMMARY%"});
this._commitTemplate.Location = new System.Drawing.Point(12, 100);
this._commitTemplate.Name = "_commitTemplate";
this._commitTemplate.Size = new System.Drawing.Size(416, 21);
this._commitTemplate.TabIndex = 12;
_toolTip.SetToolTip(this._commitTemplate, "Commit text template. Use %BUGID% for one bug/ticket id, %SUMMARY, %TYPE% bug/tic" +
"ket type; %TYPETEXT1% for Fixes/Resolves and %TYPETEXT2% for Rixed/Resolved base" +
"d on bug/ticket type");
//
// _okButton
//
this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this._okButton.Enabled = false;
this._okButton.Location = new System.Drawing.Point(272, 175);
this._okButton.Name = "_okButton";
this._okButton.Size = new System.Drawing.Size(75, 30);
this._okButton.TabIndex = 3;
this._okButton.Text = "OK";
this._okButton.UseVisualStyleBackColor = true;
//
// _cancelButton
//
this._cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this._cancelButton.Location = new System.Drawing.Point(353, 175);
this._cancelButton.Name = "_cancelButton";
this._cancelButton.Size = new System.Drawing.Size(75, 30);
this._cancelButton.TabIndex = 4;
this._cancelButton.Text = "Cancel";
this._cancelButton.UseVisualStyleBackColor = true;
//
// _providers
//
this._providers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this._providers.FormattingEnabled = true;
this._providers.Location = new System.Drawing.Point(12, 26);
this._providers.Name = "_providers";
this._providers.Size = new System.Drawing.Size(277, 21);
this._providers.TabIndex = 7;
this._providers.SelectedIndexChanged += new System.EventHandler(this._providers_SelectedIndexChanged);
//
// _configureProviderButton
//
this._configureProviderButton.Enabled = false;
this._configureProviderButton.Location = new System.Drawing.Point(295, 26);
this._configureProviderButton.Name = "_configureProviderButton";
this._configureProviderButton.Size = new System.Drawing.Size(133, 21);
this._configureProviderButton.TabIndex = 8;
this._configureProviderButton.Text = "Configure provider";
this._configureProviderButton.UseVisualStyleBackColor = true;
//.........这里部分代码省略.........
示例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.components = new System.ComponentModel.Container();
System.Windows.Forms.ToolTip toolTip;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ModelGUI));
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title2 = new System.Windows.Forms.DataVisualization.Charting.Title();
this.photoButton = new System.Windows.Forms.Button();
this.SaveButton = new System.Windows.Forms.Button();
this.ResetButton = new System.Windows.Forms.Button();
this.setupButton = new System.Windows.Forms.Button();
this.goOnceButton = new System.Windows.Forms.Button();
this.trackBar_Speed = new System.Windows.Forms.TrackBar();
this.trackBar_Agents = new System.Windows.Forms.TrackBar();
this.goButton = new System.Windows.Forms.CheckBox();
this.trackBar_PEC = new System.Windows.Forms.TrackBar();
this.textBox_Speed = new System.Windows.Forms.TextBox();
this.groupBox_Speed = new System.Windows.Forms.GroupBox();
this.groupBox_Agents = new System.Windows.Forms.GroupBox();
this.textBox_Agents = new System.Windows.Forms.TextBox();
this.timer = new System.Windows.Forms.Timer(this.components);
this.savePictureDialog = new System.Windows.Forms.SaveFileDialog();
this.PollutionChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.GraphTabs = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.pictureBox = new System.Windows.Forms.PictureBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.MovesChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.listView_AgentData = new System.Windows.Forms.ListView();
this.columnHeader_Agent = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader_Income = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader_Pollution = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader_Grow = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader_Moves = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.PECBox = new System.Windows.Forms.GroupBox();
this.textBox_PEC = new System.Windows.Forms.TextBox();
this.groupBox_Buttons = new System.Windows.Forms.GroupBox();
this.IncomeBox = new System.Windows.Forms.GroupBox();
this.textBox_Income = new System.Windows.Forms.TextBox();
this.trackBar_Income = new System.Windows.Forms.TrackBar();
toolTip = new System.Windows.Forms.ToolTip(this.components);
((System.ComponentModel.ISupportInitialize)(this.trackBar_Speed)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar_Agents)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trackBar_PEC)).BeginInit();
this.groupBox_Speed.SuspendLayout();
this.groupBox_Agents.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PollutionChart)).BeginInit();
this.GraphTabs.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.MovesChart)).BeginInit();
this.tabPage4.SuspendLayout();
this.PECBox.SuspendLayout();
this.groupBox_Buttons.SuspendLayout();
this.IncomeBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.trackBar_Income)).BeginInit();
this.SuspendLayout();
//
// photoButton
//
this.photoButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.photoButton.Enabled = false;
this.photoButton.Image = ((System.Drawing.Image)(resources.GetObject("photoButton.Image")));
this.photoButton.Location = new System.Drawing.Point(123, 19);
this.photoButton.Name = "photoButton";
this.photoButton.Size = new System.Drawing.Size(50, 50);
this.photoButton.TabIndex = 10;
toolTip.SetToolTip(this.photoButton, "save an image of the current screen");
this.photoButton.UseVisualStyleBackColor = true;
this.photoButton.Click += new System.EventHandler(this.photoButton_Click);
//
// SaveButton
//
this.SaveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.SaveButton.Enabled = false;
this.SaveButton.Image = ((System.Drawing.Image)(resources.GetObject("SaveButton.Image")));
this.SaveButton.Location = new System.Drawing.Point(67, 20);
this.SaveButton.Name = "SaveButton";
this.SaveButton.Size = new System.Drawing.Size(50, 50);
this.SaveButton.TabIndex = 15;
toolTip.SetToolTip(this.SaveButton, "save data on current screen to CSV File");
this.SaveButton.UseVisualStyleBackColor = true;
this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
//
// ResetButton
//
this.ResetButton.BackColor = System.Drawing.SystemColors.Control;
//.........这里部分代码省略.........
示例12: InitializeComponent
//.........这里部分代码省略.........
label2.Size = new System.Drawing.Size(87, 13);
label2.TabIndex = 2;
label2.Text = "Test User Token";
//
// label3
//
label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(3, 83);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(99, 13);
label3.TabIndex = 4;
label3.Text = "Developer Account";
//
// label4
//
label4.Anchor = System.Windows.Forms.AnchorStyles.Left;
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(3, 119);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(123, 13);
label4.TabIndex = 6;
label4.Text = "Developer OAuth Secret";
//
// textBox4
//
textBox4.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "OAuthSecret", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
textBox4.Location = new System.Drawing.Point(158, 116);
textBox4.Name = "textBox4";
textBox4.Size = new System.Drawing.Size(340, 20);
textBox4.TabIndex = 7;
textBox4.Text = settings1.OAuthSecret;
toolTip1.SetToolTip(textBox4, "For OAuth testing, specify the \"OAuth Secret\" that was assigned to the developer " +
"account.");
//
// textBox3
//
textBox3.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "ConsumerKey", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
textBox3.Location = new System.Drawing.Point(158, 80);
textBox3.Name = "textBox3";
textBox3.Size = new System.Drawing.Size(340, 20);
textBox3.TabIndex = 5;
textBox3.Text = settings1.ConsumerKey;
toolTip1.SetToolTip(textBox3, "For OAuth testing, specify the developer account name that has been granted acces" +
"s to use OAuth.");
//
// textBox2
//
textBox2.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "UserToken", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
textBox2.Location = new System.Drawing.Point(158, 44);
textBox2.Name = "textBox2";
textBox2.Size = new System.Drawing.Size(340, 20);
textBox2.TabIndex = 3;
textBox2.Text = settings1.UserToken;
toolTip1.SetToolTip(textBox2, "Specify the \'Authentication Token\' from the \"My Account\" => \"Freshbooks API\" page" +
" for the administrative user on the test account.");
//
// textBox1
//
textBox1.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "FreshbooksAccountName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
textBox1.Location = new System.Drawing.Point(158, 8);
textBox1.Name = "textBox1";