Exemple #1
0
        private FireEditApplication()
        {
            _FireEditPluginManager = new FireEditPluginManager();

            _FireEditPluginManager.AssemblySearchPath =
                Path.Combine(Application.StartupPath, "plugins");

            if (!Directory.Exists(_FireEditPluginManager.AssemblySearchPath))
                Directory.CreateDirectory(
                    _FireEditPluginManager.AssemblySearchPath);

            PluginFile = Path.Combine(Application.StartupPath, "plugin.conf");

            if (File.Exists(PluginFile) == false)
            {
                File.WriteAllText(PluginFile, "<plugins />");
            }            
        }
        private FireEditApplication()
        {
            _FireEditPluginManager = new FireEditPluginManager();

            _FireEditPluginManager.AssemblySearchPath =
                Path.Combine(Application.StartupPath, "plugins");

            if (!Directory.Exists(_FireEditPluginManager.AssemblySearchPath))
            {
                Directory.CreateDirectory(
                    _FireEditPluginManager.AssemblySearchPath);
            }

            PluginFile = Path.Combine(Application.StartupPath, "plugin.conf");

            if (File.Exists(PluginFile) == false)
            {
                File.WriteAllText(PluginFile, "<plugins />");
            }
        }