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

C#

 
GeneralRe: Storing Info Between Events Pin
Richard MacCutchan23-Jun-12 5:08
mveRichard MacCutchan23-Jun-12 5:08 
AnswerRe: Storing Info Between Events Pin
Luc Pattyn23-Jun-12 5:11
sitebuilderLuc Pattyn23-Jun-12 5:11 
GeneralRe: Storing Info Between Events Pin
Richard MacCutchan23-Jun-12 5:14
mveRichard MacCutchan23-Jun-12 5:14 
GeneralRe: Storing Info Between Events Pin
Dave Kreskowiak23-Jun-12 5:37
mveDave Kreskowiak23-Jun-12 5:37 
AnswerRe: Storing Info Between Events Pin
Luc Pattyn23-Jun-12 4:04
sitebuilderLuc Pattyn23-Jun-12 4:04 
GeneralRe: Storing Info Between Events Pin
ASPnoob23-Jun-12 7:24
ASPnoob23-Jun-12 7:24 
GeneralRe: Storing Info Between Events Pin
Dave Kreskowiak23-Jun-12 9:56
mveDave Kreskowiak23-Jun-12 9:56 
AnswerRe: Storing Info Between Events Pin
Luc Pattyn23-Jun-12 10:48
sitebuilderLuc Pattyn23-Jun-12 10:48 
(Another garbage sentence was needed to get this post accepted amidst bugs and cache issues, sorry for that)


And the harder half of the job is getting the state back, which requires a cast as I said:
int myState=(int)myControl.Tag;


And no, I don't have a reference about this subject.

Inheriting from a class, or creating a more specialized one, is a fundamental concept in Object-Oriented Programming. There are zillions of articles on the subject, why not try and read Custom Button - Issues with Focus Border, Text Color, etc.[^] (I didn't, it was the first I found using CP search).

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Storing Info Between Events Pin
ignrod27-Jun-12 1:11
ignrod27-Jun-12 1:11 
QuestionConverting BindingSource and Guid [solved] Pin
Midnight Ahri22-Jun-12 17:11
Midnight Ahri22-Jun-12 17:11 
AnswerRe: Converting BindingSource and Guid Pin
OriginalGriff22-Jun-12 19:50
mveOriginalGriff22-Jun-12 19:50 
AnswerRe: Converting BindingSource and Guid Pin
Midnight Ahri22-Jun-12 20:08
Midnight Ahri22-Jun-12 20:08 
GeneralRe: Converting BindingSource and Guid Pin
OriginalGriff22-Jun-12 20:24
mveOriginalGriff22-Jun-12 20:24 
QuestionListbox Pin
Dirk Higbee22-Jun-12 12:57
Dirk Higbee22-Jun-12 12:57 
AnswerRe: Listbox Pin
OriginalGriff22-Jun-12 19:52
mveOriginalGriff22-Jun-12 19:52 
GeneralRe: Listbox Pin
Dirk Higbee23-Jun-12 7:30
Dirk Higbee23-Jun-12 7:30 
QuestionHow to split byte[] to string & bytes Pin
caspidoron22-Jun-12 8:53
caspidoron22-Jun-12 8:53 
AnswerRe: How to split byte[] to string & bytes Pin
Ian Shlasko22-Jun-12 9:00
Ian Shlasko22-Jun-12 9:00 
AnswerRe: How to split byte[] to string & bytes Pin
Richard Andrew x6422-Jun-12 9:02
professionalRichard Andrew x6422-Jun-12 9:02 
QuestionC# work with database Pin
sc steinhayse22-Jun-12 7:33
sc steinhayse22-Jun-12 7:33 
AnswerRe: C# work with database Pin
Ravi Bhavnani23-Jun-12 4:00
professionalRavi Bhavnani23-Jun-12 4:00 
QuestionC# to update table Pin
sc steinhayse22-Jun-12 3:43
sc steinhayse22-Jun-12 3:43 
AnswerRe: C# to update table Pin
PIEBALDconsult22-Jun-12 5:09
mvePIEBALDconsult22-Jun-12 5:09 
GeneralRe: C# to update table Pin
OctavioNA22-Jun-12 7:19
OctavioNA22-Jun-12 7:19 
GeneralRe: C# to update table Pin
PIEBALDconsult22-Jun-12 18:24
mvePIEBALDconsult22-Jun-12 18:24 

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.