Esempio n. 1
0
        private void  项OToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (workPath.IsNoneOrNull())
            {
                MessageBox.Show("尚未指定工作目录");
                return;
            }

            using (FrmSetting f = new FrmSetting()) {
                f.SetConfigGroup(workCfg["XOrm"]);
                f.SetConfigIitem("Url");
                f.SetConfigIitem("SettingPath");
                f.SetConfigIitem("VersionPath");
                f.ShowDialog();
                workCfg.Save();
            }
        }
Esempio n. 2
0
        private void ToolStripMenuItemBuild_Click(object sender, EventArgs e)
        {
            if (workPath.IsNoneOrNull())
            {
                MessageBox.Show("尚未指定工作目录");
                return;
            }

            using (FrmSetting f = new FrmSetting()) {
                f.SetConfigGroup(workCfg["Build"]);
                f.SetConfigIitem("PagePath");
                f.SetConfigIitem("ClassPath");
                f.SetConfigIitem("ControllerPath");
                f.SetConfigIitem("NameSpace");
                f.ShowDialog();
                workCfg.Save();
            }
        }