Пример #1
0
        private void AddOverlayWindow(D2HostPanel panel)
        {
            D2Overlay overlay = new D2Overlay(panel, p.MainWindowHandle);

            Subscribe(overlay);
            overlay.Focus();
        }
Пример #2
0
 private void Subscribe(D2Overlay o)
 {
     o.status += new D2Overlay.StatusUpdate(HeardIt);
 }