Click here to Skip to main content
15,042,814 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: ReactiveUI-WinForms bind combo datasource after selecting another combobox Pin
Richard MacCutchan31-Oct-18 6:54
mveRichard MacCutchan31-Oct-18 6:54 
GeneralRe: ReactiveUI-WinForms bind combo datasource after selecting another combobox Pin
Francisco Gonçalves31-Oct-18 13:31
professionalFrancisco Gonçalves31-Oct-18 13:31 
QuestionHello there. how to do a dynamic design (colors, background color etc ...)? Pin
erdalczr15-Oct-18 16:13
Membererdalczr15-Oct-18 16:13 
AnswerRe: Hello there. how to do a dynamic design (colors, background color etc ...)? Pin
Pete O'Hanlon15-Oct-18 19:21
mvePete O'Hanlon15-Oct-18 19:21 
GeneralRe: Hello there. how to do a dynamic design (colors, background color etc ...)? Pin
erdalczr17-Oct-18 16:29
Membererdalczr17-Oct-18 16:29 
Rant[REPOST] Hello there. how to do a dynamic design (colors, background color etc ...)? Pin
Richard Deeming16-Oct-18 0:49
mveRichard Deeming16-Oct-18 0:49 
QuestionHow to pass data from two or more forms ? Pin
game_builder25-Jul-18 22:10
Membergame_builder25-Jul-18 22:10 
AnswerRe: How to pass data from two or more forms ? Pin
Richard Deeming26-Jul-18 1:42
mveRichard Deeming26-Jul-18 1:42 
Assuming Form1 creates and displays the Form2 instance, the simplest option would be for Form2 to raise a custom event when the values change. Form1 would subscribe to that event, and update its own values accordingly.

Alternatively, Form2 would need a reference to the instance of Form1, and would call a public method on the form to update the values. You'll probably want to use an interface for the reference so that the implementation isn't tied to a single concrete class.

Or you could use the Mediator pattern. Form2 would publish a message when its values changed. Form1 would subscribe to that message and update its values accordingly.

Transferring information between two forms, Part 1: Parent to Child[^]
Transferring information between two forms, Part 2: Child to Parent[^]
Transferring information between two forms, Part 3: Child to Child[^]

Mediator Design Pattern[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

AnswerRe: How to pass data from two or more forms ? Pin
Member 1375766214-Sep-18 5:19
MemberMember 1375766214-Sep-18 5:19 
GeneralDNN 9.x Internal Server Error Pin
Member 1380608528-May-18 13:03
MemberMember 1380608528-May-18 13:03 
GeneralRe: DNN 9.x Internal Server Error Pin
Gerry Schmitz30-May-18 10:00
mveGerry Schmitz30-May-18 10:00 
GeneralRe: DNN 9.x Internal Server Error Pin
Richard Deeming31-May-18 1:23
mveRichard Deeming31-May-18 1:23 
GeneralDotnetnuke Login issue with Citrix SSL Offloading Pin
Member 1380608530-Apr-18 23:41
MemberMember 1380608530-Apr-18 23:41 
GeneralRe: Dotnetnuke Login issue with Citrix SSL Offloading Pin
Pete O'Hanlon30-Apr-18 23:55
mvePete O'Hanlon30-Apr-18 23:55 
QuestionWinForms NIC Performance Counter Pin
Member 1380586930-Apr-18 20:05
MemberMember 1380586930-Apr-18 20:05 
SuggestionRe: WinForms NIC Performance Counter Pin
Richard Deeming1-May-18 1:19
mveRichard Deeming1-May-18 1:19 
GeneralRe: WinForms NIC Performance Counter Pin
Member 138058691-May-18 1:28
MemberMember 138058691-May-18 1:28 
GeneralRe: WinForms NIC Performance Counter Pin
Richard Deeming1-May-18 1:32
mveRichard Deeming1-May-18 1:32 
GeneralRe: WinForms NIC Performance Counter Pin
Member 138058691-May-18 1:33
MemberMember 138058691-May-18 1:33 
Questiontextbox input Pin
User 136751143-Mar-18 13:03
MemberUser 136751143-Mar-18 13:03 
AnswerRe: textbox input Pin
Richard MacCutchan3-Mar-18 21:11
mveRichard MacCutchan3-Mar-18 21:11 
AnswerRe: textbox input Pin
User 418025417-Jun-18 3:54
MemberUser 418025417-Jun-18 3:54 
QuestionWhat is best Online Decompiler For Exe Code Reverse( C# and delphi) Pin
Member 134632896-Nov-17 21:29
MemberMember 134632896-Nov-17 21:29 
AnswerRe: What is best Online Decompiler For Exe Code Reverse( C# and delphi) Pin
AdrianG00116-Apr-18 4:38
MemberAdrianG00116-Apr-18 4:38 
QuestionWinforms VS 2015 Community with encrypted SQLite Pin
Member 1271965811-Jan-17 3:08
MemberMember 1271965811-Jan-17 3:08 

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.