Advertisement
Guest User

Untitled

a guest
Aug 15th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.50 KB | None | 0 0
  1. namespace WindowsFormsApp1
  2. {
  3.     partial class Form1
  4.     {
  5.         /// <summary>
  6.         /// 必需的设计器变量。
  7.         /// </summary>
  8.         private System.ComponentModel.IContainer components = null;
  9.  
  10.         /// <summary>
  11.         /// 清理所有正在使用的资源。
  12.         /// </summary>
  13.         /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  14.         protected override void Dispose(bool disposing)
  15.         {
  16.             if (disposing && (components != null))
  17.             {
  18.                 components.Dispose();
  19.             }
  20.             base.Dispose(disposing);
  21.         }
  22.  
  23.         #region Windows 窗体设计器生成的代码
  24.  
  25.         /// <summary>
  26.         /// 设计器支持所需的方法 - 不要修改
  27.         /// 使用代码编辑器修改此方法的内容。
  28.         /// </summary>
  29.         private void InitializeComponent()
  30.         {
  31.             this.components = new System.ComponentModel.Container();
  32.             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  33.             this.bunifuProgressBar1 = new Bunifu.Framework.UI.BunifuProgressBar();
  34.             this.textBox1 = new System.Windows.Forms.TextBox();
  35.             this.label1 = new System.Windows.Forms.Label();
  36.             this.bunifuFlatButton1 = new Bunifu.Framework.UI.BunifuFlatButton();
  37.             this.timer1 = new System.Windows.Forms.Timer(this.components);
  38.             this.timer2 = new System.Windows.Forms.Timer(this.components);
  39.             this.SuspendLayout();
  40.             //
  41.             // bunifuProgressBar1
  42.             //
  43.             this.bunifuProgressBar1.BackColor = System.Drawing.Color.Silver;
  44.             this.bunifuProgressBar1.BorderRadius = 5;
  45.             this.bunifuProgressBar1.Location = new System.Drawing.Point(108, 349);
  46.             this.bunifuProgressBar1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
  47.             this.bunifuProgressBar1.MaximumValue = 100;
  48.             this.bunifuProgressBar1.Name = "bunifuProgressBar1";
  49.             this.bunifuProgressBar1.ProgressColor = System.Drawing.Color.Teal;
  50.             this.bunifuProgressBar1.Size = new System.Drawing.Size(615, 14);
  51.             this.bunifuProgressBar1.TabIndex = 0;
  52.             this.bunifuProgressBar1.Value = 0;
  53.             //
  54.             // textBox1
  55.             //
  56.             this.textBox1.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  57.             this.textBox1.Location = new System.Drawing.Point(208, 182);
  58.             this.textBox1.Name = "textBox1";
  59.             this.textBox1.Size = new System.Drawing.Size(100, 34);
  60.             this.textBox1.TabIndex = 1;
  61.             //
  62.             // label1
  63.             //
  64.             this.label1.AutoSize = true;
  65.             this.label1.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  66.             this.label1.Location = new System.Drawing.Point(314, 184);
  67.             this.label1.Name = "label1";
  68.             this.label1.Size = new System.Drawing.Size(86, 28);
  69.             this.label1.TabIndex = 2;
  70.             this.label1.Text = "seconds";
  71.             //
  72.             // bunifuFlatButton1
  73.             //
  74.             this.bunifuFlatButton1.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87)))));
  75.             this.bunifuFlatButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87)))));
  76.             this.bunifuFlatButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  77.             this.bunifuFlatButton1.BorderRadius = 0;
  78.             this.bunifuFlatButton1.ButtonText = "Start/Stop";
  79.             this.bunifuFlatButton1.Cursor = System.Windows.Forms.Cursors.Hand;
  80.             this.bunifuFlatButton1.DisabledColor = System.Drawing.Color.Gray;
  81.             this.bunifuFlatButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  82.             this.bunifuFlatButton1.Iconcolor = System.Drawing.Color.Transparent;
  83.             this.bunifuFlatButton1.Iconimage = ((System.Drawing.Image)(resources.GetObject("bunifuFlatButton1.Iconimage")));
  84.             this.bunifuFlatButton1.Iconimage_right = null;
  85.             this.bunifuFlatButton1.Iconimage_right_Selected = null;
  86.             this.bunifuFlatButton1.Iconimage_Selected = null;
  87.             this.bunifuFlatButton1.IconMarginLeft = 0;
  88.             this.bunifuFlatButton1.IconMarginRight = 0;
  89.             this.bunifuFlatButton1.IconRightVisible = true;
  90.             this.bunifuFlatButton1.IconRightZoom = 0D;
  91.             this.bunifuFlatButton1.IconVisible = false;
  92.             this.bunifuFlatButton1.IconZoom = 90D;
  93.             this.bunifuFlatButton1.IsTab = false;
  94.             this.bunifuFlatButton1.Location = new System.Drawing.Point(445, 164);
  95.             this.bunifuFlatButton1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
  96.             this.bunifuFlatButton1.Name = "bunifuFlatButton1";
  97.             this.bunifuFlatButton1.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87)))));
  98.             this.bunifuFlatButton1.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77)))));
  99.             this.bunifuFlatButton1.OnHoverTextColor = System.Drawing.Color.White;
  100.             this.bunifuFlatButton1.selected = false;
  101.             this.bunifuFlatButton1.Size = new System.Drawing.Size(262, 69);
  102.             this.bunifuFlatButton1.TabIndex = 3;
  103.             this.bunifuFlatButton1.Text = "Start/Stop";
  104.             this.bunifuFlatButton1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  105.             this.bunifuFlatButton1.Textcolor = System.Drawing.Color.White;
  106.             this.bunifuFlatButton1.TextFont = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  107.             this.bunifuFlatButton1.Click += new System.EventHandler(this.bunifuFlatButton1_Click);
  108.             //
  109.             // timer1
  110.             //
  111.             this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  112.             //
  113.             // timer2
  114.             //
  115.             this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
  116.             //
  117.             // Form1
  118.             //
  119.             this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
  120.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  121.             this.ClientSize = new System.Drawing.Size(800, 450);
  122.             this.Controls.Add(this.bunifuFlatButton1);
  123.             this.Controls.Add(this.label1);
  124.             this.Controls.Add(this.textBox1);
  125.             this.Controls.Add(this.bunifuProgressBar1);
  126.             this.Name = "Form1";
  127.             this.Text = "Form1";
  128.             this.ResumeLayout(false);
  129.             this.PerformLayout();
  130.  
  131.         }
  132.  
  133.         #endregion
  134.  
  135.         private Bunifu.Framework.UI.BunifuProgressBar bunifuProgressBar1;
  136.         private System.Windows.Forms.TextBox textBox1;
  137.         private System.Windows.Forms.Label label1;
  138.         private Bunifu.Framework.UI.BunifuFlatButton bunifuFlatButton1;
  139.         private System.Windows.Forms.Timer timer1;
  140.         private System.Windows.Forms.Timer timer2;
  141.     }
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement