Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: help making class available to all Pin
BobJanova20-Mar-14 7:55
BobJanova20-Mar-14 7:55 
GeneralRe: help making class available to all Pin
Bosskardo21-Mar-14 1:44
Bosskardo21-Mar-14 1:44 
QuestionMessage Removed Pin
20-Mar-14 3:39
protectorMarco Bertschi20-Mar-14 3:39 
Questionhow to use Response.Clear() in c# Pin
rincy sivan20-Mar-14 1:51
rincy sivan20-Mar-14 1:51 
AnswerRe: how to use Response.Clear() in c# Pin
Rob Philpott20-Mar-14 3:02
Rob Philpott20-Mar-14 3:02 
Questionc# code to copy paste whole pivot table in another sheet of excel Pin
rajnknit0719-Mar-14 23:32
rajnknit0719-Mar-14 23:32 
QuestionRe: c# code to copy paste whole pivot table in another sheet of excel Pin
Eddy Vluggen20-Mar-14 10:27
professionalEddy Vluggen20-Mar-14 10:27 
Question[solved] Passage of events between WinForms Pin
Mario 5619-Mar-14 23:27
Mario 5619-Mar-14 23:27 
Hi all,
I would like to know what is the best way to manage the passage of events between WinForms.
I have to click on the MainForm 6 buttons with either the mouse or using 6 corresponding digital inputs.
Obviously with the mouse there are no problems, but to use the digital inputs as mouse-clicks, I have written a class that runs a background timer-thread that reads the digital inputs and uses delegates to notify the MainForm on the changes of the digital inputs (from 0 to 1) so that his handlers can perform the function:
key-x.PerformClick()
to call the method linked to the x button.

My problem is: how can I do it as fast, clean and safe using MainForm modal-forms childs ? And overall, what about with the children of the children that can be up to the 4-th level depth ? The 6 buttons have form by form always to perform different operations.
OK, I can use a chain of delegates among the various modal-form-childs but it is ugly and not so simple, fast and very safe to realize.

Any idea ?

modified 24-Mar-14 12:20pm.

QuestionRe: Passage of events between WinForms Pin
Eddy Vluggen20-Mar-14 6:37
professionalEddy Vluggen20-Mar-14 6:37 
AnswerRe: Passage of events between WinForms Pin
Mario 5620-Mar-14 7:33
Mario 5620-Mar-14 7:33 
GeneralRe: Passage of events between WinForms Pin
Eddy Vluggen20-Mar-14 10:35
professionalEddy Vluggen20-Mar-14 10:35 
GeneralRe: Passage of events between WinForms Pin
Mario 5620-Mar-14 14:44
Mario 5620-Mar-14 14:44 
GeneralRe: Passage of events between WinForms Pin
Eddy Vluggen21-Mar-14 7:29
professionalEddy Vluggen21-Mar-14 7:29 
AnswerRe: Passage of events between WinForms Pin
BobJanova20-Mar-14 8:06
BobJanova20-Mar-14 8:06 
GeneralRe: Passage of events between WinForms Pin
Mario 5620-Mar-14 9:51
Mario 5620-Mar-14 9:51 
GeneralRe: Passage of events between WinForms Pin
BobJanova21-Mar-14 0:20
BobJanova21-Mar-14 0:20 
GeneralRe: Passage of events between WinForms [Solved] Pin
Mario 5621-Mar-14 6:56
Mario 5621-Mar-14 6:56 
QuestionConvert HTML content to Rtf format or save it into Rtf file without the help of interop dll in c# Pin
Member 1068161419-Mar-14 19:09
Member 1068161419-Mar-14 19:09 
AnswerRe: Convert HTML content to Rtf format or save it into Rtf file without the help of interop dll in c# Pin
Eddy Vluggen20-Mar-14 6:34
professionalEddy Vluggen20-Mar-14 6:34 
Questionc# Transform a pictureBox Pin
Ron Wensley19-Mar-14 14:06
professionalRon Wensley19-Mar-14 14:06 
AnswerRe: c# Transform a pictureBox Pin
Dave Kreskowiak19-Mar-14 14:30
mveDave Kreskowiak19-Mar-14 14:30 
GeneralRe: c# Transform a pictureBox Pin
Ron Wensley19-Mar-14 15:03
professionalRon Wensley19-Mar-14 15:03 
GeneralRe: c# Transform a pictureBox Pin
Dave Kreskowiak19-Mar-14 17:10
mveDave Kreskowiak19-Mar-14 17:10 
QuestionProblem with process.startinfo Pin
turbosupramk319-Mar-14 7:09
turbosupramk319-Mar-14 7:09 
AnswerRe: Problem with process.startinfo Pin
Richard Deeming19-Mar-14 7:28
mveRichard Deeming19-Mar-14 7: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.