コード例 #1
0
ファイル: Interface.cs プロジェクト: jmacias552/dwsim6
 public Automation2()
 {
     GlobalSettings.Settings.AutomationMode = true;
     Console.WriteLine("Initializing DWSIM in Automation Mode, please wait...");
     app = UI.Desktop.Program.MainApp(null);
     app.Attach(this);
 }
コード例 #2
0
 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.");
 }
コード例 #3
0
        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.");
        }