|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace FileManager
{
public partial class welcomeNote : Form
{
public welcomeNote()
{
InitializeComponent();
timer1.Start();
}
private void welcomeNote_Load(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
if (this.Opacity < 0.9)
{
this.Opacity = this.Opacity + 0.05;
}
else
{
button1.Enabled = true;
timer1.Stop();
}
}
private void button1_Click_1(object sender, EventArgs e)
{
this.Hide();
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
Pen myPen = new Pen(System.Drawing.Color.Blue, 2);
e.Graphics.DrawRectangle(myPen, 0, 0, this.Width, this.Height);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I passed my B.Tech. in 2007 from SRMCEM, Lucknow and currently I am working as a software developer in .Net technology.