예제 #1
0
            protected override void OnDeactivate(EventArgs e)
            {
                //Debug.WriteLine("OnDeactivate");
                base.OnDeactivate(e);
                CustomComboBoxEventArgs ce = e as CustomComboBoxEventArgs;

                if (ce != null)
                {
                    CloseDropdown(ce.Validate);
                }
                else
                {
                    // If not custom event arguments passed, means that this method was called from the
                    // framework. We assume that the checked values should be registered regardless.
                    CloseDropdown(true);
                }
            }
예제 #2
0
 public void ForceDeactivate(CustomComboBoxEventArgs e)
 {
     OnDeactivate(e);
 }
예제 #3
0
 public void ForceDeactivate(CustomComboBoxEventArgs e)
 {
     OnDeactivate(e);
 }