private void onEditClick(object sender, RoutedEventArgs e)
        {
            DesktopSelection window = new DesktopSelection();

            window.Show();
            Close();
        }
 public EditWindow(DesktopSelection _selectionWindow, Desktop _desktop)
 {
     selectionWindow = _selectionWindow;
     originalDesktop = _desktop;
     clonedDesktop   = new Desktop(_desktop.Name, _desktop.Location)
     {
         IsDefault = _desktop.IsDefault, IsFavorite = _desktop.IsFavorite, Background = _desktop.Background
     };
     DataContext = clonedDesktop;
     InitializeComponent();
 }
Beispiel #3
0
        private void openSelection(object sender, RoutedEventArgs e)
        {
            DesktopSelection selectionWindow = new DesktopSelection();

            selectionWindow.Show();
        }
Beispiel #4
0
 public CreateWindow(DesktopSelection _selectionWindow)
 {
     selectionWindow = _selectionWindow;
     InitializeComponent();
 }