File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
WinUIGallery/ControlPagesSampleCode/System Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77 var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
88
99 // See the sample code below for how to make the window accessible from the App class.
10- var window = App.Window ;
10+ var window = App.MainWindow ;
1111
1212 // Retrieve the window handle (HWND) of the current WinUI 3 window.
1313 var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 77 var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
88
99 // See the sample code below for how to make the window accessible from the App class.
10- var window = App.Window ;
10+ var window = App.MainWindow ;
1111
1212 // Retrieve the window handle (HWND) of the current WinUI 3 window.
1313 var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 77 var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
88
99 // See the sample code below for how to make the window accessible from the App class.
10- var window = App.Window ;
10+ var window = App.MainWindow ;
1111
1212 // Retrieve the window handle (HWND) of the current WinUI 3 window.
1313 var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 77 FolderPicker openPicker = new Windows.Storage.Pickers.FolderPicker();
88
99 // See the sample code below for how to make the window accessible from the App class.
10- var window = App.Window ;
10+ var window = App.MainWindow ;
1111
1212 // Retrieve the window handle (HWND) of the current WinUI 3 window.
1313 var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 77 FileSavePicker savePicker = new Windows.Storage.Pickers.FileSavePicker();
88
99 // See the sample code below for how to make the window accessible from the App class.
10- var window = App.Window ;
10+ var window = App.MainWindow ;
1111
1212 // Retrieve the window handle (HWND) of the current WinUI 3 window.
1313 var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
You can’t perform that action at this time.
0 commit comments