예제 #1
0
        void OnActionStart(Object send, ActionStartEventArgs e)
        {
            if (ActionDataEnabled)
            {
                ActionDataEnabled = false;
            }

            if (e.ActionName != CurrentAction)
            {
                CurrentAction      = e.ActionName;
                Console.CursorTop  = ActionTop;
                Console.CursorLeft = 0;
                ClearLine();
                Console.Write(e.ActionDescription);
            }

            e.Result = DialogResult.IDOK;
        }
예제 #2
0
 public ActionStartEventArgs(ActionStartEventArgs e)
 {
     this.entity_id = e.entity_id;
     this.block_type = e.block_type;
 }