本文整理汇总了C#中System.Windows.Forms.ToolStripButton类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.ToolStripButton类的具体用法?C# System.Windows.Forms.ToolStripButton怎么用?C# System.Windows.Forms.ToolStripButton使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.ToolStripButton类属于命名空间,在下文中一共展示了System.Windows.Forms.ToolStripButton类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido del método con el editor de código.
/// </summary>
protected override void InitializeComponent() {
base.InitializeComponent();
this.components = new System.ComponentModel.Container();
this.btnGestion = new System.Windows.Forms.ToolStripButton();
//
// btnGestion
//
this.toolStrip1.SuspendLayout();
this.toolStrip1.Items.Add(btnGestion);
this.btnGestion.Image = global::cuAbmCuenta.Properties.Resources.gestionar_tb;
this.btnGestion.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnGestion.Name = "btnGestion";
this.btnGestion.Size = new System.Drawing.Size(23, 22);
this.btnGestion.Text = "Gestionar";
this.btnGestion.Tag = "BOTON.GESTION.GESTIONAR";
this.btnGestion.ToolTipText = "Gestionar (Enter)";
this.btnGestion.Click += new System.EventHandler(this.btnGestion_Click);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
//
// dgvListado
//
this.dgvListado.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.dgvListado_RowPrePaint);
this.dgvListado.AllowUserToResizeColumns = true;
}
示例2: InitializeComponent
public void InitializeComponent()
{
this.SuspendLayout();
_enableVariableLayers = new System.Windows.Forms.ToolStripButton();
_enableVariableLayers.Name = "_enableVariableLayers";
_enableVariableLayers.Image = Properties.Resources.hide;
_enableVariableLayers.CheckOnClick = true;
_enableVariableLayers.CheckedChanged += OnCheckedChanged;
_interval = new System.Windows.Forms.ToolStripTextBox();
_interval.Text = "500";
_interval.Enabled = false;
_interval.TextChanged += OnTextChanged;
_timer = new System.Timers.Timer();
_timer.Interval = 500;
_timer.Elapsed += OnTouchTimer;
this.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
{ _enableVariableLayers, _interval });
this.ResumeLayout();
this.PerformLayout();
this.Visible = true;
}
示例3: FftToolStrip
public FftToolStrip(GraphControl gc, GraphFFT gf)
{
graphControl = gc;
oldGraph = gf;
this.fft = new System.Windows.Forms.ToolStripButton();
this.toolStrip.Dock = System.Windows.Forms.DockStyle.None;
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fft});
this.toolStrip.Location = new System.Drawing.Point(0, 0);
this.toolStrip.Name = "toolStrip2";
this.toolStrip.Size = new System.Drawing.Size(497, 25);
this.toolStrip.TabIndex = 1;
this.toolStrip.Text = "toolStrip2";
//
// fft
//
this.fft.CheckOnClick = true;
this.fft.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.fft.Image = null;// ((System.Drawing.Image)(resources.GetObject("fft.Image")));
this.fft.ImageTransparentColor = System.Drawing.Color.Magenta;
this.fft.Name = "fft";
this.fft.Size = new System.Drawing.Size(30, 22);
this.fft.Text = "FFT";
this.fft.CheckStateChanged += new System.EventHandler(this.fft_CheckStateChanged);
}
示例4: 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(frmGrid));
this.dgvResults = new System.Windows.Forms.DataGridView();
this.tbrMain = new System.Windows.Forms.ToolStrip();
this.tbrMainClose = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.dgvResults)).BeginInit();
this.tbrMain.SuspendLayout();
this.SuspendLayout();
//
// dgvResults
//
this.dgvResults.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvResults.Location = new System.Drawing.Point(5, 45);
this.dgvResults.Name = "dgvResults";
this.dgvResults.RowTemplate.Height = 24;
this.dgvResults.Size = new System.Drawing.Size(998, 388);
this.dgvResults.TabIndex = 0;
//
// tbrMain
//
this.tbrMain.BackColor = System.Drawing.Color.Silver;
this.tbrMain.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.tbrMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tbrMainClose});
this.tbrMain.Location = new System.Drawing.Point(0, 0);
this.tbrMain.Name = "tbrMain";
this.tbrMain.Size = new System.Drawing.Size(1013, 38);
this.tbrMain.TabIndex = 45;
this.tbrMain.Text = "toolStrip1";
//
// tbrMainClose
//
this.tbrMainClose.Image = ((System.Drawing.Image)(resources.GetObject("tbrMainClose.Image")));
this.tbrMainClose.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbrMainClose.Name = "tbrMainClose";
this.tbrMainClose.Size = new System.Drawing.Size(40, 35);
this.tbrMainClose.Text = "Close";
this.tbrMainClose.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tbrMainClose.Click += new System.EventHandler(this.tbrMainClose_Click);
//
// frmGrid
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1013, 443);
this.Controls.Add(this.tbrMain);
this.Controls.Add(this.dgvResults);
this.MinimizeBox = false;
this.Name = "frmGrid";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Display results grid";
((System.ComponentModel.ISupportInitialize)(this.dgvResults)).EndInit();
this.tbrMain.ResumeLayout(false);
this.tbrMain.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例5: 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(frmBankDoc));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsPO = new System.Windows.Forms.ToolStripButton();
this.dgvSelectBankDoc = new System.Windows.Forms.DataGridView();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvSelectBankDoc)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsPO});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(420, 39);
this.toolStrip1.TabIndex = 10;
this.toolStrip1.Text = "toolStrip1";
//
// tsPO
//
this.tsPO.Image = ((System.Drawing.Image)(resources.GetObject("tsPO.Image")));
this.tsPO.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsPO.Name = "tsPO";
this.tsPO.Size = new System.Drawing.Size(99, 36);
this.tsPO.Text = "Enter-เลือก";
//
// dgvSelectBankDoc
//
this.dgvSelectBankDoc.AllowUserToAddRows = false;
this.dgvSelectBankDoc.AllowUserToDeleteRows = false;
this.dgvSelectBankDoc.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvSelectBankDoc.Location = new System.Drawing.Point(0, 39);
this.dgvSelectBankDoc.Name = "dgvSelectBankDoc";
this.dgvSelectBankDoc.ReadOnly = true;
this.dgvSelectBankDoc.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvSelectBankDoc.Size = new System.Drawing.Size(420, 235);
this.dgvSelectBankDoc.TabIndex = 11;
//
// frmBankDoc
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(420, 271);
this.Controls.Add(this.dgvSelectBankDoc);
this.Controls.Add(this.toolStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmBankDoc";
this.Text = "frmBankDoc";
this.Load += new System.EventHandler(this.frmBankDoc_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvSelectBankDoc)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
示例6: InitializeComponent
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources =
new System.ComponentModel.ComponentResourceManager(typeof(UltraVNCSC));
this.tsMain = new System.Windows.Forms.ToolStrip();
this.Load += new System.EventHandler(this.UltraVNCSC_Load);
this.btnDisconnect = new System.Windows.Forms.ToolStripButton();
this.btnDisconnect.Click += new System.EventHandler(this.btnDisconnect_Click);
this.pnlContainer = new System.Windows.Forms.Panel();
this.tsMain.SuspendLayout();
this.SuspendLayout();
//
//tsMain
//
this.tsMain.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.tsMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnDisconnect });
this.tsMain.Location = new System.Drawing.Point(0, 0);
this.tsMain.Name = "tsMain";
this.tsMain.Size = new System.Drawing.Size(446, 25);
this.tsMain.TabIndex = 0;
this.tsMain.Text = "ToolStrip1";
//
//btnDisconnect
//
this.btnDisconnect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnDisconnect.Image = (System.Drawing.Image)(resources.GetObject("btnDisconnect.Image"));
this.btnDisconnect.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnDisconnect.Name = "btnDisconnect";
this.btnDisconnect.Size = new System.Drawing.Size(63, 22);
this.btnDisconnect.Text = "Disconnect";
//
//pnlContainer
//
this.pnlContainer.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.pnlContainer.Location = new System.Drawing.Point(0, 27);
this.pnlContainer.Name = "pnlContainer";
this.pnlContainer.Size = new System.Drawing.Size(446, 335);
this.pnlContainer.TabIndex = 1;
//
//UltraVNCSC
//
this.ClientSize = new System.Drawing.Size(446, 362);
this.Controls.Add(this.pnlContainer);
this.Controls.Add(this.tsMain);
this.Icon = global::My.Resources.Resources.UVNC_SC_Icon;
this.Name = "UltraVNCSC";
this.TabText = "UltraVNC SC";
this.Text = "UltraVNC SC";
this.tsMain.ResumeLayout(false);
this.tsMain.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例7: 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(NetworkInterfaceSelector));
this.MyToolStrip = new System.Windows.Forms.ToolStrip();
this.ScanButton = new System.Windows.Forms.ToolStripButton();
this.NetworkInterfaceDropDown = new System.Windows.Forms.ToolStripDropDownButton();
this.MyToolStrip.SuspendLayout();
this.SuspendLayout();
//
// MyToolStrip
//
this.MyToolStrip.Dock = System.Windows.Forms.DockStyle.Fill;
this.MyToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.MyToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ScanButton,
this.NetworkInterfaceDropDown});
this.MyToolStrip.Location = new System.Drawing.Point(0, 0);
this.MyToolStrip.Name = "MyToolStrip";
this.MyToolStrip.Size = new System.Drawing.Size(212, 25);
this.MyToolStrip.TabIndex = 0;
this.MyToolStrip.Text = "toolStrip1";
//
// ScanButton
//
this.ScanButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.ScanButton.Image = global::inSSIDer.Properties.Resources.wifiPlay;
this.ScanButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.ScanButton.Name = "ScanButton";
this.ScanButton.Size = new System.Drawing.Size(51, 22);
this.ScanButton.Text = "Start";
this.ScanButton.Click += new System.EventHandler(this.ScanButton_Click);
//
// NetworkInterfaceDropDown
//
this.NetworkInterfaceDropDown.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.NetworkInterfaceDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.NetworkInterfaceDropDown.Image = ((System.Drawing.Image)(resources.GetObject("NetworkInterfaceDropDown.Image")));
this.NetworkInterfaceDropDown.ImageTransparentColor = System.Drawing.Color.Magenta;
this.NetworkInterfaceDropDown.Name = "NetworkInterfaceDropDown";
this.NetworkInterfaceDropDown.Size = new System.Drawing.Size(127, 22);
this.NetworkInterfaceDropDown.Text = "Select Wi-Fi Adapter";
this.NetworkInterfaceDropDown.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.NetworkInterfaceDropDown_DropDownItemClicked);
//
// NetworkInterfaceSelector
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.Controls.Add(this.MyToolStrip);
this.Name = "NetworkInterfaceSelector";
this.Size = new System.Drawing.Size(212, 25);
this.MyToolStrip.ResumeLayout(false);
this.MyToolStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例8: IpcWebWindowFunctions
public IpcWebWindowFunctions(string ipcEvent
, IpcWebWindow window
, System.Windows.Forms.ToolStripButton tsbMonitor
, System.Windows.Forms.ToolStripStatusLabel tsslStatus)
{
_ipcEvent = ipcEvent;
_window = window;
_tsbMonitor = tsbMonitor;
_browser = _window.WebBrowser1;
_tsslStatus = tsslStatus;
}
示例9: IpcWindowFunctions
public IpcWindowFunctions(string ipcEvent
, IpcWindow window
, System.Windows.Forms.ToolStripButton tsbMonitor
, System.Windows.Forms.DataGridView dgvMonitor
, System.Windows.Forms.ToolStripStatusLabel tsslStatus)
{
_ipcEvent = ipcEvent;
_window = window;
_tsbMonitor = tsbMonitor;
_dgvMonitor = dgvMonitor;
_tsslStatus = tsslStatus;
}
示例10: InitializeComponent
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido del método con el editor de código.
/// </summary>
protected override void InitializeComponent() {
base.InitializeComponent();
this.components = new System.ComponentModel.Container();
this.btnGestion = new System.Windows.Forms.ToolStripButton();
this.btnCartas = new System.Windows.Forms.ToolStripButton();
this.btnListado = new System.Windows.Forms.ToolStripButton();
//
// btnGestion
//
this.toolStrip1.SuspendLayout();
this.toolStrip1.Items.Add(btnGestion);
this.btnGestion.Image = global::cuListaGestion.Properties.Resources.masiva;
this.btnGestion.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnGestion.Name = "btnGestion";
this.btnGestion.Size = new System.Drawing.Size(23, 22);
this.btnGestion.Text = "Gestionar";
this.btnGestion.ToolTipText = "Gestionar (F10)";
this.btnGestion.Click += new System.EventHandler(this.btnGestion_Click);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
//
// btnCartas
//
this.toolStrip1.SuspendLayout();
this.toolStrip1.Items.Add(btnCartas);
this.btnCartas.Image = global::cuListaGestion.Properties.Resources.param;
this.btnCartas.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnCartas.Name = "btnCartas";
this.btnCartas.Size = new System.Drawing.Size(23, 22);
this.btnCartas.Text = "Postal/Terreno";
this.btnCartas.ToolTipText = "Generar Documentos Postal/Terreno (F11)";
this.btnCartas.Click += new System.EventHandler(this.btnCartas_Click);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
//
// btnListado
//
this.toolStrip1.SuspendLayout();
this.toolStrip1.Items.Add(btnListado);
this.btnListado.Image = global::cuListaGestion.Properties.Resources.param;
this.btnListado.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnListado.Name = "btnListado";
this.btnListado.Size = new System.Drawing.Size(23, 22);
this.btnListado.Text = "&Generar Listado";
this.btnListado.ToolTipText = "Generar Listado de Gestiones de la Lista (F12)";
this.btnListado.Click += new System.EventHandler(this.btnListado_Click);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
}
示例11: MapEditor
public MapEditor(MapFile file)
: base(file)
{
map = file;
this.tileset = map.TilesetFile[map.TilesetID];
mapPanel = new MapPanel(map.Layers, tileset);
mapPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.Controls.Add(mapPanel);
this.KeyPreview = true;
this.KeyDown += new System.Windows.Forms.KeyEventHandler(MapEditor_KeyDown);
this.mapPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(mapPanel_MouseDown);
this.mapPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(mapPanel_MouseMove);
tilePanel = new TilePanel(tileset);
tilePanel.TileSelected += new EventHandler<TilePanel.TileSelectedArgs>(tilePanel_TileSelected);
tilePanel.Dock = System.Windows.Forms.DockStyle.Fill;
toolstrip = new System.Windows.Forms.ToolStrip();
toolstrip.Dock = System.Windows.Forms.DockStyle.Top;
toolstrip.Stretch = true;
toolstrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
buttonSelected = new System.Windows.Forms.ToolStripButton();
buttonSelected.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.SizeToFit;
buttonSelected.AutoSize = true;
buttonSelected.Image = tileset[0];
buttonSelected.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
toolstrip.Items.Add(buttonSelected);
toolstrip.Items.Add(new System.Windows.Forms.ToolStripSeparator());
buttonLayers = new List<System.Windows.Forms.ToolStripButton>();
for (int i = 0; i < this.map.Layers.Count; i++)
{
var laybtn = new System.Windows.Forms.ToolStripButton();
laybtn.Text = string.Format("{0}", i + 1);
laybtn.Tag = i;
laybtn.Click += new EventHandler(laybtn_Click);
if (this.map.Layers[i].Type == MapLayerType.HalfBlockShadow)
{
laybtn.Text = "阴影";
}
toolstrip.Items.Add(laybtn);
buttonLayers.Add(laybtn);
}
toolboxPanel = new System.Windows.Forms.Panel();
this.toolboxPanel.Controls.Add(tilePanel);
this.toolboxPanel.Controls.Add(toolstrip);
}
示例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.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(640, 25);
this.toolStrip1.TabIndex = 1;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Black;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(50, 22);
this.toolStripButton1.Text = "Refresh";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// DisplayView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(640, 460);
this.Controls.Add(this.toolStrip1);
this.Name = "DisplayView";
this.Text = "Display View";
this.Load += new System.EventHandler(this.DisplayView_Load);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.DisplayForm_Paint);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例13: InitializeComponent
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido del método con el editor de código.
/// </summary>
protected override void InitializeComponent() {
base.InitializeComponent();
this.components = new System.ComponentModel.Container();
this.btnRun = new System.Windows.Forms.ToolStripButton();
//
// btnRun
//
this.toolStrip1.SuspendLayout();
//this.toolStrip1.Items.Add(btnRun);
this.toolStrip1.Items.Insert(0,btnRun);
this.btnRun.Image = global::cuGenerarJobs.Properties.Resources.clock_play;
this.btnRun.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnRun.Name = "btnRun";
this.btnRun.Size = new System.Drawing.Size(23, 22);
this.btnRun.Text = "Ejecutar";
this.btnRun.ToolTipText = "Ejecutar (F10)";
this.btnRun.Click += new System.EventHandler(this.btnRun_Click);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
}
示例14: InitializeComponent
/// <summary>
/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
/// le contenu de cette méthode avec l'éditeur de code.
/// </summary>
private void InitializeComponent()
{
this.listViewResults = new System.Windows.Forms.ListView();
this.columnHeaderTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeaderLineNumber = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeaderLineText = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.label_Statistics = new System.Windows.Forms.Label();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.textBoxSearch = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
this.toolStripComboBox_Scope = new System.Windows.Forms.ToolStripComboBox();
this.toolStripDropDownButton_Options = new System.Windows.Forms.ToolStripDropDownButton();
this.toolStripMenuItem_RegExp = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem_MatchCase = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem_WholeWord = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem_WordStart = new System.Windows.Forms.ToolStripMenuItem();
this.buttonSearch = new System.Windows.Forms.ToolStripButton();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// listViewResults
//
this.listViewResults.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.listViewResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeaderTitle,
this.columnHeaderLineNumber,
this.columnHeaderLineText});
this.listViewResults.FullRowSelect = true;
this.listViewResults.GridLines = true;
this.listViewResults.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listViewResults.Location = new System.Drawing.Point(3, 28);
this.listViewResults.MultiSelect = false;
this.listViewResults.Name = "listViewResults";
this.listViewResults.Size = new System.Drawing.Size(530, 147);
this.listViewResults.TabIndex = 5;
this.listViewResults.UseCompatibleStateImageBehavior = false;
this.listViewResults.View = System.Windows.Forms.View.Details;
//
// columnHeaderTitle
//
this.columnHeaderTitle.Text = "Script";
this.columnHeaderTitle.Width = 147;
//
// columnHeaderLineNumber
//
this.columnHeaderLineNumber.Text = "Line #";
this.columnHeaderLineNumber.Width = 73;
//
// columnHeaderLineText
//
this.columnHeaderLineText.Text = "Text";
this.columnHeaderLineText.Width = 278;
//
// label_Statistics
//
this.label_Statistics.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label_Statistics.AutoSize = true;
this.label_Statistics.Location = new System.Drawing.Point(3, 178);
this.label_Statistics.Name = "label_Statistics";
this.label_Statistics.Size = new System.Drawing.Size(0, 13);
this.label_Statistics.TabIndex = 10;
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(33, 22);
this.toolStripLabel1.Text = "Find:";
//
// textBoxSearch
//
this.textBoxSearch.Name = "textBoxSearch";
this.textBoxSearch.Size = new System.Drawing.Size(100, 25);
this.textBoxSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox_SearchString_KeyDown);
//
// toolStripLabel3
//
this.toolStripLabel3.Margin = new System.Windows.Forms.Padding(16, 1, 0, 2);
this.toolStripLabel3.Name = "toolStripLabel3";
this.toolStripLabel3.Size = new System.Drawing.Size(20, 22);
this.toolStripLabel3.Text = "In:";
//
// toolStripComboBox_Scope
//
this.toolStripComboBox_Scope.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.toolStripComboBox_Scope.Items.AddRange(new object[] {
"Open Scripts",
"All Scripts"});
this.toolStripComboBox_Scope.Name = "toolStripComboBox_Scope";
this.toolStripComboBox_Scope.Size = new System.Drawing.Size(100, 25);
//
// toolStripDropDownButton_Options
//
this.toolStripDropDownButton_Options.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
//.........这里部分代码省略.........
示例15: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
this.designPresenter = new Dataweb.NShape.WinFormsUI.DesignPresenter();
this.designController = new Dataweb.NShape.Controllers.DesignController();
this.toolStrip2 = new System.Windows.Forms.ToolStrip();
this.designsComboBox = new System.Windows.Forms.ToolStripComboBox();
this.activateButton = new System.Windows.Forms.ToolStripButton();
this.designsSeparator = new System.Windows.Forms.ToolStripSeparator();
this.newDesignButton = new System.Windows.Forms.ToolStripButton();
this.deleteDesignButton = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.createStyleButton = new System.Windows.Forms.ToolStripButton();
this.deleteStyleButton = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.closeButton = new System.Windows.Forms.Button();
this.toolStripContainer1.ContentPanel.SuspendLayout();
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
this.toolStripContainer1.SuspendLayout();
this.toolStrip2.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// toolStripContainer1
//
//
// toolStripContainer1.ContentPanel
//
this.toolStripContainer1.ContentPanel.Controls.Add(this.designPresenter);
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(661, 372);
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
this.toolStripContainer1.Name = "toolStripContainer1";
this.toolStripContainer1.Size = new System.Drawing.Size(661, 397);
this.toolStripContainer1.TabIndex = 7;
this.toolStripContainer1.Text = "toolStripContainer1";
//
// toolStripContainer1.TopToolStripPanel
//
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip2);
//
// designPresenter
//
this.designPresenter.DesignController = this.designController;
this.designPresenter.Dock = System.Windows.Forms.DockStyle.Fill;
this.designPresenter.FocusBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(220)))));
this.designPresenter.FocusedItemColor = System.Drawing.Color.Beige;
this.designPresenter.HighlightedItemColor = System.Drawing.SystemColors.ControlLightLight;
this.designPresenter.HighlightItems = true;
this.designPresenter.InactiveItemBackgroundColor = System.Drawing.SystemColors.Control;
this.designPresenter.InactiveItemBorderColor = System.Drawing.SystemColors.Window;
this.designPresenter.InactiveItemTextColor = System.Drawing.SystemColors.ControlDarkDark;
this.designPresenter.Location = new System.Drawing.Point(0, 0);
this.designPresenter.Name = "designPresenter";
this.designPresenter.SelectedDesign = null;
this.designPresenter.SelectedItemColor = System.Drawing.SystemColors.Window;
this.designPresenter.SelectedItemTextColor = System.Drawing.SystemColors.ControlText;
this.designPresenter.SelectedStyleCategory = Dataweb.NShape.StyleCategory.CapStyle;
this.designPresenter.Size = new System.Drawing.Size(661, 372);
this.designPresenter.TabIndex = 0;
//
// designController
//
this.designController.Project = null;
//
// toolStrip2
//
this.toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.designsComboBox,
this.activateButton,
this.designsSeparator,
this.newDesignButton,
this.deleteDesignButton,
this.toolStripSeparator1,
this.createStyleButton,
this.deleteStyleButton});
this.toolStrip2.Location = new System.Drawing.Point(3, 0);
this.toolStrip2.Name = "toolStrip2";
this.toolStrip2.Size = new System.Drawing.Size(544, 25);
this.toolStrip2.TabIndex = 1;
//
// designsComboBox
//
this.designsComboBox.Name = "designsComboBox";
this.designsComboBox.Size = new System.Drawing.Size(121, 25);
this.designsComboBox.SelectedIndexChanged += new System.EventHandler(this.designsComboBox_SelectedIndexChanged);
//
// activateButton
//
this.activateButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.activateButton.Image = global::Dataweb.NShape.WinFormsUI.Properties.Resources.ActivateDesign;
this.activateButton.ImageTransparentColor = System.Drawing.Color.Fuchsia;
this.activateButton.Name = "activateButton";
this.activateButton.Size = new System.Drawing.Size(23, 22);
this.activateButton.Text = "Activate";
//.........这里部分代码省略.........