本文整理汇总了C#中System.Windows.Forms.NumericUpDown.EndInit方法的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.NumericUpDown.EndInit方法的具体用法?C# System.Windows.Forms.NumericUpDown.EndInit怎么用?C# System.Windows.Forms.NumericUpDown.EndInit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.NumericUpDown
的用法示例。
在下文中一共展示了System.Windows.Forms.NumericUpDown.EndInit方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
//.........这里部分代码省略.........
resources.ApplyResources(checkEnableVersionUpgrade, "checkEnableVersionUpgrade");
checkEnableVersionUpgrade.BackColor = System.Drawing.Color.Transparent;
checkEnableVersionUpgrade.Checked = true;
checkEnableVersionUpgrade.CheckState = System.Windows.Forms.CheckState.Checked;
checkEnableVersionUpgrade.Name = "checkEnableVersionUpgrade";
checkEnableVersionUpgrade.UseVisualStyleBackColor = true;
resources.ApplyResources(numVersionCheckInterval, "numVersionCheckInterval");
int[] tempAnotherLocal14 = new int[4];
tempAnotherLocal14[0] = 0x5a0;
numVersionCheckInterval.Maximum = new decimal(tempAnotherLocal14);
numVersionCheckInterval.Name = "numVersionCheckInterval";
resources.ApplyResources(checkVersionCheckAtStartup, "checkVersionCheckAtStartup");
checkVersionCheckAtStartup.BackColor = System.Drawing.Color.Transparent;
checkVersionCheckAtStartup.Checked = true;
checkVersionCheckAtStartup.CheckState = System.Windows.Forms.CheckState.Checked;
checkVersionCheckAtStartup.Name = "checkVersionCheckAtStartup";
checkVersionCheckAtStartup.UseVisualStyleBackColor = true;
label20.BackColor = System.Drawing.Color.DimGray;
label20.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
resources.ApplyResources(label20, "label20");
label20.ForeColor = System.Drawing.Color.White;
label20.Name = "label20";
resources.ApplyResources(checkEnableVersionCheck, "checkEnableVersionCheck");
checkEnableVersionCheck.BackColor = System.Drawing.Color.Transparent;
checkEnableVersionCheck.Checked = true;
checkEnableVersionCheck.CheckState = System.Windows.Forms.CheckState.Checked;
checkEnableVersionCheck.Name = "checkEnableVersionCheck";
checkEnableVersionCheck.UseVisualStyleBackColor = true;
checkEnableVersionCheck.CheckedChanged += checkEnableVersionCheck_CheckedChanged;
panelBottom.Controls.Add(btnOK);
panelBottom.Controls.Add(btnCancel);
resources.ApplyResources(panelBottom, "panelBottom");
panelBottom.Name = "panelBottom";
resources.ApplyResources(treeView1, "treeView1");
treeView1.FullRowSelect = true;
treeView1.HideSelection = false;
treeView1.HotTracking = true;
treeView1.ItemHeight = 0x12;
treeView1.Name = "treeView1";
treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[]
{
(System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes1"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes2"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes3"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes4"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes5"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes6"), (System.Windows.Forms.TreeNode)resources.GetObject("treeView1.Nodes7")
});
treeView1.ShowRootLines = false;
treeView1.AfterSelect += treeView1_AfterSelect;
panelLeft.Controls.Add(panelRight);
panelLeft.Controls.Add(treeView1);
resources.ApplyResources(panelLeft, "panelLeft");
panelLeft.Name = "panelLeft";
panelRight.Controls.Add(uiTabs);
resources.ApplyResources(panelRight, "panelRight");
panelRight.Name = "panelRight";
resources.ApplyResources(checkCommitIsAlwaysEnabled, "checkCommitIsAlwaysEnabled");
checkCommitIsAlwaysEnabled.BackColor = System.Drawing.Color.Transparent;
checkCommitIsAlwaysEnabled.Checked = true;
checkCommitIsAlwaysEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
checkCommitIsAlwaysEnabled.Name = "checkCommitIsAlwaysEnabled";
checkCommitIsAlwaysEnabled.UseVisualStyleBackColor = true;
base.AcceptButton = btnOK;
resources.ApplyResources(this, "$this");
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.CancelButton = btnCancel;
base.Controls.Add(panelLeft);
base.Controls.Add(panelBottom);
base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
base.Name = "SettingsDialog";
base.ShowInTaskbar = false;
((System.ComponentModel.ISupportInitialize)uiTabs).EndInit();
uiTabs.ResumeLayout(false);
uiTabPageGeneral.ResumeLayout(false);
uiTabPageGeneral.PerformLayout();
uiTabPageDisplay.ResumeLayout(false);
uiTabPageDisplay.PerformLayout();
groupSourcesPanel.ResumeLayout(false);
groupSourcesPanel.PerformLayout();
numPreviewLines.EndInit();
numPageSize.EndInit();
uiTabPageOperation.ResumeLayout(false);
uiTabPageOperation.PerformLayout();
uiTabPageKeyboard.ResumeLayout(false);
uiTabPageUpdates.ResumeLayout(false);
uiTabPageUpdates.PerformLayout();
numSecondsPerSource.EndInit();
numUpdatesInterval.EndInit();
uiTabPageTortoiseSVN.ResumeLayout(false);
uiTabPageTortoiseSVN.PerformLayout();
numSVNUpdateSourcesQueueTimeoutSeconds.EndInit();
uiTabPageRecommending.ResumeLayout(false);
uiGroupBoxRecommendMessage.ResumeLayout(false);
uiGroupBoxRecommendMessage.PerformLayout();
uiTabPageVersionCheck.ResumeLayout(false);
uiTabPageVersionCheck.PerformLayout();
groupVersionChecks.ResumeLayout(false);
groupVersionChecks.PerformLayout();
numVersionCheckInterval.EndInit();
panelBottom.ResumeLayout(false);
panelLeft.ResumeLayout(false);
panelRight.ResumeLayout(false);
base.ResumeLayout(false);
}
示例2: InitializeComponent
//.........这里部分代码省略.........
btnPausa.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
btnPausa.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnPausa.Image");
btnPausa.ImageTransparentColor = System.Drawing.Color.Magenta;
btnPausa.Name = "btnPausa";
btnPausa.Size = new System.Drawing.Size(23, 22);
btnPausa.Text = "Pausa";
btnPausa.Click += new System.EventHandler(btnPausa_Click);
btnDetener.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
btnDetener.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnDetener.Image");
btnDetener.ImageTransparentColor = System.Drawing.Color.Magenta;
btnDetener.Name = "btnDetener";
btnDetener.Size = new System.Drawing.Size(23, 22);
btnDetener.Text = "Detener";
btnDetener.Click += new System.EventHandler(btnDetener_Click);
btnConfiguracionConsultaHistorica.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
btnConfiguracionConsultaHistorica.Image = (System.Drawing.Image)componentResourceManager.GetObject("btnConfiguracionConsultaHistorica.Image");
btnConfiguracionConsultaHistorica.ImageTransparentColor = System.Drawing.Color.Magenta;
btnConfiguracionConsultaHistorica.Name = "btnConfiguracionConsultaHistorica";
btnConfiguracionConsultaHistorica.Size = new System.Drawing.Size(23, 22);
btnConfiguracionConsultaHistorica.Text = "Configuraci\u00F3n";
btnConfiguracionConsultaHistorica.Click += new System.EventHandler(btnConfiguracionConsultaHistorica_Click);
lblInformation.AutoSize = true;
lblInformation.Location = new System.Drawing.Point(12, 45);
lblInformation.Name = "lblInformation";
lblInformation.Size = new System.Drawing.Size(69, 13);
lblInformation.TabIndex = 1;
lblInformation.Text = "lblInformation";
panel1.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
panel1.Controls.Add(udRegistrosPorSegundo);
panel1.Controls.Add(lblPosicion);
panel1.Controls.Add(trackPosicion);
panel1.Controls.Add(lblEstado);
panel1.Location = new System.Drawing.Point(0, 189);
panel1.Name = "panel1";
panel1.Size = new System.Drawing.Size(142, 77);
panel1.TabIndex = 2;
udRegistrosPorSegundo.Dock = System.Windows.Forms.DockStyle.Top;
udRegistrosPorSegundo.Location = new System.Drawing.Point(0, 54);
int[] iArr1 = new int[4];
iArr1[0] = 50;
udRegistrosPorSegundo.Maximum = new System.Decimal(iArr1);
int[] iArr2 = new int[4];
iArr2[0] = 1;
udRegistrosPorSegundo.Minimum = new System.Decimal(iArr2);
udRegistrosPorSegundo.Name = "udRegistrosPorSegundo";
udRegistrosPorSegundo.Size = new System.Drawing.Size(142, 20);
udRegistrosPorSegundo.TabIndex = 3;
int[] iArr3 = new int[4];
iArr3[0] = 1;
udRegistrosPorSegundo.Value = new System.Decimal(iArr3);
udRegistrosPorSegundo.ValueChanged += new System.EventHandler(udRegistrosPorSegundo_ValueChanged);
lblPosicion.Dock = System.Windows.Forms.DockStyle.Top;
lblPosicion.Location = new System.Drawing.Point(0, 41);
lblPosicion.Name = "lblPosicion";
lblPosicion.Size = new System.Drawing.Size(142, 13);
lblPosicion.TabIndex = 2;
trackPosicion.AutoSize = false;
trackPosicion.Dock = System.Windows.Forms.DockStyle.Top;
trackPosicion.Location = new System.Drawing.Point(0, 13);
trackPosicion.Maximum = 1000000;
trackPosicion.Name = "trackPosicion";
trackPosicion.Size = new System.Drawing.Size(142, 28);
trackPosicion.TabIndex = 1;
trackPosicion.TickFrequency = 0;
trackPosicion.TickStyle = System.Windows.Forms.TickStyle.None;
trackPosicion.Scroll += new System.EventHandler(trackPosicion_Scroll);
lblEstado.Dock = System.Windows.Forms.DockStyle.Top;
lblEstado.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
lblEstado.ForeColor = System.Drawing.Color.Green;
lblEstado.Location = new System.Drawing.Point(0, 0);
lblEstado.Name = "lblEstado";
lblEstado.Size = new System.Drawing.Size(142, 13);
lblEstado.TabIndex = 0;
lblEstado.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
AutoSize = true;
BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
ClientSize = new System.Drawing.Size(542, 266);
Controls.Add(panel1);
Controls.Add(lblInformation);
Controls.Add(toolStrip1);
DoubleBuffered = true;
Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
Name = "MapForm";
Text = "Mapa";
MouseUp += new System.Windows.Forms.MouseEventHandler(MapForm_MouseUp);
Scroll += new System.Windows.Forms.ScrollEventHandler(MapForm_Scroll);
SizeChanged += new System.EventHandler(MapForm_SizeChanged);
MouseDown += new System.Windows.Forms.MouseEventHandler(MapForm_MouseDown);
FormClosing += new System.Windows.Forms.FormClosingEventHandler(MapForm_FormClosing);
MouseMove += new System.Windows.Forms.MouseEventHandler(MapForm_MouseMove);
toolStrip1.ResumeLayout(false);
toolStrip1.PerformLayout();
panel1.ResumeLayout(false);
udRegistrosPorSegundo.EndInit();
trackPosicion.EndInit();
ResumeLayout(false);
PerformLayout();
}
示例3: InitializeComponent
//.........这里部分代码省略.........
label11.Text = "Camino";
label12.AutoSize = true;
label12.Location = new System.Drawing.Point(19, 185);
label12.Name = "label12";
label12.Size = new System.Drawing.Size(29, 13);
label12.TabIndex = 14;
label12.Text = "Area";
chkGenerarReporte.AutoSize = true;
chkGenerarReporte.Location = new System.Drawing.Point(16, 290);
chkGenerarReporte.Name = "chkGenerarReporte";
chkGenerarReporte.Size = new System.Drawing.Size(100, 17);
chkGenerarReporte.TabIndex = 25;
chkGenerarReporte.Text = "Generar reporte";
chkGenerarReporte.UseVisualStyleBackColor = true;
cboCategoria.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
cboCategoria.FormattingEnabled = true;
cboCategoria.Location = new System.Drawing.Point(92, 60);
cboCategoria.Name = "cboCategoria";
cboCategoria.Size = new System.Drawing.Size(244, 21);
cboCategoria.TabIndex = 5;
txtVehiculo.Location = new System.Drawing.Point(92, 85);
txtVehiculo.Name = "txtVehiculo";
txtVehiculo.Size = new System.Drawing.Size(244, 20);
txtVehiculo.TabIndex = 7;
txtTransponder.Location = new System.Drawing.Point(92, 109);
txtTransponder.Name = "txtTransponder";
txtTransponder.Size = new System.Drawing.Size(244, 20);
txtTransponder.TabIndex = 9;
txtPunto.Location = new System.Drawing.Point(92, 133);
txtPunto.Name = "txtPunto";
txtPunto.Size = new System.Drawing.Size(244, 20);
txtPunto.TabIndex = 11;
txtCamino.Location = new System.Drawing.Point(92, 157);
txtCamino.Name = "txtCamino";
txtCamino.Size = new System.Drawing.Size(244, 20);
txtCamino.TabIndex = 13;
txtArea.Location = new System.Drawing.Point(92, 181);
txtArea.Name = "txtArea";
txtArea.Size = new System.Drawing.Size(244, 20);
txtArea.TabIndex = 15;
chkVelocidad.AutoSize = true;
chkVelocidad.Location = new System.Drawing.Point(22, 210);
chkVelocidad.Name = "chkVelocidad";
chkVelocidad.Size = new System.Drawing.Size(100, 17);
chkVelocidad.TabIndex = 16;
chkVelocidad.Text = "Velocidad entre";
chkVelocidad.UseVisualStyleBackColor = true;
chkVelocidad.CheckedChanged += new System.EventHandler(chkVelocidad_CheckedChanged);
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(263, 211);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(32, 13);
label6.TabIndex = 20;
label6.Text = "km/h";
AcceptButton = btnOK;
AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
CancelButton = btnCancel;
ClientSize = new System.Drawing.Size(346, 351);
ControlBox = false;
Controls.Add(label6);
Controls.Add(chkVelocidad);
Controls.Add(txtArea);
Controls.Add(txtCamino);
Controls.Add(txtPunto);
Controls.Add(txtTransponder);
Controls.Add(txtVehiculo);
Controls.Add(cboCategoria);
Controls.Add(chkGenerarReporte);
Controls.Add(label12);
Controls.Add(label11);
Controls.Add(label10);
Controls.Add(label5);
Controls.Add(label4);
Controls.Add(label3);
Controls.Add(InputQueryTimeOut);
Controls.Add(label9);
Controls.Add(label8);
Controls.Add(InputMuestrasPorSegundo);
Controls.Add(InputVelocidadMaxima);
Controls.Add(label7);
Controls.Add(InputVelocidadMinima);
Controls.Add(dtFechaFin);
Controls.Add(label2);
Controls.Add(dtFechaInicio);
Controls.Add(label1);
Controls.Add(btnCancel);
Controls.Add(btnOK);
Name = "dlgParametrosConsultaHistoricos";
ShowInTaskbar = false;
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
Text = "Filtro de selecci\u00F3n";
Load += new System.EventHandler(dlgParametrosConsultaHistoricos_Load);
InputVelocidadMinima.EndInit();
InputVelocidadMaxima.EndInit();
InputMuestrasPorSegundo.EndInit();
InputQueryTimeOut.EndInit();
ResumeLayout(false);
PerformLayout();
}