Esempio n. 1
0
        protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            MyToolWindow.Initialize(this);

            await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);

            await MyToolWindowCommand.InitializeAsync(this);
        }
Esempio n. 2
0
 protected override Task ExecuteAsync(OleMenuCmdEventArgs e)
 {
     return(MyToolWindow.ShowAsync());
 }