Beispiel #1
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;
 }
Beispiel #2
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;
 }