|
1 |
| -using Files.Controls; |
2 |
| -using Files.Filesystem; |
| 1 | +using Files.Filesystem; |
3 | 2 | using Files.Interacts;
|
4 | 3 | using Files.UserControls;
|
5 | 4 | using Files.View_Models;
|
6 | 5 | using Microsoft.Toolkit.Uwp.UI.Controls;
|
7 | 6 | using System;
|
8 |
| -using System.Collections.Generic; |
9 |
| -using System.IO; |
10 | 7 | using System.Linq;
|
11 |
| -using System.Runtime.InteropServices.WindowsRuntime; |
12 |
| -using Windows.Foundation; |
13 |
| -using Windows.Foundation.Collections; |
14 | 8 | using Windows.System;
|
15 | 9 | using Windows.UI.Core;
|
16 | 10 | using Windows.UI.Xaml;
|
17 | 11 | using Windows.UI.Xaml.Controls;
|
18 |
| -using Windows.UI.Xaml.Controls.Primitives; |
19 |
| -using Windows.UI.Xaml.Data; |
20 | 12 | using Windows.UI.Xaml.Input;
|
21 |
| -using Windows.UI.Xaml.Media; |
22 | 13 | using Windows.UI.Xaml.Media.Animation;
|
23 | 14 | using Windows.UI.Xaml.Navigation;
|
24 | 15 |
|
@@ -253,21 +244,21 @@ private async void ModernShellPage_KeyUp(object sender, KeyRoutedEventArgs e)
|
253 | 244 | case (true, false, false, true, VirtualKey.R): //ctrl + r, refresh
|
254 | 245 | NavigationActions.Refresh_Click(null, null);
|
255 | 246 | break;
|
256 |
| - case (true, false, false, true, VirtualKey.F): //ctrl + f, search box |
257 |
| - (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0; |
258 |
| - break; |
259 |
| - case (true, false, false, true, VirtualKey.E): //ctrl + e, search box |
260 |
| - (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0; |
261 |
| - break; |
262 |
| - case (false, false, true, true, VirtualKey.H): |
263 |
| - (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 1; |
264 |
| - break; |
265 |
| - case (false, false, true, true, VirtualKey.S): |
266 |
| - (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 2; |
267 |
| - break; |
268 |
| - case (false, false, true, true, VirtualKey.V): |
269 |
| - (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 3; |
270 |
| - break; |
| 247 | + //case (true, false, false, true, VirtualKey.F): //ctrl + f, search box |
| 248 | + // (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0; |
| 249 | + // break; |
| 250 | + //case (true, false, false, true, VirtualKey.E): //ctrl + e, search box |
| 251 | + // (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 0; |
| 252 | + // break; |
| 253 | + //case (false, false, true, true, VirtualKey.H): |
| 254 | + // (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 1; |
| 255 | + // break; |
| 256 | + //case (false, false, true, true, VirtualKey.S): |
| 257 | + // (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 2; |
| 258 | + // break; |
| 259 | + //case (false, false, true, true, VirtualKey.V): |
| 260 | + // (App.CurrentInstance.OperationsControl as RibbonArea).RibbonTabView.SelectedIndex = 3; |
| 261 | + // break; |
271 | 262 | };
|
272 | 263 |
|
273 | 264 |
|
|
0 commit comments