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

                CloseDropdown(ce == null || ce.AssignValues);
            }
            protected override void OnDeactivate(EventArgs e)
            {
                Debug.WriteLine("OnDeactivate");
                base.OnDeactivate(e);
                CCBoxEventArgs ce = e as CCBoxEventArgs;

                if (ce is object)
                {
                    CloseDropdown(ce.AssignValues);
                }
                else
                {
                    CloseDropdown(true);
                }
            }
예제 #3
0
            protected override void OnDeactivate(EventArgs e)
            {
                base.OnDeactivate(e);
                CCBoxEventArgs ce = e as CCBoxEventArgs;

                if (ce != null)
                {
                    CloseDropdown(ce.AssignValues);
                }
                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);
                }
            }
예제 #4
0
            protected override void OnDeactivate(EventArgs e)
            {
                Debug.WriteLine("OnDeactivate...");
                base.OnDeactivate(e);

                CCBoxEventArgs ce = e as CCBoxEventArgs;

                if (ce != null)
                {
                    CloseDropdown(ce.AssignValues);
                }
                else
                {
                    //call from framework.
                    CloseDropdown(true);
                }
            }