Example #1
0
 public MouseEvent(Component source, int type, int x, int y, MouseButton mouseButton)
     :base(source, type)
 {
     this.X = x;
     this.Y = y;
     this.MouseButton = mouseButton;
 }
Example #2
0
 public void Remove(Component child)
 {
     childList.Remove(child);
 }
Example #3
0
 public void Add(Component child)
 {
     childList.Add(child);
 }
Example #4
0
 public Event(Component source, int type)
 {
     this.Source = source;
     this.EventType = type;
 }