protected override async Task <object> InitializeToolWindowAsync(Type toolWindowType, int id, CancellationToken cancellationToken) { _control = new RingWindowControl(); _cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); await _control.InitializeAsync(GetServiceAsync, _cts.Token); return(_control); }
public RingWindow(RingWindowControl control) { Caption = "ring!"; Content = control; }