UI improvements
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
using FileTime.Core.Components;
|
||||
using FileTime.Core.Extensions;
|
||||
using FileTime.Core.Interactions;
|
||||
using FileTime.Core.Models;
|
||||
using FileTime.Providers.Local;
|
||||
using FileTime.Uno.Application;
|
||||
using FileTime.Uno.Command;
|
||||
using FileTime.Uno.Misc;
|
||||
using FileTime.Uno.Models;
|
||||
using FileTime.Uno.Services;
|
||||
using MvvmGen;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
@@ -18,22 +23,24 @@ namespace FileTime.Uno.ViewModels
|
||||
[ViewModel]
|
||||
[Inject(typeof(LocalContentProvider))]
|
||||
[Inject(typeof(AppState), PropertyAccessModifier = AccessModifier.Public)]
|
||||
[Inject(typeof(ItemNameConverterService))]
|
||||
public partial class MainPageViewModel
|
||||
{
|
||||
const string RAPIDTRAVEL = "rapidTravel";
|
||||
|
||||
private readonly List<KeyWithModifiers> _previousKeys = new List<KeyWithModifiers>();
|
||||
private readonly List<KeyWithModifiers[]> _keysToSkip = new List<KeyWithModifiers[]>();
|
||||
private bool _isAltPressed = false;
|
||||
private bool _isShiftPressed = false;
|
||||
private bool _isCtrlPressed = false;
|
||||
private List<CommandBinding> _commandBindings = new();
|
||||
private List<CommandBinding> _universalCommandBindings = new();
|
||||
|
||||
private Action _inputHandler;
|
||||
|
||||
[Property]
|
||||
private string _text;
|
||||
|
||||
[Property]
|
||||
private List<CommandBinding> _commandBindings = new();
|
||||
|
||||
[Property]
|
||||
private bool _noCommandFound;
|
||||
|
||||
@@ -46,6 +53,9 @@ namespace FileTime.Uno.ViewModels
|
||||
[Property]
|
||||
private List<RootDriveInfo> _rootDriveInfos;
|
||||
|
||||
[Property]
|
||||
private ObservableCollection<TabControlViewModel> _tabs = new ObservableCollection<TabControlViewModel>();
|
||||
|
||||
public Action FocusDefaultElement { get; set; }
|
||||
|
||||
async partial void OnInitialize()
|
||||
@@ -55,17 +65,21 @@ namespace FileTime.Uno.ViewModels
|
||||
_keysToSkip.Add(new KeyWithModifiers[] { new KeyWithModifiers(VirtualKey.Up) });
|
||||
_keysToSkip.Add(new KeyWithModifiers[] { new KeyWithModifiers(VirtualKey.Down) });
|
||||
_keysToSkip.Add(new KeyWithModifiers[] { new KeyWithModifiers(VirtualKey.Tab) });
|
||||
_keysToSkip.Add(new KeyWithModifiers[] { new KeyWithModifiers(VirtualKey.PageDown) });
|
||||
_keysToSkip.Add(new KeyWithModifiers[] { new KeyWithModifiers(VirtualKey.PageUp) });
|
||||
|
||||
var tab = new Tab();
|
||||
await tab.Init(LocalContentProvider);
|
||||
|
||||
var tabContainer = new TabContainer(tab, LocalContentProvider);
|
||||
var tabContainer = new TabContainer(tab, LocalContentProvider, ItemNameConverterService);
|
||||
await tabContainer.Init();
|
||||
AppState.Tabs = new List<TabContainer>()
|
||||
{
|
||||
tabContainer
|
||||
};
|
||||
|
||||
_tabs.Add(new TabControlViewModel(1, tabContainer));
|
||||
|
||||
var driveInfos = new List<RootDriveInfo>();
|
||||
foreach (var drive in DriveInfo.GetDrives())
|
||||
{
|
||||
@@ -82,9 +96,27 @@ namespace FileTime.Uno.ViewModels
|
||||
|
||||
public async Task OpenContainer()
|
||||
{
|
||||
AppState.RapidTravelText = "";
|
||||
await AppState.SelectedTab.Open();
|
||||
}
|
||||
|
||||
public async Task OpenOrRun()
|
||||
{
|
||||
if (AppState.SelectedTab.SelectedItem is ContainerViewModel)
|
||||
{
|
||||
await OpenContainer();
|
||||
}
|
||||
else if (AppState.SelectedTab.SelectedItem is ElementViewModel elementViewModel && elementViewModel.Element is LocalFile localFile)
|
||||
{
|
||||
Process.Start(new ProcessStartInfo(localFile.File.FullName) { UseShellExecute = true });
|
||||
|
||||
if (AppState.ViewMode == ViewMode.RapidTravel)
|
||||
{
|
||||
await ExitRapidTravelMode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task GoUp()
|
||||
{
|
||||
await AppState.SelectedTab.GoUp();
|
||||
@@ -135,6 +167,90 @@ namespace FileTime.Uno.ViewModels
|
||||
await AppState.SelectedTab.GotToHome();
|
||||
}
|
||||
|
||||
public Task EnterRapidTravelMode()
|
||||
{
|
||||
AppState.ViewMode = ViewMode.RapidTravel;
|
||||
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
FocusDefaultElement?.Invoke();
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public async Task ExitRapidTravelMode()
|
||||
{
|
||||
AppState.ViewMode = ViewMode.Default;
|
||||
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
AppState.RapidTravelText = "";
|
||||
|
||||
await AppState.SelectedTab.OpenContainer(await AppState.SelectedTab.CurrentLocation.Container.WithoutVirtualContainer(RAPIDTRAVEL));
|
||||
FocusDefaultElement?.Invoke();
|
||||
}
|
||||
|
||||
public async Task SwitchToTab(int number)
|
||||
{
|
||||
var tab = _tabs.FirstOrDefault(t => t.TabNumber == number);
|
||||
|
||||
if (number == -1)
|
||||
{
|
||||
var greatestNumber = _tabs.Select(t => t.TabNumber).Max();
|
||||
tab = _tabs.FirstOrDefault(t => t.TabNumber == greatestNumber);
|
||||
}
|
||||
else if (tab == null)
|
||||
{
|
||||
var newContainer = await AppState.SelectedTab.CurrentLocation.Container.Clone();
|
||||
|
||||
var newTab = new Tab();
|
||||
await newTab.Init(newContainer);
|
||||
|
||||
var tabContainer = new TabContainer(newTab, LocalContentProvider, ItemNameConverterService);
|
||||
await tabContainer.Init();
|
||||
|
||||
tab = new TabControlViewModel(number, tabContainer);
|
||||
var i = 0;
|
||||
for (i = 0; i < Tabs.Count; i++)
|
||||
{
|
||||
if (Tabs[i].TabNumber > number) break;
|
||||
}
|
||||
Tabs.Insert(i, tab);
|
||||
}
|
||||
|
||||
if (AppState.ViewMode == ViewMode.RapidTravel)
|
||||
{
|
||||
await ExitRapidTravelMode();
|
||||
}
|
||||
|
||||
AppState.SelectedTab = tab.Tab;
|
||||
|
||||
foreach (var tab2 in Tabs)
|
||||
{
|
||||
tab2.IsSelected = tab2.TabNumber == tab.TabNumber;
|
||||
}
|
||||
}
|
||||
|
||||
public async Task CloseTab()
|
||||
{
|
||||
if (_tabs.Count > 1)
|
||||
{
|
||||
var currentTab = _tabs.FirstOrDefault(t => t.Tab == AppState.SelectedTab);
|
||||
|
||||
if (currentTab != null)
|
||||
{
|
||||
_tabs.Remove(currentTab);
|
||||
var tabNumber = _tabs[0].TabNumber;
|
||||
for (var i = 0; i < Tabs.Count; i++)
|
||||
{
|
||||
if (Tabs[i].TabNumber > currentTab.TabNumber) break;
|
||||
tabNumber = _tabs[i].TabNumber;
|
||||
}
|
||||
await SwitchToTab(tabNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Task CreateContainer()
|
||||
{
|
||||
var handler = () =>
|
||||
@@ -167,7 +283,7 @@ namespace FileTime.Uno.ViewModels
|
||||
_inputHandler = null;
|
||||
}
|
||||
|
||||
public bool ProcessKeyDown(VirtualKey key)
|
||||
public async Task<bool> ProcessKeyDown(VirtualKey key)
|
||||
{
|
||||
NoCommandFound = false;
|
||||
if (key == VirtualKey.Menu)
|
||||
@@ -182,10 +298,126 @@ namespace FileTime.Uno.ViewModels
|
||||
{
|
||||
_isCtrlPressed = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (AppState.ViewMode == ViewMode.Default)
|
||||
{
|
||||
var keyWithModifiers = new KeyWithModifiers(key, _isAltPressed, _isShiftPressed, _isCtrlPressed);
|
||||
_previousKeys.Add(keyWithModifiers);
|
||||
|
||||
var selectedCommandBinding = _universalCommandBindings.Find(c => AreKeysEqual(c.Keys, _previousKeys));
|
||||
selectedCommandBinding ??= _commandBindings.Find(c => AreKeysEqual(c.Keys, _previousKeys));
|
||||
|
||||
if (key == VirtualKey.Escape)
|
||||
{
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else if (selectedCommandBinding != null)
|
||||
{
|
||||
await selectedCommandBinding.InvokeAsync();
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
|
||||
FocusDefaultElement?.Invoke();
|
||||
}
|
||||
else if (_keysToSkip.Any(k => AreKeysEqual(k, _previousKeys)))
|
||||
{
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else if (_previousKeys.Count == 2)
|
||||
{
|
||||
NoCommandFound = true;
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else
|
||||
{
|
||||
var possibleCommands = _universalCommandBindings.Concat(_commandBindings).Where(c => AreKeysEqual(c.Keys[0], keyWithModifiers)).ToList();
|
||||
|
||||
if (possibleCommands.Count == 0)
|
||||
{
|
||||
NoCommandFound = true;
|
||||
_previousKeys.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
PossibleCommands = possibleCommands;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
var keyString = key.ToString();
|
||||
var updateRapidTravelFilter = false;
|
||||
|
||||
if (key == VirtualKey.Escape)
|
||||
{
|
||||
await ExitRapidTravelMode();
|
||||
}
|
||||
else if (key == VirtualKey.Back)
|
||||
{
|
||||
if (AppState.RapidTravelText.Length > 0)
|
||||
{
|
||||
AppState.RapidTravelText = AppState.RapidTravelText.Substring(0, AppState.RapidTravelText.Length - 1);
|
||||
updateRapidTravelFilter = true;
|
||||
}
|
||||
}
|
||||
else if (keyString.Length == 1)
|
||||
{
|
||||
AppState.RapidTravelText += keyString.ToString().ToLower();
|
||||
updateRapidTravelFilter = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
var currentKeyAsList = new List<KeyWithModifiers>() { new KeyWithModifiers(key) };
|
||||
var selectedCommandBinding = _universalCommandBindings.Find(c => AreKeysEqual(c.Keys, currentKeyAsList));
|
||||
if (selectedCommandBinding != null)
|
||||
{
|
||||
await selectedCommandBinding.InvokeAsync();
|
||||
FocusDefaultElement?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
if (updateRapidTravelFilter)
|
||||
{
|
||||
var currentLocation = await AppState.SelectedTab.CurrentLocation.Container.WithoutVirtualContainer(RAPIDTRAVEL);
|
||||
var newLocation = new VirtualContainer(
|
||||
currentLocation,
|
||||
new List<Func<IEnumerable<IContainer>, IEnumerable<IContainer>>>()
|
||||
{
|
||||
container => container.Where(c => c.Name.ToLower().Contains(AppState.RapidTravelText))
|
||||
},
|
||||
new List<Func<IEnumerable<IElement>, IEnumerable<IElement>>>()
|
||||
{
|
||||
element => element.Where(e => e.Name.ToLower().Contains(AppState.RapidTravelText))
|
||||
},
|
||||
virtualContainerName: RAPIDTRAVEL
|
||||
);
|
||||
|
||||
await newLocation.Init();
|
||||
|
||||
await AppState.SelectedTab.OpenContainer(newLocation);
|
||||
|
||||
var selectedItemName = AppState.SelectedTab.SelectedItem.Item.Name;
|
||||
if (!AppState.SelectedTab.CurrentLocation.Items.Select(i => i.Item.Name).Any(n => n == selectedItemName))
|
||||
{
|
||||
await AppState.SelectedTab.MoveCursorToFirst();
|
||||
}
|
||||
|
||||
FocusDefaultElement?.Invoke();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public async Task<bool> ProcessKeyUp(VirtualKey key)
|
||||
public Task<bool> ProcessKeyUp(VirtualKey key)
|
||||
{
|
||||
if (key == VirtualKey.Menu)
|
||||
{
|
||||
@@ -199,57 +431,8 @@ namespace FileTime.Uno.ViewModels
|
||||
{
|
||||
_isCtrlPressed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
var keyWithModifiers = new KeyWithModifiers(key, _isAltPressed, _isShiftPressed, _isCtrlPressed);
|
||||
_previousKeys.Add(keyWithModifiers);
|
||||
|
||||
var selectedCommandBinding = _commandBindings.Find(c => AreKeysEqual(c.Keys, _previousKeys));
|
||||
|
||||
if (key == VirtualKey.Escape)
|
||||
{
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else if (selectedCommandBinding != null)
|
||||
{
|
||||
await selectedCommandBinding.InvokeAsync();
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
|
||||
if (selectedCommandBinding.Name != "")
|
||||
{
|
||||
FocusDefaultElement?.Invoke();
|
||||
}
|
||||
}
|
||||
else if (_keysToSkip.Any(k => AreKeysEqual(k, _previousKeys)))
|
||||
{
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else if (_previousKeys.Count == 2)
|
||||
{
|
||||
NoCommandFound = true;
|
||||
_previousKeys.Clear();
|
||||
PossibleCommands = new();
|
||||
}
|
||||
else
|
||||
{
|
||||
var possibleCommands = _commandBindings.Where(c => AreKeysEqual(c.Keys[0], keyWithModifiers)).ToList();
|
||||
|
||||
if (possibleCommands.Count == 0)
|
||||
{
|
||||
NoCommandFound = true;
|
||||
_previousKeys.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
PossibleCommands = possibleCommands;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return Task.FromResult(false);
|
||||
}
|
||||
|
||||
public void ResetSpecialKeys()
|
||||
@@ -287,17 +470,11 @@ namespace FileTime.Uno.ViewModels
|
||||
{
|
||||
var commandBindings = new List<CommandBinding>()
|
||||
{
|
||||
new CommandBinding("go up", FileTime.App.Core.Command.Commands.GoUp, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Left)}, GoUp),
|
||||
new CommandBinding("open", FileTime.App.Core.Command.Commands.Open, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Right)}, OpenContainer),
|
||||
/*new CommandBinding("cursor up", FileTime.App.Core.Command.Commands.MoveCursorUp, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Up)}, MoveCursorUp),
|
||||
new CommandBinding("cursor down", FileTime.App.Core.Command.Commands.MoveCursorDown, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Down)}, MoveCursorDown),
|
||||
new CommandBinding("cursor page up", FileTime.App.Core.Command.Commands.MoveCursorUpPage, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageUp)}, MoveCursorUpPage),
|
||||
new CommandBinding("cursor page down", FileTime.App.Core.Command.Commands.MoveCursorDownPage, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageDown)}, MoveCursorDownPage),*/
|
||||
/*new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Up)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Down)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageUp)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageDown)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Tab)}, () =>{ }),*/
|
||||
new CommandBinding(
|
||||
"enter rapid travel mode",
|
||||
FileTime.App.Core.Command.Commands.EnterRapidTravel,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers((VirtualKey)188, shift: true)},
|
||||
EnterRapidTravelMode),
|
||||
new CommandBinding(
|
||||
"create container",
|
||||
FileTime.App.Core.Command.Commands.CreateContainer,
|
||||
@@ -328,9 +505,75 @@ namespace FileTime.Uno.ViewModels
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.G),new KeyWithModifiers(VirtualKey.H)},
|
||||
GotToHome),
|
||||
new CommandBinding(
|
||||
"switch to tab 1",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number1)},
|
||||
async() => await SwitchToTab(1)),
|
||||
new CommandBinding(
|
||||
"switch to tab 2",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number2)},
|
||||
async() => await SwitchToTab(2)),
|
||||
new CommandBinding(
|
||||
"switch to tab 3",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number3)},
|
||||
async() => await SwitchToTab(3)),
|
||||
new CommandBinding(
|
||||
"switch to tab 4",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number4)},
|
||||
async() => await SwitchToTab(4)),
|
||||
new CommandBinding(
|
||||
"switch to tab 5",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number5)},
|
||||
async() => await SwitchToTab(5)),
|
||||
new CommandBinding(
|
||||
"switch to tab 6",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number6)},
|
||||
async() => await SwitchToTab(6)),
|
||||
new CommandBinding(
|
||||
"switch to tab 7",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number7)},
|
||||
async() => await SwitchToTab(7)),
|
||||
new CommandBinding(
|
||||
"switch to tab 8",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number8)},
|
||||
async() => await SwitchToTab(8)),
|
||||
new CommandBinding(
|
||||
"switch to last tab",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Number9)},
|
||||
async() => await SwitchToTab(-1)),
|
||||
new CommandBinding(
|
||||
"close tab",
|
||||
FileTime.App.Core.Command.Commands.GoToHome,
|
||||
new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Q)},
|
||||
CloseTab),
|
||||
};
|
||||
var universalCommandBindings = new List<CommandBinding>()
|
||||
{
|
||||
new CommandBinding("go up", FileTime.App.Core.Command.Commands.GoUp, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Left)}, GoUp),
|
||||
new CommandBinding("open", FileTime.App.Core.Command.Commands.Open, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Right)}, OpenContainer),
|
||||
new CommandBinding("open or run", FileTime.App.Core.Command.Commands.OpenOrRun, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Enter)}, OpenOrRun),
|
||||
/*new CommandBinding("cursor up", FileTime.App.Core.Command.Commands.MoveCursorUp, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Up)}, MoveCursorUp),
|
||||
new CommandBinding("cursor down", FileTime.App.Core.Command.Commands.MoveCursorDown, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Down)}, MoveCursorDown),
|
||||
new CommandBinding("cursor page up", FileTime.App.Core.Command.Commands.MoveCursorUpPage, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageUp)}, MoveCursorUpPage),
|
||||
new CommandBinding("cursor page down", FileTime.App.Core.Command.Commands.MoveCursorDownPage, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageDown)}, MoveCursorDownPage),*/
|
||||
/*new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Up)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Down)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageUp)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.PageDown)}, () =>{ }),
|
||||
new CommandBinding("", null, new KeyWithModifiers[]{new KeyWithModifiers(VirtualKey.Tab)}, () =>{ }),*/
|
||||
};
|
||||
|
||||
_commandBindings.AddRange(commandBindings);
|
||||
_universalCommandBindings.AddRange(universalCommandBindings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user