public Window CreateToolWindow(AddIn AddInInst, string ProgId, string Caption, string GuidPosition, ref object DocObj) { DocObj = new _DockableWindowHost(); var result = MockFactory.CreateWindowMock(Caption); result.Setup(m => m.VBE).Returns(VBE); result.Setup(m => m.Collection).Returns(this); return(result.Object); }
public Window CreateToolWindow(AddIn AddInInst, string ProgId, string Caption, string GuidPosition, ref object DocObj) { DocObj = new _DockableWindowHost(); return(_window); }