protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);

            int?id = GetIDFromIDMap(e.X, e.Y);

            if (id != null)
            {
                if (downID == id)
                {
                    crumbList[(int)id].Clicked = false;
                    var ea = new CrumbBarClickEventArgs((int)id);
                    if (CrumbClicked != null)
                    {
                        CrumbClicked.Invoke(this, ea);
                    }
                }
            }

            downID = null;
        }
Example #2
0
		protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);

			int? id=GetIDFromIDMap(e.X, e.Y);
			if(id!=null)
			{
				if(downID==id)
				{
					crumbList[(int)id].Clicked=false;
					var ea=new CrumbBarClickEventArgs((int)id);
					if(CrumbClicked!=null) { CrumbClicked.Invoke(this, ea); }
				}
			}

			downID=null;
		}