Progress bar Control

Source: Internet
Author: User

Namespace WindowsFormsApplication2
{
Partial class read database
{
/// <Summary>
/// Required designer variables.
/// </Summary>
Private System. ComponentModel. IContainer components = null;

/// <Summary>
/// Clear all resources in use.
/// </Summary>
/// <Param name = "disposing"> If the managed resource should be released, the value is true; otherwise, the value is false. </Param>
Protected override void Dispose (bool disposing)
{
If (disposing & (components! = Null ))
{
Components. Dispose ();
}
Base. Dispose (disposing );
}

# Region code generated by Windows Form Designer

/// <Summary>
/// The designer supports the required methods-do not
/// Use the code editor to modify the content of this method.
/// </Summary>
Private void InitializeComponent ()
{
This. progressBar1 = new System. Windows. Forms. ProgressBar ();
This. button1 = new System. Windows. Forms. Button ();
This. label1 = new System. Windows. Forms. Label ();
This. SuspendLayout ();
//
// ProgressBar1
//
This. progressBar1.Location = new System. Drawing. Point (23, 42 );
This. progressBar1.Name = "progressBar1 ";
This. progressBar1.Size = new System. Drawing. Size (686, 23 );
This. progressBar1.TabIndex = 0;
This. progressBar1.Visible = false;
//
// Button1
//
This. button1.Location = new System. Drawing. Point (621,110 );
This. button1.Name = "button1 ";
This. button1.Size = new System. Drawing. Size (75, 23 );
This. button1.TabIndex = 2;
This. button1.Text = "reading database information ";
This. button1.UseVisualStyleBackColor = true;
This. button1.Click + = new System. EventHandler (this. button#click );
//
// Label1
//
This. label1.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. label1.AutoSize = true;
This. label1.Font = new System. drawing. font ("", 48F, System. drawing. fontStyle. regular, System. drawing. graphicsUnit. point, (bytes) (134 )));
This. label1.Location = new System. Drawing. Point (23, 79 );
This. label1.Name = "label1 ";
This. label1.Size = new System. Drawing. Size (60, 64 );
This. label1.TabIndex = 3;
This. label1.Text = "0 ";
This. label1.TextAlign = System. Drawing. ContentAlignment. MiddleCenter;
//
// Read the database
//
This. AutoScaleDimensions = new System. Drawing. SizeF (6F, 12F );
This. AutoScaleMode = System. Windows. Forms. AutoScaleMode. Font;
This. ClientSize = new System. Drawing. Size (731,167 );
This. Controls. Add (this. label1 );
This. Controls. Add (this. button1 );
This. Controls. Add (this. progressBar1 );
This. MaximizeBox = false;
This. MinimizeBox = false;
This. Name = "read Database ";
This. StartPosition = System. Windows. Forms. FormStartPosition. CenterScreen;
This. Text = "Form1 ";
This. TopMost = tru

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.