Click here to Skip to main content
15,891,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to delete a row in grid view on a button in grid view Pin
Manoj Kumar Rai5-Jun-07 21:19
professionalManoj Kumar Rai5-Jun-07 21:19 
AnswerRe: how to delete a row in grid view on a button in grid view Pin
vibhas19826-Jun-07 2:23
vibhas19826-Jun-07 2:23 
QuestionHow to get a value from other forms Pin
Nine_5-Jun-07 18:43
Nine_5-Jun-07 18:43 
AnswerRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 19:00
protectorChristian Graus5-Jun-07 19:00 
GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:04
Nine_5-Jun-07 20:04 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:21
protectorChristian Graus5-Jun-07 20:21 
GeneralRe: How to get a value from other forms Pin
ScottM15-Jun-07 20:20
ScottM15-Jun-07 20:20 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:22
protectorChristian Graus5-Jun-07 20:22 
smyers wrote:
I don't think properties would work because the first form wont know when the selected index of the listbox on the second form has changed and therefore wont know when to update its textbox(unless you had a thread that continually checked


That's why you use delegates.


smyers wrote:
How would you use delegates to do it?


Create a delegate that passes the value you want to broadcast, in the form with the control that changes. Hook this delegate to a method in the form that you want to inform of a changed value.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:40
Nine_5-Jun-07 20:40 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:48
protectorChristian Graus5-Jun-07 20:48 
GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:51
Nine_5-Jun-07 20:51 
GeneralRe: How to get a value from other forms Pin
ScottM15-Jun-07 20:51
ScottM15-Jun-07 20:51 
GeneralRe: How to get a value from other forms Pin
ScottM15-Jun-07 20:52
ScottM15-Jun-07 20:52 
QuestionComImport question Pin
stebo07285-Jun-07 17:19
stebo07285-Jun-07 17:19 
QuestionC# application works on linux Pin
C#Coudou5-Jun-07 14:41
C#Coudou5-Jun-07 14:41 
AnswerRe: C# application works on linux Pin
Christian Graus5-Jun-07 15:07
protectorChristian Graus5-Jun-07 15:07 
AnswerRe: C# application works on linux Pin
Paul Conrad5-Jun-07 15:35
professionalPaul Conrad5-Jun-07 15:35 
GeneralRe: C# application works on linux Pin
C#Coudou5-Jun-07 16:10
C#Coudou5-Jun-07 16:10 
AnswerRe: C# application works on linux Pin
EvilInide5-Jun-07 20:08
EvilInide5-Jun-07 20:08 
GeneralRe: C# application works on linux Pin
Brady Kelly5-Jun-07 23:31
Brady Kelly5-Jun-07 23:31 
GeneralRe: C# application works on linux Pin
EvilInide6-Jun-07 2:34
EvilInide6-Jun-07 2:34 
GeneralRe: C# application works on linux Pin
Brady Kelly6-Jun-07 3:37
Brady Kelly6-Jun-07 3:37 
Question.Net Drag and Drop Pin
Sergio Paque5-Jun-07 14:05
Sergio Paque5-Jun-07 14:05 
AnswerRe: .Net Drag and Drop Pin
Christian Graus5-Jun-07 15:06
protectorChristian Graus5-Jun-07 15:06 
GeneralRe: .Net Drag and Drop Pin
Sergio Paque5-Jun-07 15:28
Sergio Paque5-Jun-07 15:28 

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.