Example #1
0
 public void PutOnTop(GraphicObject g)
 {
     if (GraphicObjects.IndexOf(g) > 0)
     {
         GraphicObjects.Remove(g);
         GraphicObjects.Insert(0, g);
         g.AddToRedrawList();
     }
 }
Example #2
0
		public void PutOnTop(GraphicObject g)
		{
			if (GraphicObjects.IndexOf(g) > 0)
			{
				GraphicObjects.Remove(g);
				GraphicObjects.Insert(0, g);
				g.AddToRedrawList ();
			}
		}