private void InitDebuggerWindow() { try { var pypad = new UcPyPad(); pypad.ActiveWindow.SetVariable("Controller", this); pypad.ActiveWindow.SetVariable("Adapter", _adapter); _debuggerHostWindow = _adapter.CreateHostWindow(pypad, "IronPython Interactive", "E6AD7E34-34CA-47E7-95EE-7C05D4128580"); } catch (Exception e) { LogError("Error InitDebuggerWindow: " + e.Message); } }
void CreateLogWindow() { _logWindow = _adapter.CreateCommonUIControl("ACSR.SqlServer.Addin.Core.UI.UcLogWindow", "IronPython LogWindow", new Guid("3ADC13FF-DCF4-4C49-B2EF-3D78DECDC664")); _logWindowControl = ((dynamic)_logWindow.ControlObject); }