public void Execute(object parameter)
        {
            EnfuseSettingsWnd wnds = new EnfuseSettingsWnd {
                DataContext = _settings
            };

            if (wnds.ShowDialog() == true)
            {
                IMenuAction action = parameter as IMenuAction;
                if (action != null)
                {
                    ActionExecuteWnd wnd = new ActionExecuteWnd(action);
                    wnd.ShowDialog();
                }
            }
        }
Example #2
0
 public void Execute(object parameter)
 {
     EnfuseSettingsWnd wnds = new EnfuseSettingsWnd {DataContext = _settings};
     if (wnds.ShowDialog() == true)
     {
         IMenuAction action = parameter as IMenuAction;
         if (action != null)
         {
             ActionExecuteWnd wnd = new ActionExecuteWnd(action);
             wnd.ShowDialog();
         }
     }
 }