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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ashley Argile97 reputationPosted Oct 12, 2008, 10:09 PM EDT
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