B
BillG
I have the following defined.
enum DisplayEventType{DISPUTE = 0x0001, ACTION = 0x0002, QUESTION =
0x0004);
DisplayEventType dEventType;
if(DisputesCheckBox.Checked)
dEventType = dEventType & DisplayEventType.DISPUTE;
if(ActionCheckBox.Checked)
dEventType = dEventType & DisplayEventType.ACTION;
if(QuestionCheckBox.Checked)
dEventType = dEventType & DisplayEventType.QUESTION;
later on in my code I want to know if its a dispute, a question or an action
or any combination of the 3
how do I do that?
BillG
enum DisplayEventType{DISPUTE = 0x0001, ACTION = 0x0002, QUESTION =
0x0004);
DisplayEventType dEventType;
if(DisputesCheckBox.Checked)
dEventType = dEventType & DisplayEventType.DISPUTE;
if(ActionCheckBox.Checked)
dEventType = dEventType & DisplayEventType.ACTION;
if(QuestionCheckBox.Checked)
dEventType = dEventType & DisplayEventType.QUESTION;
later on in my code I want to know if its a dispute, a question or an action
or any combination of the 3
how do I do that?
BillG