public Automation2() { GlobalSettings.Settings.AutomationMode = true; Console.WriteLine("Initializing DWSIM in Automation Mode, please wait..."); app = UI.Desktop.Program.MainApp(null); app.Attach(this); }
public Automation2() { GlobalSettings.Settings.AutomationMode = true; Console.WriteLine("Initializing DWSIM Automation Interface..."); app = UI.Desktop.Program.MainApp(null); app.Attach(this); FlowsheetBase.FlowsheetBase.AddPropPacks(); Console.WriteLine("DWSIM Automation Interface initialized successfully."); }
public Automation2() { GlobalSettings.Settings.AutomationMode = true; AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.AssemblyResolve += new ResolveEventHandler(LoadAssembly); Console.WriteLine("Initializing DWSIM Automation Interface..."); app = UI.Desktop.Program.MainApp(null); app.Attach(this); FlowsheetBase.FlowsheetBase.AddPropPacks(); Console.WriteLine("DWSIM Automation Interface initialized successfully."); }