File tree 5 files changed +5
-5
lines changed
WinUIGallery/ControlPagesSampleCode/System
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
8
8
9
9
// 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 ;
11
11
12
12
// Retrieve the window handle (HWND) of the current WinUI 3 window.
13
13
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 7
7
var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
8
8
9
9
// 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 ;
11
11
12
12
// Retrieve the window handle (HWND) of the current WinUI 3 window.
13
13
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 7
7
var openPicker = new Windows.Storage.Pickers.FileOpenPicker();
8
8
9
9
// 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 ;
11
11
12
12
// Retrieve the window handle (HWND) of the current WinUI 3 window.
13
13
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 7
7
FolderPicker openPicker = new Windows.Storage.Pickers.FolderPicker();
8
8
9
9
// 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 ;
11
11
12
12
// Retrieve the window handle (HWND) of the current WinUI 3 window.
13
13
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
Original file line number Diff line number Diff line change 7
7
FileSavePicker savePicker = new Windows.Storage.Pickers.FileSavePicker();
8
8
9
9
// 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 ;
11
11
12
12
// Retrieve the window handle (HWND) of the current WinUI 3 window.
13
13
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
You can’t perform that action at this time.
0 commit comments