Exemple #1
0
 private void Changing()
 {
     if (fUpdateCount == 0 && OnChanging != null)
     {
         OnChanging.Invoke(this);
     }
 }
 private void Changing()
 {
     if (OnChanging != null)
     {
         OnChanging.Invoke(this);
     }
 }
Exemple #3
0
 private void Changed()
 {
     if (fUpdateCount == 0 && OnChange != null)
     {
         OnChange.Invoke(this);
     }
 }
Exemple #4
0
 protected virtual void DoResizeEvent()
 {
     if (OnResize != null)
     {
         OnResize.Invoke(this);
     }
 }
 private void Changed()
 {
     if (OnChange != null)
     {
         OnChange.Invoke(this);
     }
 }
Exemple #6
0
 protected virtual void DoExitEvent()
 {
     if (OnExit != null)
     {
         OnExit.Invoke(this);
     }
 }
Exemple #7
0
 protected virtual void DoEnterEvent()
 {
     if (OnEnter != null)
     {
         OnEnter.Invoke(this);
     }
 }
Exemple #8
0
 protected virtual void DoClickEvent()
 {
     if (OnClick != null)
     {
         OnClick.Invoke(this);
     }
 }
Exemple #9
0
        public virtual void ChangeLang()
        {
            if (OnLangChange != null)
            {
                OnLangChange.Invoke(this);
            }

            int num = fControls.Count;

            for (int i = 0; i < num; i++)
            {
                fControls[i].ChangeLang();
            }
        }
Exemple #10
0
        protected virtual void DoHideEvent()
        {
            int num = fControls.Count;

            for (int i = 0; i < num; i++)
            {
                BaseControl ctl = fControls[i];
                if (ctl.fVisible)
                {
                    ctl.DoHideEvent();
                }
            }
            if (OnHide != null)
            {
                OnHide.Invoke(this);
            }
        }