Click here to Skip to main content
15,918,617 members
Home / Discussions / C#
   

C#

 
Questionsqlconnection by_IP Pin
Mohammed Elkholy10-Jun-06 11:09
Mohammed Elkholy10-Jun-06 11:09 
AnswerRe: sqlconnection by_IP Pin
Guffa10-Jun-06 11:19
Guffa10-Jun-06 11:19 
Questionrunning two UI threads in same application Pin
venkyp10-Jun-06 10:43
venkyp10-Jun-06 10:43 
Questiontext files Pin
rcwoods10-Jun-06 9:13
rcwoods10-Jun-06 9:13 
AnswerRe: text files Pin
Guffa10-Jun-06 11:06
Guffa10-Jun-06 11:06 
QuestionHow can I alter the property of the main form control from a secondary form? Pin
AngryC10-Jun-06 7:45
AngryC10-Jun-06 7:45 
AnswerRe: How can I alter the property of the main form control from a secondary form? Pin
led mike10-Jun-06 17:06
led mike10-Jun-06 17:06 
AnswerRe: How can I alter the property of the main form control from a secondary form? Pin
engsrini10-Jun-06 20:48
engsrini10-Jun-06 20:48 
Threre are two ways.
1. you could pass the mainform reference to secondary form in the secorndaryform's contructor and use reference to change backcolor property.
mainFrm.BackColor=value;

or
2. Create an event in the secondary form which the mainform should register. when ever you want to change mainform backcolor just trigger the event from secondary form. The mainform's event handler should do this.BackColor=value;
Hope this helps.
Thanks and Regards,
SriniSmile | :)
GeneralRe: How can I alter the property of the main form control from a secondary form? Pin
AngryC11-Jun-06 11:58
AngryC11-Jun-06 11:58 
GeneralRe: How can I alter the property of the main form control from a secondary form? Pin
engsrini20-Jun-06 8:03
engsrini20-Jun-06 8:03 
QuestionIf an exception is thrown inside a lock {...} [modified] Pin
Marc Clifton10-Jun-06 7:24
mvaMarc Clifton10-Jun-06 7:24 
AnswerRe: If an exception is thrown inside a lock {...} [modified] Pin
Ravi Bhavnani10-Jun-06 9:42
professionalRavi Bhavnani10-Jun-06 9:42 
GeneralRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 8:49
Guffa10-Jun-06 8:49 
GeneralRe: calculating diff between 2 dates Pin
Yustme10-Jun-06 8:50
Yustme10-Jun-06 8:50 
AnswerRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 11:16
Guffa10-Jun-06 11:16 
AnswerRe: calculating diff between 2 dates Pin
Guffa10-Jun-06 22:27
Guffa10-Jun-06 22:27 
GeneralRe: calculating diff between 2 dates [modified] Pin
Yustme11-Jun-06 0:16
Yustme11-Jun-06 0:16 
QuestionNat Traversal Problem Pin
snouto10-Jun-06 6:46
snouto10-Jun-06 6:46 
QuestionProblem in UnmanagedTypes Pin
EngHafez10-Jun-06 5:28
EngHafez10-Jun-06 5:28 
QuestionParse text file and load data to text boxes Pin
Saamir10-Jun-06 4:57
Saamir10-Jun-06 4:57 
AnswerRe: Parse text file and load data to text boxes Pin
Nafiseh Salmani10-Jun-06 22:39
Nafiseh Salmani10-Jun-06 22:39 
GeneralRe: Parse text file and load data to text boxes [modified] Pin
Saamir11-Jun-06 4:35
Saamir11-Jun-06 4:35 
Questiontray application pocket pc Pin
NikoTanghe10-Jun-06 3:58
NikoTanghe10-Jun-06 3:58 
QuestionDataGridView.SelectedRows Pin
peshawarcoder10-Jun-06 3:38
peshawarcoder10-Jun-06 3:38 
QuestionDining Philosopher Problem Pin
jazi-b10-Jun-06 3:26
jazi-b10-Jun-06 3:26 

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.