Esempio n. 1
0
        private bool OnActionModelAdded(string name)
        {
            ActionTypeSelectionForm typeSelectionForm = new ActionTypeSelectionForm();

            typeSelectionForm.ActionInfoName    = name;
            typeSelectionForm.SelectActionType += CreateActionModelInfo;
            typeSelectionForm.ShowDialog();
            return(!typeSelectionForm.Canceled);
        }
Esempio n. 2
0
 private bool OnActionModelAdded(string name)
 {
     ActionTypeSelectionForm typeSelectionForm = new ActionTypeSelectionForm();
     typeSelectionForm.ActionInfoName = name;
     typeSelectionForm.SelectActionType += CreateActionModelInfo;
     typeSelectionForm.ShowDialog();
     return !typeSelectionForm.Canceled;
 }