Example #1
0
        private void readmeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FOutputHtml f = new FOutputHtml("关于生成物的简单说明", "Documents/SimpleHelp.htm", 600, 400);

            f.ShowDialog();
            f.Dispose();
        }
Example #2
0
        static void Main(string[] args)
        {
            // todo: 参数生成

            if (args.Length != 0)
            {
                FOutputHtml f = new FOutputHtml("SPGen2008 命令行参数模式说明", "Documents/CmdHelp.htm", 720, 480);
                f.StartPosition = FormStartPosition.CenterScreen;
                f.ShowDialog();
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            MainForm = new FMain();
            Application.Run(MainForm);
        }