예제 #1
0
 private void options_MouseButtonDown(GuiCursorInputEventArgs e, object sender)
 {
     if (e.PressedButtons.Contains(MouseButtons.LeftButton))
     {
         options.Press();
     }
 }
예제 #2
0
 void start_MouseButtonDown(GuiCursorInputEventArgs e, object sender)
 {
     if (e.PressedButtons.Contains(MouseButtons.LeftButton))
     {
         start.Press();
     }
 }
예제 #3
0
        private void button_MouseButtonDown(GuiCursorInputEventArgs e, object sender)
        {
            if (e.PressedButtons.Contains(MouseButtons.LeftButton))
            {
                Button button = sender as Button;

                button.Press();
            }
        }