コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: AddProduct.cs プロジェクト: gofixiao/HYPDM_Pro
 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();
 }
コード例 #3
0
 /// <summary>
 /// 创建产品配置
 /// </summary>
 /// <param name="product"></param>
 /// <returns></returns>
 public string createProductDeploy(Product product)
 {
     return "";
 }
コード例 #4
0
 public string ProductSave(Product product)
 {
     return "";
 }
コード例 #5
0
 public string ProductModify(Product product)
 {
     return "";
 }