예제 #1
0
        //////////////////////////////////////////////////////////////////////////
        private void LoadSettings(SettingsNode RootNode)
        {
            SettingsNode Section = RootNode.GetNode(this.Name, true);

            if (Section != null)
            {
                TxtProjectFile.Text = Section.GetString("ProjectFile");
                TxtExtensions.Text  = Section.GetString("ScriptExtensions");

                foreach (IntegratorModule Mod in modules)
                {
                    Mod.LoadSettings(Section);
                }
            }
            if (TxtExtensions.Text == "")
            {
                TxtExtensions.Text = "script inc";
            }
        }
예제 #2
0
        //////////////////////////////////////////////////////////////////////////
        public void LoadSettings(SettingsNode RootNode)
        {
            SettingsNode Section = RootNode.GetNode("StringTableMgr", true);

            if (Section == null)
            {
                return;
            }

            ProjectFile     = Section.GetString("ProjectFile");
            StringTableFile = Section.GetString("StringTableFile");
            BackupOldFiles  = Section.GetBool("BackupOldFiles");

            IgnoreList.Clear();
            SettingsNode IgnoreItems = Section.GetNode("IgnoreList");

            if (IgnoreItems != null)
            {
                foreach (SettingsNode Node in IgnoreItems.Children)
                {
                    IgnoreList.Add(Node.GetString());
                }
            }
        }
예제 #3
0
 //////////////////////////////////////////////////////////////////////////
 override public void LoadSettings(SettingsNode RootNode)
 {
     TxtOutputDir.Text = RootNode.GetString("GeshiOutputDir");
 }