Beispiel #1
0
        /// <summary>
        /// 菜单:新建
        /// </summary>
        private void 新建ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewProjectForm npf = new NewProjectForm();

            npf.ShowDialog(this);
            if (npf.InitSuccess)
            {
                core.RefreshProjectTree();
                this.资源ToolStripMenuItem.Enabled         = this.编辑ToolStripMenuItem.Enabled =
                    this.工程ToolStripMenuItem.Enabled     = this.编译ToolStripMenuItem.Enabled =
                        this.保存ToolStripMenuItem.Enabled = true;
                this.Text = String.Format("Yuri Halation - {0}", Halation.projectName);
            }
        }