public override void DoubleClick(MouseEventArgs e, GUIContainer container)
 {
     //This is a label. Nothing happens when you click on it.
 }
示例#2
0
 public override void DoubleClick(MouseEventArgs e, GUIContainer container)
 {
     this.SelectedIndex = ((e.Position.Y + container.DrawingBounds.Y) / this.ItemDisplayBounds.Y) - 1;
     this.ItemDoubleClickHandler(this.SelectedIndex);
 }
示例#3
0
 /// <summary>
 /// Called whenever this GUI element is clicked on.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void DoubleClick(MouseEventArgs e, GUIContainer container)
 {
     this.DoubleClickEvent?.Invoke(this, new ClickEventArgs(e, container));
 }
 public override void DoubleClick(MouseEventArgs e, GUIContainer container)
 {
     //Single click is good enough for now
 }
 public override void Click(MouseEventArgs e, GUIContainer container)
 {
 }
示例#6
0
 public void PopupChild(GUIContainer child)
 {
     this.Child = child;
 }
示例#7
0
 /// <summary>
 /// Called whenever this GUI element is clicked on.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public abstract void DoubleClick(MouseEventArgs e, GUIContainer container);
示例#8
0
 public override void DoubleClick(MouseEventArgs e, GUIContainer container)
 {
     //Nothing to see here
 }