public KeyboardEditionViewModel( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard editedKeyboard ) : base(root, wizardManager, false) { Root.EditedContext = new VMContextEditable( root, editedKeyboard, Root.Config, root.SkinConfiguration ); Next = new SavingStepViewModel( Root, WizardManager, EditedContext.KeyboardVM.Model ); Title = String.Format( R.KeyboardEditionStepTitle, editedKeyboard.Name ); Description = R.KeyboardEditionStepDesc; }
public KeyboardEditionViewModel( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard editedKeyboard ) : base(root, wizardManager, false) { Root.EditedContext = new VMContextEditable( root, editedKeyboard, Root.Config, root.SkinConfiguration ); Next = new SavingStepViewModel( Root, WizardManager, EditedContext.KeyboardVM.Model ); Title = String.Format( R.KeyboardEditionStepTitle, editedKeyboard.Name ); Description = R.KeyboardEditionStepDesc; _autoSaveContextTimer = new DispatcherTimer( DispatcherPriority.Background ); _autoSaveContextTimer.Interval = new TimeSpan( 0, 0, 30 ); }