private void GetView() { IRootDesigner rd = (IRootDesigner) host.GetDesigner (host.RootComponent); this.view = (RootDesignerView) rd.GetView (ViewTechnology.Passthrough); view.BeginLoad (); System.Diagnostics.Trace.WriteLine ("Document created."); }