Beispiel #1
0
        /// <summary>
        /// 执行关闭选中的工程节点,使之处于未激活状态
        /// </summary>
        private void btnClose_Click(object sender, RoutedEventArgs e)
        {
            ProjectController projectController = new ProjectController();
            var name     = new Dictionary <string, string>();
            var property = new Dictionary <string, string>();

            name.Add("Name", projectName.Text);
            property.Add("Status", "false");
            MessageBox.Show("Close " + projectController.ActiveClose(name, property, "Projects", "../../../common/res/CIConfig.xml"));
        }