Example #1
0
 public void WcViewInformation(R2CoreTransportationAndLoadNotificationStandardLoadCapacitorLoadExtendedStructure YourNSS)
 {
     try
     {
         TxtnEstelamId.Text = YourNSS.nEstelamId.ToString();
         TxtDateTimeofLoadRegistering.Text = YourNSS.dTimeElam + " - " + YourNSS.dDateElam;
         TxtLoadReciever.Text     = YourNSS.StrBarName;
         TxtSearchTargetCity.Text = YourNSS.nCityCode + "    #    " + YourNSS.LoadTargetTitle.Trim();
         TxtSearchLoad.Text       = YourNSS.nBarCode + "    #    " + YourNSS.GoodTitle.Trim();
         TxtSearchLoaderType.Text = YourNSS.nTruckType + "    #    " + YourNSS.LoaderTypeTitle.Trim();
         TxtAddress.Text          = YourNSS.StrAddress;
         TxtnCarNumKol.Text       = YourNSS.nCarNumKol.ToString();
         TxtTarrif.Text           = R2CoreMClassPublicProcedures.ParseSignDigitToSignString(YourNSS.StrPriceSug);
         TxtDescription.Text      = YourNSS.StrDescription;
         WcViewInformationCompleted?.Invoke(this, new EventArgs());
     }
     catch (Exception ex)
     { throw new Exception(MethodBase.GetCurrentMethod().ReflectedType.FullName + "." + MethodBase.GetCurrentMethod().Name + "." + ex.Message); }
 }
Example #2
0
 private void WcLoadCapacitorLoadsCollectionSummaryIntelligently_WcLoadCapacitorLoadSelectedEvent(object sender, WcLoadCapacitorLoadsCollectionSummaryIntelligently.nEstelamIdEventArgs e)
 {
     try
     {
         R2CoreTransportationAndLoadNotificationStandardLoadCapacitorLoadExtendedStructure NSS = R2CoreTransportationAndLoadNotificationMClassLoadCapacitorLoadManagement.GetNSSLoadCapacitorLoad(e.nEstelamId);
         WcViewInformation(NSS);
     }
     catch (Exception ex)
     { Page.ClientScript.RegisterStartupScript(GetType(), "WcViewAlert", "WcViewAlert('1','" + MethodBase.GetCurrentMethod().ReflectedType.FullName + "." + MethodBase.GetCurrentMethod().Name + "." + ex.Message + "');", true); }
 }