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(); }
private void openSelection(object sender, RoutedEventArgs e) { DesktopSelection selectionWindow = new DesktopSelection(); selectionWindow.Show(); }
public CreateWindow(DesktopSelection _selectionWindow) { selectionWindow = _selectionWindow; InitializeComponent(); }