示例#1
0
        private void InitializeComponent()
        {
            Color   color;
            Padding padding1;
            Point   point1;
            Size    size1;
            SizeF   sizeF1;

            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Pumper));

            RTheme1        = new RTheme();
            RButtonRed1    = new RButtonRed();
            RButton2       = new RButton();
            TextBox8       = new TextBox();
            RButton1       = new RButton();
            RadioButton2   = new RadioButton();
            NumericUpDown9 = new NumericUpDown();
            RadioButton1   = new RadioButton();
            RTheme1.SuspendLayout();
            NumericUpDown9.BeginInit();
            SuspendLayout();
            RTheme1.BackColor = Color.FromArgb(28, 28, 28);
            RTheme1.Controls.Add(RButtonRed1);
            RTheme1.Controls.Add(RButton2);
            RTheme1.Controls.Add(TextBox8);
            RTheme1.Controls.Add(RButton1);
            RTheme1.Controls.Add(RadioButton2);
            RTheme1.Controls.Add(NumericUpDown9);
            RTheme1.Controls.Add(RadioButton1);
            RTheme1.Dock      = DockStyle.Fill;
            RTheme1.ForeColor = Color.White;
            RTheme1.Image     = null;
            Point point2 = new Point(0, 0);

            RTheme1.Location   = point2;
            RTheme1.MoveHeight = 26;
            RTheme1.Name       = "RTheme1";
            RTheme1.Resizable  = false;
            Size size2 = new Size(159, 141);

            RTheme1.Size            = size2;
            RTheme1.TabIndex        = 0;
            RTheme1.Text            = "Pumper";
            RTheme1.TransparencyKey = Color.Fuchsia;
            RButtonRed1.Image       = null;
            point2 = new Point(131, 3);
            RButtonRed1.Location   = point2;
            RButtonRed1.Name       = "RButtonRed1";
            RButtonRed1.NoRounding = false;
            size2                = new Size(23, 21);
            RButtonRed1.Size     = size2;
            RButtonRed1.TabIndex = 160;
            RButton2.Image       = null;
            point2               = new Point(12, 91);
            RButton2.Location    = point2;
            RButton2.Name        = "RButton2";
            RButton2.NoRounding  = false;
            size2                = new Size(135, 39);
            RButton2.Size        = size2;
            RButton2.TabIndex    = 159;
            RButton2.Text        = "Pump'Z";
            TextBox8.BackColor   = SystemColors.MenuText;
            TextBox8.BorderStyle = BorderStyle.FixedSingle;
            TextBox8.Font        = new Font("Calibri", 8.75F, FontStyle.Bold);
            TextBox8.ForeColor   = Color.Tomato;
            point2               = new Point(13, 39);
            TextBox8.Location    = point2;
            Padding padding2 = new Padding(4, 3, 4, 3);

            TextBox8.Margin    = padding2;
            TextBox8.Multiline = true;
            TextBox8.Name      = "TextBox8";
            TextBox8.ReadOnly  = true;
            size2                  = new Size(68, 19);
            TextBox8.Size          = size2;
            TextBox8.TabIndex      = 158;
            TextBox8.Text          = "Select File";
            RButton1.Image         = null;
            point2                 = new Point(88, 38);
            RButton1.Location      = point2;
            RButton1.Name          = "RButton1";
            RButton1.NoRounding    = false;
            size2                  = new Size(59, 21);
            RButton1.Size          = size2;
            RButton1.TabIndex      = 0;
            RButton1.Text          = "*.exe";
            RadioButton2.AutoSize  = true;
            RadioButton2.ForeColor = Color.FromArgb(100, 100, 100);
            point2                 = new Point(58, 65);
            RadioButton2.Location  = point2;
            RadioButton2.Name      = "RadioButton2";
            size2                  = new Size(41, 17);
            RadioButton2.Size      = size2;
            RadioButton2.TabIndex  = 24;
            RadioButton2.Text      = "MB";
            RadioButton2.UseVisualStyleBackColor = true;
            NumericUpDown9.BackColor             = Color.Black;
            NumericUpDown9.BorderStyle           = BorderStyle.FixedSingle;
            NumericUpDown9.ForeColor             = Color.Transparent;
            point2 = new Point(104, 65);
            NumericUpDown9.Location = point2;
            int[]   iArr = new int[] { 1, 0, 0, 0 };
            decimal dec  = new Decimal(iArr);

            NumericUpDown9.Minimum = dec;
            NumericUpDown9.Name    = "NumericUpDown9";
            size2 = new Size(42, 20);
            NumericUpDown9.Size     = size2;
            NumericUpDown9.TabIndex = 22;
            iArr = new int[] { 1, 0, 0, 0 };
            dec  = new Decimal(iArr);
            NumericUpDown9.Value    = dec;
            RadioButton1.AutoSize   = true;
            RadioButton1.CheckAlign = ContentAlignment.TopLeft;
            RadioButton1.Checked    = true;
            RadioButton1.ForeColor  = Color.FromArgb(100, 100, 100);
            point2 = new Point(13, 65);
            RadioButton1.Location = point2;
            RadioButton1.Name     = "RadioButton1";
            size2                 = new Size(39, 17);
            RadioButton1.Size     = size2;
            RadioButton1.TabIndex = 23;
            RadioButton1.TabStop  = true;
            RadioButton1.Text     = "KB";
            RadioButton1.UseVisualStyleBackColor = true;
            SizeF sizeF2 = new SizeF(6.0F, 13.0F);

            AutoScaleDimensions = sizeF2;
            AutoScaleMode       = AutoScaleMode.Font;
            size2      = new Size(159, 141);
            ClientSize = size2;
            Controls.Add(RTheme1);
            FormBorderStyle = FormBorderStyle.None;
            Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            Name            = "Pumper";
            StartPosition   = FormStartPosition.CenterScreen;
            Text            = "Pumper";
            TopMost         = true;
            TransparencyKey = Color.Fuchsia;
            RTheme1.ResumeLayout(false);
            RTheme1.PerformLayout();
            NumericUpDown9.EndInit();
            ResumeLayout(false);
        }
示例#2
0
        private void InitializeComponent()
        {
            Color color;
            Point point1;
            Size  size1;
            SizeF sizeF1;

            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Work_Progress));

            RTheme1           = new RTheme();
            Current_Operation = new Label();
            TextBox15         = new TextBox();
            ProgressBar1      = new ProgressBar();
            RButton1          = new RButton();
            RTheme1.SuspendLayout();
            SuspendLayout();
            RTheme1.BackColor = Color.FromArgb(28, 28, 28);
            RTheme1.Controls.Add(RButton1);
            RTheme1.Controls.Add(Current_Operation);
            RTheme1.Controls.Add(TextBox15);
            RTheme1.Controls.Add(ProgressBar1);
            RTheme1.Dock      = DockStyle.Fill;
            RTheme1.ForeColor = Color.White;
            RTheme1.Image     = null;
            Point point2 = new Point(0, 0);

            RTheme1.Location   = point2;
            RTheme1.MoveHeight = 26;
            RTheme1.Name       = "RTheme1";
            RTheme1.Resizable  = false;
            Size size2 = new Size(392, 454);

            RTheme1.Size            = size2;
            RTheme1.TabIndex        = 0;
            RTheme1.Text            = "                                                  Work Progress";
            RTheme1.TransparencyKey = Color.Fuchsia;
            point2 = new Point(12, 33);
            Current_Operation.Location = point2;
            Current_Operation.Name     = "Current_Operation";
            size2 = new Size(368, 19);
            Current_Operation.Size      = size2;
            Current_Operation.TabIndex  = 247;
            Current_Operation.TextAlign = ContentAlignment.MiddleCenter;
            TextBox15.BackColor         = SystemColors.MenuText;
            TextBox15.BorderStyle       = BorderStyle.FixedSingle;
            TextBox15.Font      = new Font("Comic Sans MS", 8.0F);
            TextBox15.ForeColor = Color.FromArgb(100, 100, 100);
            point2              = new Point(12, 55);
            TextBox15.Location  = point2;
            TextBox15.Multiline = true;
            TextBox15.Name      = "TextBox15";
            size2                 = new Size(368, 324);
            TextBox15.Size        = size2;
            TextBox15.TabIndex    = 246;
            TextBox15.TextAlign   = HorizontalAlignment.Center;
            point2                = new Point(12, 385);
            ProgressBar1.Location = point2;
            ProgressBar1.Name     = "ProgressBar1";
            size2                 = new Size(368, 19);
            ProgressBar1.Size     = size2;
            ProgressBar1.Style    = ProgressBarStyle.Marquee;
            ProgressBar1.TabIndex = 245;
            RButton1.Image        = null;
            point2                = new Point(12, 410);
            RButton1.Location     = point2;
            RButton1.Name         = "RButton1";
            RButton1.NoRounding   = false;
            size2                 = new Size(368, 32);
            RButton1.Size         = size2;
            RButton1.TabIndex     = 1;
            RButton1.Text         = "Continue";
            SizeF sizeF2 = new SizeF(6.0F, 13.0F);

            AutoScaleDimensions = sizeF2;
            AutoScaleMode       = AutoScaleMode.Font;
            size2      = new Size(392, 454);
            ClientSize = size2;
            Controls.Add(RTheme1);
            FormBorderStyle = FormBorderStyle.None;
            Icon            = (Icon)componentResourceManager.GetObject("$this.Icon");
            Name            = "Work_Progress";
            Opacity         = 0.0;
            StartPosition   = FormStartPosition.CenterScreen;
            Text            = "Work_Progress";
            TopMost         = true;
            TransparencyKey = Color.Fuchsia;
            RTheme1.ResumeLayout(false);
            RTheme1.PerformLayout();
            ResumeLayout(false);
        }