Introduction:
In this article I will show you how to make a screen saver by using c# windows form. It is not perfect screen sever as windows gives us but yes, it is little bit like that.
Steps:
1) Add a form in your application and make it form border style none. Set transparency key as form background color so it will make your form transparent.

2) Put a timer control on your form and set it's interval as you want to display picture per millisecond on the computer screen.
3) Code behind
int x, y;
private void timer1_Tick(object sender, EventArgs e)
private void timer1_Tick(object sender, EventArgs e)
{
/*
* here x & y are the
variables and below two line will put
desktop's different
* screen location in it.
*/
x = Convert.ToInt32((Microsoft.VisualBasic.VBMath.Rnd())
* (this.ClientSize.Width));
y =Convert.ToInt32((Microsoft.VisualBasic.VBMath.Rnd())*this.ClientSize.Height));
/*
* screenStart() is the
function which works to display image at the different screen
* location of the
desktop
*/
screenStart();
}

vikram kadamPosted Feb 1, 2011, 1:37 PM
i think u will show all step in your how to create your forms
Prachi DeoupadhyePosted Dec 5, 2010, 2:01 AM
Nicee
Priyank PatelPosted Oct 4, 2010, 4:32 AM
thankx
JureeditedPosted Sep 27, 2010, 4:24 PMEdited Sep 27, 2010, 5:07 PM
Nice idea. You could add this: this.MouseDown += (object o, MouseEventArgs e) => this.Close(); Cursor.Hide();
Mahesh ChandPosted Sep 26, 2010, 10:24 PM
Good start.