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);
        }
Beispiel #2
0
 public RingWindow(RingWindowControl control)
 {
     Caption = "ring!";
     Content = control;
 }