Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
QuestionRe: Shortcut key windows application C# Pin
Gerry Schmitz10-Nov-16 7:07
mveGerry Schmitz10-Nov-16 7:07 
QuestionCode of Decrease and increase for RichTextBox ? Pin
Member 24584679-Nov-16 22:49
Member 24584679-Nov-16 22:49 
AnswerRe: Code of Decrease and increase for RichTextBox ? Pin
Richard MacCutchan9-Nov-16 22:58
mveRichard MacCutchan9-Nov-16 22:58 
QuestionConfig-R and security Pin
Rob Philpott8-Nov-16 22:29
Rob Philpott8-Nov-16 22:29 
AnswerRe: Config-R and security Pin
Richard Deeming9-Nov-16 2:36
mveRichard Deeming9-Nov-16 2:36 
Questionhow to convery binary string to image Pin
Rıza Berkay Ayçelebi8-Nov-16 2:51
Rıza Berkay Ayçelebi8-Nov-16 2:51 
AnswerRe: how to convery binary string to image Pin
V.8-Nov-16 3:15
professionalV.8-Nov-16 3:15 
QuestionTheading with TCPListner Optimization Pin
maher khalil7-Nov-16 4:37
maher khalil7-Nov-16 4:37 
GeneralRe: Theading with TCPListner Optimization Pin
harold aptroot7-Nov-16 4:53
harold aptroot7-Nov-16 4:53 
GeneralRe: Theading with TCPListner Optimization Pin
maher khalil7-Nov-16 4:58
maher khalil7-Nov-16 4:58 
AnswerRe: Theading with TCPListner Optimization Pin
Paulo Zemek7-Nov-16 4:58
mvaPaulo Zemek7-Nov-16 4:58 
GeneralRe: Theading with TCPListner Optimization Pin
maher khalil7-Nov-16 5:04
maher khalil7-Nov-16 5:04 
GeneralRe: Theading with TCPListner Optimization Pin
maher khalil7-Nov-16 5:06
maher khalil7-Nov-16 5:06 
GeneralRe: Theading with TCPListner Optimization Pin
Paulo Zemek7-Nov-16 5:15
mvaPaulo Zemek7-Nov-16 5:15 
GeneralRe: Theading with TCPListner Optimization Pin
maher khalil8-Nov-16 2:38
maher khalil8-Nov-16 2:38 
GeneralRe: Theading with TCPListner Optimization Pin
Paulo Zemek8-Nov-16 6:01
mvaPaulo Zemek8-Nov-16 6:01 
GeneralRe: Theading with TCPListner Optimization Pin
maher khalil13-Nov-16 22:28
maher khalil13-Nov-16 22:28 
GeneralRe: Theading with TCPListner Optimization Pin
Paulo Zemek17-Nov-16 7:05
mvaPaulo Zemek17-Nov-16 7:05 
AnswerRe: Theading with TCPListner Optimization Pin
Ravindra.P.C10-Nov-16 0:32
professionalRavindra.P.C10-Nov-16 0:32 
Questionclean form1 with button the other form2 calling a class Pin
antonio_dsanchez7-Nov-16 3:56
antonio_dsanchez7-Nov-16 3:56 
AnswerRe: clean form1 with button the other form2 calling a class Pin
OriginalGriff7-Nov-16 4:15
mveOriginalGriff7-Nov-16 4:15 
GeneralRe: clean form1 with button the other form2 calling a class Pin
antonio_dsanchez7-Nov-16 4:57
antonio_dsanchez7-Nov-16 4:57 
QuestionClass Library instance management ? Pin
BillWoodruff7-Nov-16 0:59
professionalBillWoodruff7-Nov-16 0:59 
Assume you create a Windows Class Library, 'MyLibrary'; you create a Windows Form project 'MyProject;' you add a reference to MyLibrary's .dll to MyProject.

If MyLibrary has a static variable, 'MyVar,' every instance of MyLibrary in MyProject will, of course, access the one-and-only MyVar.

However, what if you want each instance of MyLibrary to store a reference to itself that can be accessed from outside the scope of the instance ... as if each instance of MyLibrary had a unique static value ?

Perhaps there is a way using separate Application Contexts ?

Will add code samples, shortly (hardware problems, here).

thanks, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

AnswerRe: Class Library instance management ? Pin
Midi_Mick7-Nov-16 1:57
professionalMidi_Mick7-Nov-16 1:57 
AnswerRe: Class Library instance management ? Pin
Jochen Arndt7-Nov-16 2:06
professionalJochen Arndt7-Nov-16 2:06 

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.