Ejemplo n.º 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);
                }
            }
Ejemplo n.º 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);
                }
            }
Ejemplo n.º 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);
                }
            }