Esempio n. 1
0
 public void Attach(IServiceContainer services)
 {
     this.interactor = new MainFormInteractor(services);
     this.dm         = new DecompilerMenus(interactor);
     this.uiSvc      = new DecompilerShellUiService(this, dm, this.OpenFileDialog, this.SaveFileDialog, services);
     services.AddService(typeof(IDecompilerShellUiService), this.uiSvc);
 }
Esempio n. 2
0
 public void Setup()
 {
     form = new Form();
     form.IsMdiContainer = true;
     sc       = new ServiceContainer();
     mainForm = new MainForm();
     svc      = new DecompilerShellUiService(mainForm, null, null, null, sc);
 }