Click here to Skip to main content
15,885,829 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can i create one button for two events in C# 2008 vs? Pin
PIEBALDconsult27-May-11 13:44
mvePIEBALDconsult27-May-11 13:44 
QuestionGetting values from enum with [Flags] attribute Pin
Łukasz Nowakowski19-May-11 21:49
Łukasz Nowakowski19-May-11 21:49 
AnswerRe: Getting values from enum with [Flags] attribute Pin
markovl19-May-11 22:07
markovl19-May-11 22:07 
GeneralRe: Getting values from enum with [Flags] attribute Pin
Łukasz Nowakowski19-May-11 22:09
Łukasz Nowakowski19-May-11 22:09 
AnswerRe: Getting values from enum with [Flags] attribute Pin
markovl19-May-11 22:28
markovl19-May-11 22:28 
GeneralRe: Getting values from enum with [Flags] attribute Pin
Łukasz Nowakowski19-May-11 22:30
Łukasz Nowakowski19-May-11 22:30 
AnswerRe: Getting values from enum with [Flags] attribute [modified] Pin
Luc Pattyn20-May-11 1:31
sitebuilderLuc Pattyn20-May-11 1:31 
GeneralRe: Getting values from enum with [Flags] attribute Pin
Łukasz Nowakowski20-May-11 1:44
Łukasz Nowakowski20-May-11 1:44 
Maybe I'm to tired, but I don't see how does it brakes those guidelines. I have Value1, Value2, Value3 and Value4 as my enumeration values, and for "commonly used flag combinations" I have:
Value13, that means Value1 OR Value3
and
Value24, that means Value2 OR Value4
Value13 and Value24 mean "Value 1 or 3", "Value 2 or 4", not "Value 13", "Value 24". Obviously, this enum is just an example and in my real code it's more meaningful.
Don't forget to rate answer, that helped you. It will allow other people find their answers faster.

GeneralRe: Getting values from enum with [Flags] attribute Pin
Luc Pattyn20-May-11 2:02
sitebuilderLuc Pattyn20-May-11 2:02 
GeneralRe: Getting values from enum with [Flags] attribute Pin
markovl20-May-11 1:44
markovl20-May-11 1:44 
QuestionImport Slide ppt Pin
om_metab19-May-11 2:35
om_metab19-May-11 2:35 
AnswerRe: Import Slide ppt Pin
Pete O'Hanlon19-May-11 2:39
mvePete O'Hanlon19-May-11 2:39 
GeneralRe: Import Slide ppt Pin
om_metab19-May-11 3:32
om_metab19-May-11 3:32 
GeneralRe: Import Slide ppt Pin
Pete O'Hanlon19-May-11 3:45
mvePete O'Hanlon19-May-11 3:45 
QuestionSubscription (VB6 to C#) Pin
JSvard18-May-11 22:33
JSvard18-May-11 22:33 
AnswerRe: Subscription (VB6 to C#) Pin
RobCroll19-May-11 6:03
RobCroll19-May-11 6:03 
GeneralRe: Subscription (VB6 to C#) Pin
JSvard19-May-11 23:53
JSvard19-May-11 23:53 
GeneralRe: Subscription (VB6 to C#) Pin
RobCroll20-May-11 0:29
RobCroll20-May-11 0:29 
GeneralRe: Subscription (VB6 to C#) Pin
JSvard20-May-11 1:08
JSvard20-May-11 1:08 
AnswerRe: Subscription (VB6 to C#) Pin
BobJanova20-May-11 3:28
BobJanova20-May-11 3:28 
GeneralRe: Subscription (VB6 to C#) Pin
JSvard20-May-11 3:47
JSvard20-May-11 3:47 
GeneralRe: Subscription (VB6 to C#) Pin
BobJanova20-May-11 6:47
BobJanova20-May-11 6:47 
QuestionWorking with OleDb and Null Values Pin
Matt U.18-May-11 13:28
Matt U.18-May-11 13:28 
AnswerRe: Working with OleDb and Null Values Pin
PIEBALDconsult18-May-11 14:30
mvePIEBALDconsult18-May-11 14:30 
GeneralRe: Working with OleDb and Null Values Pin
Matt U.18-May-11 14:48
Matt U.18-May-11 14:48 

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.