Exemplo n.º 1
0
 public BasicComponent(HostSurfaceFactory hostSurfaceFactory, string name)
     : base(hostSurfaceFactory)
 {
     this.ServiceContainer.AddService(typeof(INameCreationService), new NameCreationService());
     this.BeginLoad(typeof(Component));
     ((Control)this.View).BackColor = Color.FloralWhite;
     this.Loader = null;
 }
Exemplo n.º 2
0
 public GraphDesigner(HostSurfaceFactory hostSurfaceFactory, string name)
     : base(hostSurfaceFactory)
 {
     this.ServiceContainer.AddService(typeof(INameCreationService), new NameCreationService());
     this.BeginLoad(typeof(MyTopLevelComponent));
     ((Control)this.View).BackColor = Color.White;
     this.Loader = null;
 }
Exemplo n.º 3
0
 public XMLForm(HostSurfaceFactory hostSurfaceFactory, string name)
     : base(hostSurfaceFactory)
 {
     this.ServiceContainer.AddService(typeof(INameCreationService), new NameCreationService());
     loader = new BasicHostLoader(typeof(Form), name);
     this.BeginLoad(loader);
     ((Control)this.View).BackColor = Color.White;
     this.Loader = loader;
 }
Exemplo n.º 4
0
 public CSharpForm(HostSurfaceFactory hostSurfaceFactory, string name)
     : base(hostSurfaceFactory)
 {
     this.ServiceContainer.AddService(typeof(IMenuCommandService), new MenuCommandService(this));
     loader = new CodeDomHostLoader(name);
     this.BeginLoad(loader);
     ((Control)this.View).BackColor = Color.White;
     this.Loader = loader;
 }
Exemplo n.º 5
0
 public HostSurface(HostSurfaceFactory hostSurfaceFactory)
     : base()
 {
     _hostSurfaceFactory = hostSurfaceFactory;
 }
Exemplo n.º 6
0
 public HostSurface(HostSurfaceFactory hostSurfaceFactory)
     : base()
 {
     _hostSurfaceFactory = hostSurfaceFactory;
 }