コード例 #1
0
        private void onEditClick(object sender, RoutedEventArgs e)
        {
            DesktopSelection window = new DesktopSelection();

            window.Show();
            Close();
        }
コード例 #2
0
 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();
 }
コード例 #3
0
        private void openSelection(object sender, RoutedEventArgs e)
        {
            DesktopSelection selectionWindow = new DesktopSelection();

            selectionWindow.Show();
        }
コード例 #4
0
 public CreateWindow(DesktopSelection _selectionWindow)
 {
     selectionWindow = _selectionWindow;
     InitializeComponent();
 }