Ejemplo n.º 1
0
        void TsbBuildClick(object sender, EventArgs e)
        {
            // TODO: Implement TsbBuildClick
            builder.Clear();
            if (project.files.Count == 0)
            {
                MessageBox.Show(PascalABCCompiler.StringResources.Get(HelpBuilder_VisualPascalABCPlugin.StringsPrefix + "NO_FILES_MESSAGE"), PascalABCCompiler.StringResources.Get(HelpBuilder_VisualPascalABCPlugin.StringsPrefix + "ERROR"), MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            string[] files = project.files.ToArray();
            //if (files.Length == 1 && files[0].EndsWith(".dll"))
            {
                builder.BuildHelpForAssembly(files);
            }

            /*else
             *          if (builder.BuildHelp(files) == null)
             *                  ClearStatusLine();*/
        }