Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski9-Dec-15 5:07
Robert Kamarowski9-Dec-15 5:07 
QuestionTask.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 5:19
professionalKevin Marois8-Dec-15 5:19 
AnswerRe: Task.ContinueWith Return Value Pin
Richard Deeming8-Dec-15 6:04
mveRichard Deeming8-Dec-15 6:04 
GeneralRe: Task.ContinueWith Return Value Pin
Dave Kreskowiak8-Dec-15 6:09
mveDave Kreskowiak8-Dec-15 6:09 
GeneralRe: Task.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 6:22
professionalKevin Marois8-Dec-15 6:22 
AnswerRe: Task.ContinueWith Return Value Pin
Dave Kreskowiak8-Dec-15 6:08
mveDave Kreskowiak8-Dec-15 6:08 
GeneralRe: Task.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 6:23
professionalKevin Marois8-Dec-15 6:23 
GeneralRe: Task.ContinueWith Return Value Pin
Dave Kreskowiak8-Dec-15 7:20
mveDave Kreskowiak8-Dec-15 7:20 
QuestionMessage Removed Pin
7-Dec-15 15:59
Eilson Tang7-Dec-15 15:59 
AnswerMessage Removed Pin
7-Dec-15 16:38
professionalBillWoodruff7-Dec-15 16:38 
GeneralMessage Removed Pin
7-Dec-15 16:43
Eilson Tang7-Dec-15 16:43 
GeneralMessage Removed Pin
7-Dec-15 16:56
professionalBillWoodruff7-Dec-15 16:56 
QuestionThreads and Dispatcher Pin
Member 121764286-Dec-15 6:23
Member 121764286-Dec-15 6:23 
AnswerRe: Threads and Dispatcher Pin
Richard Deeming7-Dec-15 1:22
mveRichard Deeming7-Dec-15 1:22 
Questionhow Select a DataGridView row after TextBox value c# Pin
Carlos_paiva5-Dec-15 0:58
Carlos_paiva5-Dec-15 0:58 
AnswerRe: how Select a DataGridView row after TextBox value c# Pin
OriginalGriff5-Dec-15 1:23
mveOriginalGriff5-Dec-15 1:23 
QuestionMaking a program that converts speech to text Pin
Member 120871384-Dec-15 19:10
Member 120871384-Dec-15 19:10 
AnswerRe: Making a program that converts speech to text Pin
BillWoodruff4-Dec-15 22:55
professionalBillWoodruff4-Dec-15 22:55 
Questionhow to update the datagrid present on c# gui from c# dll. Pin
Member 93228874-Dec-15 7:49
Member 93228874-Dec-15 7:49 
AnswerRe: how to update the datagrid present on c# gui from c# dll. Pin
Eddy Vluggen4-Dec-15 7:58
professionalEddy Vluggen4-Dec-15 7:58 
Member 9322887 wrote:
Now the processing going in dll is to be shown on application gui
Add a callback-method to the signature of your "Load" method (an Action). Call this method from within the Load-method every 500 ms or so, whenever you think the GUI needs be updated.

From your GUI-thread, launch a thread that finds the correct type in your DLL and have it call the Load method using reflection. Whenever the callback is fired, synchronize with the mainthread and update the GUI.

If you don't like the concept of a callback-method, then create an "UpdateUI" event on the same class that the caller could subscribe to.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: how to update the datagrid present on c# gui from c# dll. Pin
OriginalGriff4-Dec-15 8:02
mveOriginalGriff4-Dec-15 8:02 
AnswerRe: how to update the datagrid present on c# gui from c# dll. Pin
OriginalGriff4-Dec-15 8:24
mveOriginalGriff4-Dec-15 8:24 
QuestionSending emails Pin
Mohammad Imran Ahmed4-Dec-15 1:29
professionalMohammad Imran Ahmed4-Dec-15 1:29 
AnswerRe: Sending emails Pin
Eddy Vluggen4-Dec-15 1:57
professionalEddy Vluggen4-Dec-15 1:57 
AnswerRe: Sending emails Pin
CHill604-Dec-15 2:16
mveCHill604-Dec-15 2:16 

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.