- Joined
- May 24, 2007
- Messages
- 47
- Reaction score
- 0
namespace RESTART
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Timer t = new Timer();
t.Tick += new EventHandler(t_Tick);
t.Interval = 1800000;
t.Start();
}
void t_Tick(object sender, EventArgs e)
{
Application.Restart();
}
}
}
This gives you the timer, rest have u to make self!
VERY EASY
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Timer t = new Timer();
t.Tick += new EventHandler(t_Tick);
t.Interval = 1800000;
t.Start();
}
void t_Tick(object sender, EventArgs e)
{
Application.Restart();
}
}
}
This gives you the timer, rest have u to make self!
VERY EASY