public static void MoveTo(Gump who) { Point screen = who.PointToScreen(new Point(who.Width / 2, who.Height / 2)); System.Windows.Forms.Cursor.Position = Engine.m_Display.PointToScreen((System.Drawing.Point)screen); Gumps.Invalidate(); }
public void RemoveAt(int index) { this.m_Array = null; this.m_List.RemoveAt(index); Gumps.Invalidate(); this.m_Count--; }
public static void MoveTo(Gump who) { Point point = who.PointToScreen(new Point(who.Width / 2, who.Height / 2)); Cursor.Position = Engine.m_Display.PointToScreen((Point)point); Gumps.Invalidate(); }
public void RemoveAt(int index) { this.m_Array = (Gump[])null; this.m_List.RemoveAt(index); Gumps.Invalidate(); --this.m_Count; }
public void Remove(Gump ToRemove) { this.m_Array = null; this.m_List.Remove(ToRemove); Gumps.Invalidate(); this.m_Count = this.m_List.Count; }
public void Remove(Gump ToRemove) { this.m_Array = (Gump[])null; this.m_List.Remove((object)ToRemove); Gumps.Invalidate(); this.m_Count = this.m_List.Count; }
public int Add(Gump ToAdd) { this.m_Array = null; Gumps.Invalidate(); ToAdd.Parent = this.m_Owner; this.m_Count++; return(this.m_List.Add(ToAdd)); }
public int Add(Gump ToAdd) { this.m_Array = (Gump[])null; Gumps.Invalidate(); ToAdd.Parent = this.m_Owner; ++this.m_Count; return(this.m_List.Add((object)ToAdd)); }
public void Set(GumpList g) { this.m_List = new ArrayList((ICollection)g.m_List); foreach (Gump gump in this.ToArray()) { gump.Parent = this.m_Owner; } this.m_Array = (Gump[])null; this.m_Count = this.m_List.Count; Gumps.Invalidate(); }
public void Add(GumpList list) { Gump[] gumpArray = list.ToArray(); for (int i = 0; i < gumpArray.Length; i++) { gumpArray[i].Parent = this.m_Owner; this.m_List.Add(gumpArray[i]); } this.m_Array = null; this.m_Count = this.m_List.Count; Gumps.Invalidate(); }
public void Set(GumpList g) { this.m_List = new ArrayList(g.m_List); Gump[] gumpArray = this.ToArray(); for (int i = 0; i < gumpArray.Length; i++) { gumpArray[i].Parent = this.m_Owner; } this.m_Array = null; this.m_Count = this.m_List.Count; Gumps.Invalidate(); }
public void Add(GumpList list) { Gump[] array = list.ToArray(); for (int index = 0; index < array.Length; ++index) { array[index].Parent = this.m_Owner; this.m_List.Add((object)array[index]); } this.m_Array = (Gump[])null; this.m_Count = this.m_List.Count; Gumps.Invalidate(); }
public void Insert(int Index, Gump ToAdd) { this.m_Array = null; Gumps.Invalidate(); ToAdd.Parent = this.m_Owner; if ((Index >= 0) && (Index < this.m_List.Count)) { this.m_List.Insert(Index, ToAdd); } else { this.m_List.Add(ToAdd); } this.m_Count++; }
public void Insert(int Index, Gump ToAdd) { this.m_Array = (Gump[])null; Gumps.Invalidate(); ToAdd.Parent = this.m_Owner; if (Index >= 0 && Index < this.m_List.Count) { this.m_List.Insert(Index, (object)ToAdd); } else { this.m_List.Add((object)ToAdd); } ++this.m_Count; }