Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
AnswerRe: static question Pin
alexey N17-Apr-06 18:10
alexey N17-Apr-06 18:10 
GeneralRe: static question Pin
Old Gun17-Apr-06 19:01
Old Gun17-Apr-06 19:01 
GeneralRe: static question Pin
alexey N17-Apr-06 19:49
alexey N17-Apr-06 19:49 
AnswerRe: static question Pin
Guffa17-Apr-06 20:51
Guffa17-Apr-06 20:51 
GeneralRe: static question Pin
Old Gun17-Apr-06 21:35
Old Gun17-Apr-06 21:35 
GeneralRe: static question Pin
Old Gun18-Apr-06 1:39
Old Gun18-Apr-06 1:39 
QuestionDetect when windows added Pin
Hossein Margani17-Apr-06 16:26
Hossein Margani17-Apr-06 16:26 
Questionsetting new interval value and turning on timer in Parent Form Pin
emran83417-Apr-06 16:00
emran83417-Apr-06 16:00 
Hello,
I have a Win Form name Settings where user can inout int value and save. And this form is a child form of the MainForm. now, I want that, whenever user enters new value in the child form and click Save Button, The MainForm should read the new saved XML (created by child) and turn a timer on with new interval.

I tried the following code,
MainForm myParent = this.Owner as MainForm ;
myParent.updateTimer(); // updateTimer is a public method in MainForm who read the XML file and update accordingly.

Now, i get an error message, "Object refrence is not set to an instance of an object."

I am wondering that, the same piece of code is working some other place and its not working some place. (Even in the same file. ) Can you give me any clue please.

thanks.
AnswerRe: setting new interval value and turning on timer in Parent Form Pin
Robin Panther17-Apr-06 17:02
Robin Panther17-Apr-06 17:02 
QuestionProgress Pin
Sean8917-Apr-06 15:23
Sean8917-Apr-06 15:23 
AnswerRe: Progress Pin
enjoycrack17-Apr-06 16:58
enjoycrack17-Apr-06 16:58 
QuestionHandling Data Error Event Pin
emran83417-Apr-06 15:21
emran83417-Apr-06 15:21 
QuestionGraphics and pixel manipulation Pin
Maksymus00717-Apr-06 13:41
Maksymus00717-Apr-06 13:41 
AnswerRe: Graphics and pixel manipulation Pin
Office Lineman17-Apr-06 13:51
Office Lineman17-Apr-06 13:51 
GeneralRe: Graphics and pixel manipulation Pin
Maksymus00717-Apr-06 22:44
Maksymus00717-Apr-06 22:44 
QuestionDatagridview Pin
thepersonof17-Apr-06 13:03
thepersonof17-Apr-06 13:03 
AnswerRe: Datagridview Pin
Office Lineman17-Apr-06 13:36
Office Lineman17-Apr-06 13:36 
GeneralRe: Datagridview Pin
thepersonof17-Apr-06 22:34
thepersonof17-Apr-06 22:34 
QuestionWSACancel when using RAW TCP Pin
Dave k.a. DPA17-Apr-06 12:13
Dave k.a. DPA17-Apr-06 12:13 
AnswerRe: WSACancel when using RAW TCP Pin
Ed.Poore17-Apr-06 12:19
Ed.Poore17-Apr-06 12:19 
GeneralRe: WSACancel when using RAW TCP Pin
Dave k.a. DPA17-Apr-06 12:31
Dave k.a. DPA17-Apr-06 12:31 
GeneralRe: WSACancel when using RAW TCP Pin
Ed.Poore17-Apr-06 13:12
Ed.Poore17-Apr-06 13:12 
GeneralRe: WSACancel when using RAW TCP Pin
Dave k.a. DPA17-Apr-06 14:34
Dave k.a. DPA17-Apr-06 14:34 
GeneralRe: WSACancel when using RAW TCP Pin
Ed.Poore17-Apr-06 23:29
Ed.Poore17-Apr-06 23:29 
GeneralRe: WSACancel when using RAW TCP Pin
Dave k.a. DPA18-Apr-06 1:41
Dave k.a. DPA18-Apr-06 1:41 

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.