using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace WindowsApplication31
{
/// <summary>
/// Summary description for SplashScreen.
/// </summary>
public class SplashScreen : System.Windows.Forms.Form
{
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.ProgressBar prgbar;
private System.Windows.Forms.Label label1;
private System.ComponentModel.IContainer components;
public SplashScreen()
{
InitializeComponent();
timer1.Start();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <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.Resources.
ResourceManager resources
= new System.Resources.
ResourceManager(typeof(SplashScreen
));
this.
timer1 = new System.
Windows.
Forms.
Timer(this.
components);
this.
prgbar = new System.
Windows.
Forms.
ProgressBar();
this.
label1 = new System.
Windows.
Forms.
Label();
this.SuspendLayout();
//
// timer1
//
this.timer1.Interval = 700;
this.
timer1.
Tick += new System.
EventHandler(this.
timer1_Tick);
//
// prgbar
//
this.
prgbar.
Location = new System.Drawing.
Point(64, 224
);
this.prgbar.Name = "prgbar";
this.
prgbar.
Size = new System.Drawing.
Size(168, 16
);
this.prgbar.TabIndex = 1;
//
// label1
//
this.label1.BackColor = System.Drawing.Color.Transparent;
this.
label1.
Font = new System.Drawing.
Font("Comic Sans MS", 18F,
((System.Drawing.
FontStyle)((System.Drawing.
FontStyle.
Bold | System.Drawing.
FontStyle.
Italic))),
System.Drawing.
GraphicsUnit.
Point,
((System.
Byte)(0
)));
this.label1.ForeColor = System.Drawing.Color.Lime;
this.
label1.
Location = new System.Drawing.
Point(48, 216
);
this.label1.Name = "label1";
this.
label1.
Size = new System.Drawing.
Size(360, 32
);
this.label1.TabIndex = 2;
this.
label1.
Click += new System.
EventHandler(this.
label1_Click);
//
// SplashScreen
//
this.
AutoScaleBaseSize = new System.Drawing.
Size(5, 13
);
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.
ClientSize = new System.Drawing.
Size(392, 256
);
this.Controls.Add(this.label1);
this.Controls.Add(this.prgbar);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "SplashScreen";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.
Load += new System.
EventHandler(this.
SplashScreen_Load);
this.ResumeLayout(false);
}
#endregion
private void button1_Click(object sender, System.EventArgs e)
{
}
private void button1_Click_1(object sender, System.EventArgs e)
{
Close();
}
private void timer1_Tick(object sender, System.EventArgs e)
{
prgbar.Value+=10;
if(prgbar.Value==10)
{
label1.Text = " satana ascii maker 1.2";
}
if(prgbar.Value==20)
{
label1.Text = "SAtana ascii maker 1.2"; }
if(prgbar.Value==30)
{
label1.Text = "saTAna ascii maker 1.2";}
if(prgbar.Value==40)
{
label1.Text = "sataNA ascii maker 1.2"; }
if(prgbar.Value==50)
{
label1.Text = "satana ASCii maker 1.2";
}
if(prgbar.Value==60)
label1.Text = "satana ascII maker 1.2";
if(prgbar.Value==70)
label1.Text = "satana ascii MAker 1.2";
if(prgbar.Value==80)
label1.Text = "satana ascii maKER 1.2";
if(prgbar.Value==90)
label1.Text = "§å†åÑå Á§Çîî Må|<€R 1.2";
if(prgbar.Value==100)
{
System.Threading.Thread.Sleep(400);
Close();
timer1.Stop();
}
}
private void label2_Click(object sender, System.EventArgs e)
{
}
private void label1_Click(object sender, System.EventArgs e)
{
}
private void SplashScreen_Load(object sender, System.EventArgs e)
{
}
}
}