Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
Questionto get the font style of a character Pin
janarthanreddy17-Apr-06 19:44
janarthanreddy17-Apr-06 19:44 
QuestionMerging Of Multiple Activex Wrapper Dll Into Single Assembly Pin
vighnesha17-Apr-06 19:31
vighnesha17-Apr-06 19:31 
AnswerRe: Merging Of Multiple Activex Wrapper Dll Into Single Assembly Pin
Jakob Farian Krarup17-Apr-06 19:38
Jakob Farian Krarup17-Apr-06 19:38 
GeneralRe: Merging Of Multiple Activex Wrapper Dll Into Single Assembly Pin
vighnesha17-Apr-06 20:42
vighnesha17-Apr-06 20:42 
QuestionSuggest me for Data Migration tools Pin
mahesh_magham17-Apr-06 18:22
mahesh_magham17-Apr-06 18:22 
Questionhow to get all windows that are programs Pin
g00fyman17-Apr-06 18:18
g00fyman17-Apr-06 18:18 
AnswerRe: how to get all windows that are programs Pin
alexey N17-Apr-06 18:58
alexey N17-Apr-06 18:58 
GeneralRe: how to get all windows that are programs Pin
g00fyman17-Apr-06 19:19
g00fyman17-Apr-06 19:19 
GeneralRe: how to get all windows that are programs Pin
g00fyman17-Apr-06 19:42
g00fyman17-Apr-06 19:42 
Questionstatic question Pin
Old Gun17-Apr-06 18:04
Old Gun17-Apr-06 18:04 
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 

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.