Example #1
0
        public void CloneWindow(WindowItemVM parent)
        {
            // Clone parent window
            WindowItemVM    windowItemVMClone     = ContextHelper.CloneWindow(parent);
            ShortcutsWindow shortcutsWindowCloned = new ShortcutsWindow();

            shortcutsWindowCloned.DataContext = windowItemVMClone;
            shortcutsWindowCloned.Show();
            SaveData.SaveShortcuts(false);
        }