本文整理汇总了C#中System.Windows.Forms.ProgressBar类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.ProgressBar类的具体用法?C# System.Windows.Forms.ProgressBar怎么用?C# System.Windows.Forms.ProgressBar使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.ProgressBar类属于命名空间,在下文中一共展示了System.Windows.Forms.ProgressBar类的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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmProgress));
this.calcProgressBar = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// calcProgressBar
//
this.calcProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.calcProgressBar.Location = new System.Drawing.Point(-3, 0);
this.calcProgressBar.Name = "calcProgressBar";
this.calcProgressBar.Size = new System.Drawing.Size(295, 30);
this.calcProgressBar.TabIndex = 0;
//
// frmProgress
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 27);
this.Controls.Add(this.calcProgressBar);
this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmProgress";
this.ShowIcon = false;
this.Text = "Shapefile to grid - Starting calculation";
this.ResumeLayout(false);
}
开发者ID:qlands,项目名称:GOBLET,代码行数:32,代码来源:frmProgress.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.progressBar1 = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(9, 6);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(275, 18);
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
this.progressBar1.TabIndex = 0;
//
// LoadingForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(294, 30);
this.Controls.Add(this.progressBar1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "LoadingForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "Loading... Please Wait";
this.ResumeLayout(false);
}
开发者ID:BF2Statistics,项目名称:ClientLauncher,代码行数:29,代码来源:LoadingForm.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.progressBar1 = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// progressBar1
//
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(-1, 354);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(368, 5);
this.progressBar1.TabIndex = 0;
//
// TaoLoginForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(366, 359);
this.Controls.Add(this.progressBar1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.HelpButton = true;
this.MaximizeBox = false;
this.Name = "TaoLoginForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "登录";
this.ResumeLayout(false);
}
开发者ID:kissstudio,项目名称:Topawes5,代码行数:32,代码来源:TaoLoginForm.designer.cs
示例4: GetUniqueRoutesForActivity
public static IList<IActivity> GetUniqueRoutesForActivity(IActivity activity, System.Windows.Forms.ProgressBar progressBar)
{
IList<IActivity> results = null;
try
{
if (progressBar == null)
progressBar = new System.Windows.Forms.ProgressBar();
if (GetUniqueRoutes != null)
{
MethodInfo methodInfo = GetUniqueRoutes.GetMethod(findSimilarRoutes);
object resultFromURPlugIn = methodInfo.Invoke(activity, new object[] { activity, progressBar });
results = (IList<IActivity>)resultFromURPlugIn;
}
}
catch (Exception e)
{
// Log error?
throw new Exception(string.Format(IntegrationUtility.OtherPluginExceptionText,
UniquePlugin + ".dll", UniqueRoutesPluginName) + Environment.NewLine, e);
}
if (GetUniqueRoutes == null)
{
throw new Exception(string.Format(IntegrationUtility.OtherPluginExceptionText,
UniquePlugin + ".dll", UniqueRoutesPluginName) + Environment.NewLine);
}
return results;
}
开发者ID:jcboliveira,项目名称:gps-running,代码行数:31,代码来源:UniqueRoutes.cs
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.label1 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.label2 = new System.Windows.Forms.Label();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(25, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 13);
this.label1.TabIndex = 0;
this.label1.Text = "label1";
//
// progressBar1
//
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(28, 46);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(230, 23);
this.progressBar1.Step = 1;
this.progressBar1.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(34, 76);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(35, 13);
this.label2.TabIndex = 2;
this.label2.Text = "label2";
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 500;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// frmProgress
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 98);
this.Controls.Add(this.label2);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmProgress";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Progress";
this.Load += new System.EventHandler(this.frmProgress_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:nwcs,项目名称:BaiduPCS_NET,代码行数:64,代码来源:frmProgress.designer.cs
示例6: InitializeComponent
private void InitializeComponent() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileScanDialog));
this.prbScanProgress = new System.Windows.Forms.ProgressBar();
this.lblScanProgress = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// prbScanProgress
//
resources.ApplyResources(this.prbScanProgress, "prbScanProgress");
this.prbScanProgress.Maximum = 1000;
this.prbScanProgress.Name = "prbScanProgress";
//
// lblScanProgress
//
resources.ApplyResources(this.lblScanProgress, "lblScanProgress");
this.lblScanProgress.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblScanProgress.Name = "lblScanProgress";
//
// FileScanDialog
//
resources.ApplyResources(this, "$this");
this.Controls.Add(this.prbScanProgress);
this.Controls.Add(this.lblScanProgress);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "FileScanDialog";
this.ShowInTaskbar = false;
this.ResumeLayout(false);
}
开发者ID:Gravenet,项目名称:POLUtils,代码行数:29,代码来源:FileScanDialog.Designer.cs
示例7: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.prb = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// prb
//
this.prb.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb.Location = new System.Drawing.Point(0, 0);
this.prb.Name = "prb";
this.prb.Size = new System.Drawing.Size(375, 23);
this.prb.TabIndex = 0;
//
// frmProcessBar
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(375, 23);
this.Controls.Add(this.prb);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmProcessBar";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "frmProcessBar";
this.TopMost = true;
this.ResumeLayout(false);
}
开发者ID:BillyWu,项目名称:Granitypark,代码行数:34,代码来源:frmProcessBar.designer.cs
示例8: 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(UpdatingLib));
this.label1 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label1.Location = new System.Drawing.Point(19, 35);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 15);
this.label1.TabIndex = 0;
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(12, 85);
this.progressBar1.Minimum = 1;
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(492, 17);
this.progressBar1.TabIndex = 1;
this.progressBar1.Value = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(23, 12);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(0, 13);
this.label2.TabIndex = 2;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(23, 52);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(0, 13);
this.label3.TabIndex = 3;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(528, 114);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "Mr.Doors";
this.TopMost = true;
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:digger1985,项目名称:MyCode,代码行数:64,代码来源:UpdatingLib.designer.cs
示例9: ServerAccessClass
public ServerAccessClass(string address,int port, System.Windows.Forms.Label resultLabel, System.Windows.Forms.ProgressBar progressBar,FormMain parent)
{
_label = resultLabel;
_progressbar = progressBar;
_parent = parent;
_address = address;
_port = port;
}
开发者ID:GrandPhoenix,项目名称:KBG-Minecraft-Launcher,代码行数:8,代码来源:ServerAccessClass.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.ProgressBar progressBar;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectingForm));
this.connectStatus = new System.Windows.Forms.Label();
this.abortButton = new System.Windows.Forms.Button();
this.pingTimer = new System.Windows.Forms.Timer(this.components);
this.timeoutTimer = new System.Windows.Forms.Timer(this.components);
progressBar = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// progressBar
//
progressBar.Location = new System.Drawing.Point(13, 30);
progressBar.Name = "progressBar";
progressBar.Size = new System.Drawing.Size(251, 23);
progressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
progressBar.TabIndex = 1;
//
// connectStatus
//
this.connectStatus.AutoSize = true;
this.connectStatus.Location = new System.Drawing.Point(10, 9);
this.connectStatus.Name = "connectStatus";
this.connectStatus.Size = new System.Drawing.Size(109, 13);
this.connectStatus.TabIndex = 0;
this.connectStatus.Text = "Connecting to \"{0}\"...";
//
// abortButton
//
this.abortButton.Location = new System.Drawing.Point(189, 59);
this.abortButton.Name = "abortButton";
this.abortButton.Size = new System.Drawing.Size(75, 23);
this.abortButton.TabIndex = 2;
this.abortButton.Text = "Abort";
this.abortButton.UseVisualStyleBackColor = true;
this.abortButton.Click += new System.EventHandler(this.abortButton_Click);
//
// ConnectingForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(276, 90);
this.Controls.Add(this.abortButton);
this.Controls.Add(progressBar);
this.Controls.Add(this.connectStatus);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ConnectingForm";
this.Text = "Connecting...";
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:Hendrik410,项目名称:KKS_Drone,代码行数:61,代码来源:ConnectingForm.Designer.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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CopyFolderForm));
this._lb1 = new System.Windows.Forms.Label();
this._pb1 = new System.Windows.Forms.ProgressBar();
this._bt1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// _lb1
//
this._lb1.AutoSize = true;
this._lb1.Font = new System.Drawing.Font("Gulim", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this._lb1.Location = new System.Drawing.Point(12, 9);
this._lb1.Name = "_lb1";
this._lb1.Size = new System.Drawing.Size(157, 16);
this._lb1.TabIndex = 0;
this._lb1.Text = "카피가 진행중입니다";
//
// _pb1
//
this._pb1.Location = new System.Drawing.Point(15, 65);
this._pb1.Name = "_pb1";
this._pb1.Size = new System.Drawing.Size(115, 23);
this._pb1.TabIndex = 1;
//
// _bt1
//
this._bt1.Location = new System.Drawing.Point(136, 65);
this._bt1.Name = "_bt1";
this._bt1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this._bt1.Size = new System.Drawing.Size(52, 23);
this._bt1.TabIndex = 2;
this._bt1.Text = "취소";
this._bt1.UseVisualStyleBackColor = true;
this._bt1.Click += new System.EventHandler(this.p_bt1_Click);
//
// CopyFolderForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ClientSize = new System.Drawing.Size(200, 100);
this.ControlBox = false;
this.Controls.Add(this._bt1);
this.Controls.Add(this._pb1);
this.Controls.Add(this._lb1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "CopyFolderForm";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "확인창";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.p_This_FormClosed);
this.Load += new System.EventHandler(this.p_This_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:Hobis,项目名称:HB_CSharp,代码行数:60,代码来源:CopyFolderForm.designer.cs
示例12: BWHandler
public BWHandler(System.Windows.Forms.ProgressBar pb, System.Windows.Forms.Label sl)
{
dataGridViewProgressBar = pb;
StatusLabel = sl;
tb.RunWorkerCompleted += new RunWorkerCompletedEventHandler(BuildWorkerCompleted);
tb.ProgressChanged += new ProgressChangedEventHandler(ProgressChanged);
dh.ProgressChanged += new ProgressChangedEventHandler(ProgressChanged);
dh.RunWorkerCompleted += new RunWorkerCompletedEventHandler(DirectoryWorkerCompleted);
}
开发者ID:joslinm,项目名称:CSL,代码行数:10,代码来源:BWHandler.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.buildButton = new System.Windows.Forms.Button();
this.progressBar = new System.Windows.Forms.ProgressBar();
this.progressLabel = new System.Windows.Forms.Label();
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.SuspendLayout();
//
// buildButton
//
this.buildButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buildButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.buildButton.Location = new System.Drawing.Point(3, 3);
this.buildButton.Name = "buildButton";
this.buildButton.Size = new System.Drawing.Size(86, 24);
this.buildButton.TabIndex = 18;
this.buildButton.Text = "&Build...";
this.buildButton.Click += new System.EventHandler(this.BuildButton_Click);
//
// progressBar
//
this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.progressBar.Location = new System.Drawing.Point(3, 53);
this.progressBar.Name = "progressBar";
this.progressBar.Size = new System.Drawing.Size(294, 23);
this.progressBar.TabIndex = 19;
this.progressBar.Visible = false;
//
// progressLabel
//
this.progressLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.progressLabel.AutoEllipsis = true;
this.progressLabel.Location = new System.Drawing.Point(3, 37);
this.progressLabel.Name = "progressLabel";
this.progressLabel.Size = new System.Drawing.Size(294, 13);
this.progressLabel.TabIndex = 20;
this.progressLabel.Text = "Progress message...";
//
// BuildStep
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.progressLabel);
this.Controls.Add(this.progressBar);
this.Controls.Add(this.buildButton);
this.Name = "BuildStep";
this.Size = new System.Drawing.Size(300, 85);
this.Tag = "Build the application syndication feed. All other steps must be completed before" +
" the Build button will be activated.";
this.ResumeLayout(false);
}
开发者ID:bullshock29,项目名称:Wix3.6Toolset,代码行数:59,代码来源:BuildStep.Designer.cs
示例14: InitializeComponent
private void InitializeComponent() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WaveWriter));
this.prbBytesWritten = new System.Windows.Forms.ProgressBar();
this.lblSource = new System.Windows.Forms.Label();
this.lblTarget = new System.Windows.Forms.Label();
this.txtSource = new System.Windows.Forms.TextBox();
this.txtTarget = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// prbBytesWritten
//
resources.ApplyResources(this.prbBytesWritten, "prbBytesWritten");
this.prbBytesWritten.Name = "prbBytesWritten";
//
// lblSource
//
this.lblSource.FlatStyle = System.Windows.Forms.FlatStyle.System;
resources.ApplyResources(this.lblSource, "lblSource");
this.lblSource.Name = "lblSource";
//
// lblTarget
//
this.lblTarget.FlatStyle = System.Windows.Forms.FlatStyle.System;
resources.ApplyResources(this.lblTarget, "lblTarget");
this.lblTarget.Name = "lblTarget";
//
// txtSource
//
resources.ApplyResources(this.txtSource, "txtSource");
this.txtSource.Name = "txtSource";
this.txtSource.ReadOnly = true;
//
// txtTarget
//
resources.ApplyResources(this.txtTarget, "txtTarget");
this.txtTarget.Name = "txtTarget";
this.txtTarget.ReadOnly = true;
//
// WaveWriter
//
resources.ApplyResources(this, "$this");
this.ControlBox = false;
this.Controls.Add(this.txtTarget);
this.Controls.Add(this.txtSource);
this.Controls.Add(this.lblTarget);
this.Controls.Add(this.lblSource);
this.Controls.Add(this.prbBytesWritten);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "WaveWriter";
this.ShowInTaskbar = false;
this.Activated += new System.EventHandler(this.WaveWriter_Activated);
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:Gravenet,项目名称:POLUtils,代码行数:55,代码来源:WaveWriter.Designer.cs
示例15: InitializeControl
void InitializeControl()
{
SuspendLayout();
Width = 400;
Height = 130;
_label = new WinFormsLabel
{
Text = string.Empty
,
AutoSize = false
,
Width = 350
};
_bar = new WinFormsProgressBar
{
Minimum = MIN
,
Maximum = MAX
,
Width = 350
,
Value = MIN
,
Step = 1
,
Style = WinFormsProgressBarStyle.Continuous
};
_btn = new WinFormsButton
{
Text = "Cancel"
,
Width = 120
};
var panel = new WinFormsFlowLayoutPanel
{
FlowDirection = WinFormsFlowDirection.TopDown
,
Dock = WinFormsDockStyle.Fill
};
panel.Controls.Add(_label);
panel.Controls.Add(_bar);
panel.Controls.Add(_btn);
Controls.Add(panel);
ResumeLayout();
}
开发者ID:devlights,项目名称:Sazare,代码行数:53,代码来源:ProgressSamples02.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.components = new System.ComponentModel.Container();
this.lb_prgrssbar = new System.Windows.Forms.Label();
this.progessbar_Inicial = new System.Windows.Forms.ProgressBar();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// lb_prgrssbar
//
this.lb_prgrssbar.BackColor = System.Drawing.Color.Transparent;
this.lb_prgrssbar.Font = new System.Drawing.Font("Perpetua Titling MT", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lb_prgrssbar.ForeColor = System.Drawing.Color.White;
this.lb_prgrssbar.Location = new System.Drawing.Point(6, 12);
this.lb_prgrssbar.Name = "lb_prgrssbar";
this.lb_prgrssbar.Size = new System.Drawing.Size(535, 45);
this.lb_prgrssbar.TabIndex = 11;
this.lb_prgrssbar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// progessbar_Inicial
//
this.progessbar_Inicial.BackColor = System.Drawing.SystemColors.Control;
this.progessbar_Inicial.ForeColor = System.Drawing.Color.Blue;
this.progessbar_Inicial.Location = new System.Drawing.Point(12, 75);
this.progessbar_Inicial.MarqueeAnimationSpeed = 500;
this.progessbar_Inicial.Maximum = 50;
this.progessbar_Inicial.Name = "progessbar_Inicial";
this.progessbar_Inicial.Size = new System.Drawing.Size(529, 10);
this.progessbar_Inicial.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
this.progessbar_Inicial.TabIndex = 12;
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 500;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// frmLoad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.ClientSize = new System.Drawing.Size(553, 97);
this.ControlBox = false;
this.Controls.Add(this.progessbar_Inicial);
this.Controls.Add(this.lb_prgrssbar);
this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "frmLoad";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.ResumeLayout(false);
}
开发者ID:minafrajr,项目名称:GEDAVE,代码行数:57,代码来源:frmLoad.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.progressBar1 = new System.Windows.Forms.ProgressBar();
this.button1 = new System.Windows.Forms.Button();
this._phase = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(13, 13);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(413, 23);
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
this.progressBar1.TabIndex = 0;
//
// button1
//
this.button1.Location = new System.Drawing.Point(182, 69);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Cancel";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.CancelClick);
//
// _phase
//
this._phase.Location = new System.Drawing.Point(13, 43);
this._phase.Name = "_phase";
this._phase.Size = new System.Drawing.Size(413, 23);
this._phase.TabIndex = 2;
this._phase.Text = "Starting,,,";
//
// ProgressForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(438, 104);
this.Controls.Add(this._phase);
this.Controls.Add(this.button1);
this.Controls.Add(this.progressBar1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ProgressForm";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProgressForm";
this.ResumeLayout(false);
}
开发者ID:impeesa,项目名称:ExceltoPostgre,代码行数:55,代码来源:ProgressForm.designer.cs
示例18: InitializeComponent
private void InitializeComponent()
{
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.button6 = new System.Windows.Forms.Button();
this.label13 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(41, 5);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(201, 33);
this.progressBar1.TabIndex = 0;
//
// button6
//
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button6.Location = new System.Drawing.Point(93, 56);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(97, 21);
this.button6.TabIndex = 1;
this.button6.Text = "Cancel";
this.button6.UseVisualStyleBackColor = true;
this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(93, 40);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(0, 13);
this.label13.TabIndex = 2;
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 80);
this.ControlBox = false;
this.Controls.Add(this.label13);
this.Controls.Add(this.button6);
this.Controls.Add(this.progressBar1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "Form2";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Data Generation Progress";
this.Load += new System.EventHandler(this.Form2_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:sdrobs,项目名称:vendfriend,代码行数:51,代码来源:progress-bar-init.cs
示例19: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.labelState = new System.Windows.Forms.TextBox();
this.progressBar = new System.Windows.Forms.ProgressBar();
this.Browser = new System.Windows.Forms.WebBrowser();
this.SuspendLayout();
//
// labelState
//
this.labelState.Dock = System.Windows.Forms.DockStyle.Top;
this.labelState.Location = new System.Drawing.Point(0, 14);
this.labelState.Multiline = true;
this.labelState.Name = "labelState";
this.labelState.ReadOnly = true;
this.labelState.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.labelState.Size = new System.Drawing.Size(526, 62);
this.labelState.TabIndex = 25;
//
// progressBar
//
this.progressBar.Dock = System.Windows.Forms.DockStyle.Top;
this.progressBar.Location = new System.Drawing.Point(0, 0);
this.progressBar.Name = "progressBar";
this.progressBar.Size = new System.Drawing.Size(526, 14);
this.progressBar.TabIndex = 21;
//
// Browser
//
this.Browser.Dock = System.Windows.Forms.DockStyle.Fill;
this.Browser.Location = new System.Drawing.Point(0, 76);
this.Browser.MinimumSize = new System.Drawing.Size(20, 20);
this.Browser.Name = "Browser";
this.Browser.Size = new System.Drawing.Size(526, 293);
this.Browser.TabIndex = 26;
//
// CustomBotThreadControl
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.Controls.Add(this.Browser);
this.Controls.Add(this.labelState);
this.Controls.Add(this.progressBar);
this.MinimumSize = new System.Drawing.Size(100, 100);
this.Name = "CustomBotThreadControl";
this.Size = new System.Drawing.Size(526, 369);
this.ResumeLayout(false);
this.PerformLayout();
}
开发者ID:sergeystoyan,项目名称:FhrCliverHost,代码行数:53,代码来源:CustomBotThreadControl.designer.cs
示例20: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.lblText = new System.Windows.Forms.Label();
this.btnCancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(3, 38);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(365, 23);
this.progressBar1.TabIndex = 0;
//
// lblText
//
this.lblText.Font = new System.Drawing.Font("MS UI Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
this.lblText.Location = new System.Drawing.Point(3, 6);
this.lblText.Name = "lblText";
this.lblText.Size = new System.Drawing.Size(365, 29);
this.lblText.TabIndex = 1;
this.lblText.Text = "ここにテキストが表示されます。";
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(293, 67);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "キャンセル";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// frmProgressBar
//
this.AutoScaleDimension
|
请发表评论