Пример #1
0
 public HeroesPage(Wiki wiki)
 {
     this.wiki = wiki;
     bool isSuccessfulParse = parse();
     if (isSuccessfulParse)
     {
         writeHTMLPage();
     }
 }
Пример #2
0
 public HeroesPage(Wiki wiki)
 {
     this.wiki = wiki;
     bool isSuccessfulParse = parse();
     if (isSuccessfulParse)
     {
         writeHTMLPage();
     }
 }
Пример #3
0
        public AbilitiesPage(Wiki wiki)
        {
            this.wiki = wiki;

            /*bool isSuccessfulParse = parse();
             * if (isSuccessfulParse)
             * {
             *  writeHTMLPage();
             * }*/
        }
Пример #4
0
 public ItemsPage(Wiki wiki)
 {
     // TODO: Complete member initialization
     this.wiki = wiki;
 }
Пример #5
0
 public UnitsPage(Wiki wiki)
 {
     // TODO: Complete member initialization
     this.wiki = wiki;
 }
Пример #6
0
        private void generateWiki_Click(object sender, EventArgs e)
        {
            List<string> langPaths = currAddon.getAddonLangPaths();
            for (int i = 0; i < langPaths.Count(); i++)
            {
                WikiGeneration.Wiki wiki = new WikiGeneration.Wiki(currAddon, langPaths.ElementAt(i));
            }
            MessageBox.Show("Wikis for '" + currAddon.Name + "' have been successfully generated.",
                    "D2ModKit", MessageBoxButtons.OK, MessageBoxIcon.Information);

            Process.Start(Environment.CurrentDirectory);
        }