private void btnOK_Click(object sender, EventArgs e) { Product product = new Product(); product.Name = teProductName.Text.Trim(); product.Versions = teProjectVersion.Text.Trim(); WcfServiceLocator.Create<IProjectPlanManageService>().createProductDeploy(product); }
private void btnOK_Click(object sender, EventArgs e) { Product pdt = new Product(); pdt.Name = txtName.Text.Trim(); pdt.UserId = UserId; //pdt.StartTime = Convert.ToDateTime(dtpStartTime.Text.Trim()); //pdt.ProcessId = Convert.ToInt32(btnProcessTemplate.Text.Trim()); pdt.Description = mmeDescription.Text.Trim(); //pdt.Id = WcfServiceLocator.Create<IProductService>().ProductSave(product); product = pdt; Close(); }
/// <summary> /// 创建产品配置 /// </summary> /// <param name="product"></param> /// <returns></returns> public string createProductDeploy(Product product) { return ""; }
public string ProductSave(Product product) { return ""; }
public string ProductModify(Product product) { return ""; }