Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.Threaading.Timer not firing Pin
#realJSOP25-Jan-10 8:29
mve#realJSOP25-Jan-10 8:29 
Questionsql insert string Pin
jojoba201025-Jan-10 4:26
jojoba201025-Jan-10 4:26 
AnswerRe: sql insert string Pin
Manas Bhardwaj25-Jan-10 4:36
professionalManas Bhardwaj25-Jan-10 4:36 
Questionopening form Pin
jojoba201025-Jan-10 3:27
jojoba201025-Jan-10 3:27 
AnswerRe: opening form Pin
sanforjackass25-Jan-10 3:34
sanforjackass25-Jan-10 3:34 
QuestionRe: opening form Pin
jojoba201025-Jan-10 3:41
jojoba201025-Jan-10 3:41 
AnswerRe: opening form Pin
dan!sh 25-Jan-10 3:54
professional dan!sh 25-Jan-10 3:54 
NewsRe: opening form Pin
jojoba201025-Jan-10 4:12
jojoba201025-Jan-10 4:12 
Thanks !

I finsihed it:


private void Form1_Load(object sender, EventArgs e)
        {
            Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width, Screen.PrimaryScreen.WorkingArea.Height - this.Height + x);
            this.Location = p;
            timer1.Enabled = true;
            timer1.Interval = 1;
        }

int x = 388;

private void timer1_Tick(object sender, EventArgs e)
        {
            if (x == 0)
            {
                timer1.Enabled = false;
                this.Close();
            }
            else
            {
                Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width, Screen.PrimaryScreen.WorkingArea.Height - this.Height + x);
                this.Location = p;
                x--;
            }
        }

QuestionCan I make an entire class nullable? Pin
Dewald25-Jan-10 3:20
Dewald25-Jan-10 3:20 
AnswerRe: Can I make an entire class nullable? Pin
Som Shekhar25-Jan-10 3:25
Som Shekhar25-Jan-10 3:25 
GeneralRe: Can I make an entire class nullable? Pin
Dewald25-Jan-10 3:27
Dewald25-Jan-10 3:27 
GeneralRe: Can I make an entire class nullable? Pin
Som Shekhar25-Jan-10 3:33
Som Shekhar25-Jan-10 3:33 
AnswerRe: Can I make an entire class nullable? PinPopular
Luc Pattyn25-Jan-10 3:29
sitebuilderLuc Pattyn25-Jan-10 3:29 
GeneralRe: Can I make an entire class nullable? Pin
EliottA25-Jan-10 4:41
EliottA25-Jan-10 4:41 
GeneralRe: Can I make an entire class nullable? Pin
Dewald25-Jan-10 5:59
Dewald25-Jan-10 5:59 
GeneralRe: Can I make an entire class nullable? Pin
Luc Pattyn25-Jan-10 6:09
sitebuilderLuc Pattyn25-Jan-10 6:09 
Questionregex help [modified] Pin
uglyeyes25-Jan-10 2:54
uglyeyes25-Jan-10 2:54 
AnswerRe: regex help Pin
Luc Pattyn25-Jan-10 2:56
sitebuilderLuc Pattyn25-Jan-10 2:56 
AnswerRe: regex help Pin
#realJSOP25-Jan-10 3:36
mve#realJSOP25-Jan-10 3:36 
GeneralRe: regex help Pin
uglyeyes25-Jan-10 12:01
uglyeyes25-Jan-10 12:01 
GeneralRe: regex help Pin
uglyeyes26-Jan-10 1:16
uglyeyes26-Jan-10 1:16 
GeneralRe: regex help Pin
uglyeyes26-Jan-10 18:06
uglyeyes26-Jan-10 18:06 
GeneralRe: regex help Pin
#realJSOP26-Jan-10 23:26
mve#realJSOP26-Jan-10 23:26 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 10:40
uglyeyes27-Jan-10 10:40 
QuestionReactive Extensions snippets - why no output? Pin
Kevin McFarlane25-Jan-10 2:32
Kevin McFarlane25-Jan-10 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.