private void HandlePopUp() { if (this.IsDropDownOpen) { this.Focus(); this.IsDropDownOpen = false; _calendar.ReleaseMouseCapture(); } else { Debug.Assert(!this.IsDropDownOpen); _calendar.CaptureMouse(); ProcessTextBox(); } }
private void HandlePopUp() { if (this.IsDropDownOpen) { this.Focus(); this.IsDropDownOpen = false; _calendar.ReleaseMouseCapture(); } else { Debug.Assert(!this.IsDropDownOpen); _calendar.CaptureMouse(); ProcessTextBox(); } }