Ejemplo n.º 1
0
 /// <summary>
 /// Create instance of <see cref="HitTestInfo"/>. Use this to get the HitTest information.
 /// </summary>
 /// <param name="control"><see cref="SuperMarquee"/> for which HitTest is to be performed.</param>
 /// <param name="testPoint">HitTest Point</param>
 public HitTestInfo(SuperMarquee control, Point testPoint)
 {
     if (control != null)
     {
         HitTestInfo test = control.HitTest(testPoint);
         index = test.index;
         point = test.point;
         area = test.area;
     }
     else
     {
         index = -1;
         point = testPoint;
         area = HitTestArea.None;
     }
 }
Ejemplo n.º 2
0
 internal void SetParent(SuperMarquee marquee)
 {
     parent = marquee;
 }
Ejemplo n.º 3
0
		public MarqueeControl(Label label, SuperMarquee marquee, MarqueeData data, Model model)
		{
			Model = model;
			Label = label;
			Marquee = marquee;
			SetData(data);
		}