Exemplo n.º 1
0
        private void btn_CreateWallpaper(object sender, RoutedEventArgs e)
        {
            CreateWallpaperView createWindow = new CreateWallpaperView();

            //createWindow.Owner = this;
            createWindow.Show();
            createWindow.Closed += CreateWindow_Closed;
        }
Exemplo n.º 2
0
        private void CreateWindow_Closed(object sender, EventArgs e)
        {
            CreateWallpaperView createWindow = sender as CreateWallpaperView;

            createWindow.Closed -= CreateWindow_Closed;
        }