Hello.
If i have two buttons event handlers how to determined in a calendar selectionchange event handler that which button press first than other.
Hello.
If i have two buttons event handlers how to determined in a calendar selectionchange event handler that which button press first than other.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ashley ArgilePosted Oct 13, 2008, 2:09 AM
public enum State
{
None,
Button1,
Button2
}
and then have a state variable in my class
private State state = None;
Then set the variable with the appropriate logic in your button handlers and reset it after you've tested the state in your CalendarSelectionChange handler.
Regards
Ashley