Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BY FEDERATION | Skype tool source | part 2 --> Loading screen
- using AstroHDgamers_Skype_Tool.Properties;
- using System;
- using System.ComponentModel;
- using System.Drawing;
- using System.Windows.Forms;
- using theme;
- namespace AstroHDGammers_Skype_Tool
- {
- public class loading : Form
- {
- private IContainer components = (IContainer) null;
- private FormSkin formSkin1;
- private FlatProgressBar flatProgressBar1;
- private Timer timer1;
- private Timer timer2;
- private Label label1;
- private Timer timer3;
- public loading()
- {
- this.InitializeComponent();
- this.timer1.Start();
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- this.flatProgressBar1.Increment(1);
- if (this.flatProgressBar1.Value != 100)
- return;
- this.Hide();
- new Form1().Show();
- this.timer1.Stop();
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && this.components != null)
- this.components.Dispose();
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.formSkin1 = new theme.FormSkin();
- this.flatProgressBar1 = new theme.FlatProgressBar();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.timer2 = new System.Windows.Forms.Timer(this.components);
- this.timer3 = new System.Windows.Forms.Timer(this.components);
- this.label1 = new System.Windows.Forms.Label();
- this.formSkin1.SuspendLayout();
- this.SuspendLayout();
- //
- // formSkin1
- //
- this.formSkin1.BackColor = System.Drawing.Color.White;
- this.formSkin1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73)))));
- this.formSkin1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(53)))), ((int)(((byte)(58)))), ((int)(((byte)(60)))));
- this.formSkin1.Controls.Add(this.label1);
- this.formSkin1.Controls.Add(this.flatProgressBar1);
- this.formSkin1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.formSkin1.FlatColor = System.Drawing.Color.DeepSkyBlue;
- this.formSkin1.Font = new System.Drawing.Font("Segoe UI", 12F);
- this.formSkin1.HeaderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(47)))), ((int)(((byte)(49)))));
- this.formSkin1.HeaderMaximize = false;
- this.formSkin1.Location = new System.Drawing.Point(0, 0);
- this.formSkin1.Name = "formSkin1";
- this.formSkin1.Size = new System.Drawing.Size(1071, 324);
- this.formSkin1.TabIndex = 0;
- this.formSkin1.Text = "SmashKv Skype Tool is Loading...";
- //
- // flatProgressBar1
- //
- this.flatProgressBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73)))));
- this.flatProgressBar1.DarkerProgress = System.Drawing.Color.DeepSkyBlue;
- this.flatProgressBar1.Location = new System.Drawing.Point(152, 253);
- this.flatProgressBar1.Maximum = 100;
- this.flatProgressBar1.Name = "flatProgressBar1";
- this.flatProgressBar1.ProgressColor = System.Drawing.Color.DeepSkyBlue;
- this.flatProgressBar1.Size = new System.Drawing.Size(802, 42);
- this.flatProgressBar1.TabIndex = 0;
- this.flatProgressBar1.Text = "flatProgressBar1";
- this.flatProgressBar1.Value = 0;
- //
- // timer1
- //
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.BackColor = System.Drawing.Color.Gray;
- this.label1.Font = new System.Drawing.Font("Impact", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.ForeColor = System.Drawing.Color.Red;
- this.label1.Location = new System.Drawing.Point(141, 107);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(869, 117);
- this.label1.TabIndex = 1;
- this.label1.Text = "SmashKv Skype Tool";
- //
- // loading
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1071, 324);
- this.Controls.Add(this.formSkin1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Name = "loading";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "loading";
- this.TransparencyKey = System.Drawing.Color.Fuchsia;
- this.formSkin1.ResumeLayout(false);
- this.formSkin1.PerformLayout();
- this.ResumeLayout(false);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement