Exemplo n.º 1
0
 private void CreateWindow()
 {
     object control = null;
     window = ((Windows2)app.Windows).CreateToolWindow2(addIn, controlLibraryPath, controlName, addinName, windowGUID, ref control);
     if(window.IsFloating)
     {
         window.Width = preferredWidth;
         window.Height = preferredHeight;
     }
     window.Visible = true;
     renderer = (HTMLRenderer)control;
     RenderView();
 }
Exemplo n.º 2
0
 private void InitialiseView(object renderer)
 {
     view = (HTMLRenderer)renderer;
     view.SetCallback(this);
 }
Exemplo n.º 3
0
 public void OnBeginShutdown(ref Array custom)
 {
     renderer.Dispose();
     renderer = null;
 }