private void itemModify_ItemClick(object sender, ItemClickEventArgs e) { if (focused.GetDisplayText("Type").Equals("D")) { CreateProductDeploy deploy = new CreateProductDeploy(); deploy.projectid = Convert.ToInt32(focused.GetDisplayText("Id")); deploy.ShowDialog(); } else { //任务查看窗体 } }