示例#1
0
文件: FMain.cs 项目: denghe/spgen
        private void readmeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FOutputHtml f = new FOutputHtml("关于生成物的简单说明", "Documents/SimpleHelp.htm", 600, 400);

            f.ShowDialog();
            f.Dispose();
        }
示例#2
0
文件: Program.cs 项目: denghe/spgen
        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);
        }