Ejemplo n.º 1
0
 /// <summary>
 /// Creates the new action user interface.
 /// </summary>
 /// <param name="newActionUserInterface">The new action user interface.</param>
 /// <returns>The new action user interface.</returns>
 public FrameworkElement CreateNewActionUserInterface(INewActionUserInterface newActionUserInterface)
 {
     return(new NewOpenFolderActionUserInterface
     {
         DataContext = this,
         NewActionUserInterface = newActionUserInterface
     });
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the new action user interface.
 /// </summary>
 /// <param name="newActionUserInterface">The new action user interface.</param>
 /// <returns>The user interface for the new action.</returns>
 public FrameworkElement CreateNewActionUserInterface(INewActionUserInterface newActionUserInterface)
 {
     //  Create the user interface, set it's data context to the action instance.
     return(new NewExecuteProgramActionUserInterface
     {
         DataContext = this,
         NewActionUserInterface = newActionUserInterface
     });
 }