Beispiel #1
0
 private void listBoxWord_DoubleClick_1(object sender, EventArgs e)
 {
     if (listBoxWord.SelectedItem != null)
     {
         SelectHandler?.Invoke(this, null);
         Visible = false;
     }
 }
    public override bool OnSelect(Vector3 mousePos, GameObject gObj, Selectable lastSelection)
    {
        if (onSelect != null)
        {
            return(onSelect.Invoke(mousePos, gObj, lastSelection));
        }

        return(false);
    }
Beispiel #3
0
 private void Select_button_Click(object sender, EventArgs e)
 {
     SelectHandler?.Invoke(this, null);
     Close();
 }
 private void OnTypeSelectedEvent(Type type)
 {
     Selection = type;
     selectionCallback.Invoke(type);
 }