Exemple #1
0
 protected override void ProcessDown(ref MouseEventExtArgs e)
 {
     if (IsDoubleClick(e))
     {
         e = e.ToDoubleClickEventArgs();
     }
     base.ProcessDown(ref e);
 }
 protected override void ProcessDown(ref MouseEventExtArgs e)
 {
     if (IsDoubleClick(e))
     {
         e = e.ToDoubleClickEventArgs();
     }
     base.ProcessDown(ref e);
 }
Exemple #3
0
 // Token: 0x0600028C RID: 652 RVA: 0x0000E2FC File Offset: 0x0000C4FC
 protected virtual void ProcessUp(ref MouseEventExtArgs e)
 {
     if (this.m_SingleDown.Contains(e.Button))
     {
         this.OnUp(e);
         this.OnUpExt(e);
         if (e.Handled)
         {
             return;
         }
         this.OnClick(e);
         this.m_SingleDown.Remove(e.Button);
     }
     if (this.m_DoubleDown.Contains(e.Button))
     {
         e = e.ToDoubleClickEventArgs();
         this.OnUp(e);
         this.OnDoubleClick(e);
         this.m_DoubleDown.Remove(e.Button);
     }
 }
Exemple #4
0
        protected virtual void ProcessUp(ref MouseEventExtArgs e)
        {
            if (m_SingleDown.Contains(e.Button))
            {
                OnUp(e);
                OnUpExt(e);
                if (e.Handled)
                {
                    return;
                }
                OnClick(e);
                m_SingleDown.Remove(e.Button);
            }

            if (m_DoubleDown.Contains(e.Button))
            {
                e = e.ToDoubleClickEventArgs();
                OnUp(e);
                OnDoubleClick(e);
                m_DoubleDown.Remove(e.Button);
            }
        }