예제 #1
0
 private void scratch1_MouseDown(object sender, MouseEventArgs e)
 {
     if (ModifierKeys.HasFlag(Keys.Control))
     {
         SmartEvent selected = Selected();
         if (selected != null)
         {
             SmartAction action = selected.GetSelectedAction();
             if (action != null && action.ID == 80) // TRIGGER TIMED EVENT
             {
                 RequestNewSAIWindow(this, new EventArgsRequestNewSAIWindow(action.parameters[0].GetValue(), SAIType.TimedActionList));
             }
         }
     }
 }