We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae29085 commit 63fc5c3Copy full SHA for 63fc5c3
demo/VSSDK.TestExtension/ToolWindows/RunnerWindow.cs
@@ -1,5 +1,6 @@
1
using System;
2
using System.ComponentModel.Design;
3
+using System.Diagnostics;
4
using System.Runtime.InteropServices;
5
using System.Threading;
6
using System.Threading.Tasks;
@@ -30,6 +31,13 @@ public Pane()
30
31
{
32
BitmapImageMoniker = KnownMonikers.StatusInformation;
33
ToolBar = new CommandID(PackageGuids.TestExtension, PackageIds.RunnerWindowToolbar);
34
+ WindowFrameAvailable += (_, _) => Debug.WriteLine("RunnerWindow frame is now available");
35
+ }
36
+
37
+ public override void OnToolWindowCreated()
38
+ {
39
+ base.OnToolWindowCreated();
40
+ GetWindowFrame().OnShow += (_, args) => Debug.WriteLine($"RunnerWindow state changed: {args.Reason}");
41
}
42
43
0 commit comments