コード例 #1
0
        private void OnShellProfileAdded(ShellProfileAddedMessage message)
        {
            _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(),
                                                           async() => await AddProfileByGuidAsync(message.ShellProfile.Id));

            UpdateDefaultShellProfile();
        }
コード例 #2
0
        private void OnShellProfileAdded(ShellProfileAddedMessage message)
        {
            _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(),
                                                           async() => await AddProfileByGuidAsync(message.ShellProfile.Id));

            UpdateDefaultShellProfile();

            ApplicationView.ExecuteOnUiThreadAsync(CreateMenuViewModel, CoreDispatcherPriority.Low, true);
        }
コード例 #3
0
 private void OnShellProfileAdded(ShellProfileAddedMessage message)
 {
     _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(),
                                                    () => AddLocalTabOrWindowAsync(message.ShellProfile.Id));
 }