Exemplo n.º 1
0
 public XRefSettings()
 {
     iSettings = new XmlSettings(SettingsFileName);
     iSettings.Restore();
     //
     ValidateSettings();
 }
Exemplo n.º 2
0
        public CAEngine(string[] aCommandLineArgs)
        {
            iDebugEngine     = new DbgEngine(this);
            iCommandLineArgs = aCommandLineArgs;

            // Create settings
            iSettings = new XmlSettings("CASettings.xml");
            iSettings.Restore();
        }
Exemplo n.º 3
0
        public DbgEngine(ITracer aTracer)
        {
            iTracer = aTracer;

            // Initialise the settings object
            iSettings = new XmlSettings(KDbgEngineXmlSettingsFileName);
            iSettings.Restore();

            iEntityManager     = new DbgEntityManager(this);
            iPluginManager     = new DbgPluginManager(this);
            iConfigManager     = new DbgEntityConfigManager(this);
            iValidationManager = new DbgValidationManager(this);
            iDescriptorManager = new DbgEntityDescriptorManager(this);
        }
        public HAUIManager(string[] aArgs)
        {
            // Create settings
            iSettings = new XmlSettings(KHASettingsFileName);
            iSettings.Restore();

            // Create engine
            iEngine = new HeapWizardEngine(Application.StartupPath, aArgs);

            // Find UIs from this assembly
            iUIs.LoadFromCallingAssembly(new object[] { aArgs, iSettings, iEngine, this });

            // Listen to when the application exits so that we can save the settings
            Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
        }