Click here to Skip to main content
15,884,836 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Sending emails Pin
Afzaal Ahmad Zeeshan4-Dec-15 3:16
professionalAfzaal Ahmad Zeeshan4-Dec-15 3:16 
QuestionSMS Generation Pin
Mohammad Imran Ahmed4-Dec-15 1:27
professionalMohammad Imran Ahmed4-Dec-15 1:27 
AnswerRe: SMS Generation Pin
Richard MacCutchan4-Dec-15 2:01
mveRichard MacCutchan4-Dec-15 2:01 
AnswerRe: SMS Generation Pin
CHill604-Dec-15 2:18
mveCHill604-Dec-15 2:18 
QuestionABCPDF library and using dll Pin
Mol4ok3-Dec-15 23:48
Mol4ok3-Dec-15 23:48 
AnswerRe: ABCPDF library and using dll Pin
OriginalGriff4-Dec-15 0:06
mveOriginalGriff4-Dec-15 0:06 
GeneralRe: ABCPDF library and using dll Pin
Member 1198551412-Mar-18 1:29
Member 1198551412-Mar-18 1:29 
GeneralRe: ABCPDF library and using dll Pin
OriginalGriff12-Mar-18 1:38
mveOriginalGriff12-Mar-18 1:38 
QuestionHow to make a list that contain lists which contain lists Pin
kmkmahesh3-Dec-15 20:53
professionalkmkmahesh3-Dec-15 20:53 
AnswerRe: How to make a list that contain lists which contain lists Pin
OriginalGriff3-Dec-15 21:34
mveOriginalGriff3-Dec-15 21:34 
AnswerRe: How to make a list that contain lists which contain lists Pin
Pete O'Hanlon3-Dec-15 21:37
mvePete O'Hanlon3-Dec-15 21:37 
AnswerRe: How to make a list that contain lists which contain lists Pin
LeHuuTien3-Dec-15 22:15
LeHuuTien3-Dec-15 22:15 

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.