コード例 #1
0
 public void SetDetails(clsPlace prPlace)
 {
     _Place = prPlace;
     txtPlaceName.Enabled = string.IsNullOrEmpty(_Place.PlaceName);
     UpdateForm();
     UpdateDisplay();
     // frmMain.Instance.ProductNameChanged += new frmMain.Notify(updateTitle);
     Show();
 }
コード例 #2
0
 internal static async Task <string> UpdatePlaceAsync(clsPlace prPlace)
 {
     return(await InsertOrUpdateAsync(prPlace, "http://localhost:60064/api/product/PutPlace", "PUT"));
 }
コード例 #3
0
 internal static async Task <string> InsertPlaceAsync(clsPlace prPlace)
 {
     //throw new NotImplementedException();
     return(await InsertOrUpdateAsync(prPlace, "http://localhost:60064/api/product/PostPlace", "POST"));
 }