Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         BtnViewLoads.Click += BtnViewLoads_ClickHandler;
         UCViewerLoadCapacitorLoads.UCLoadCapacitorLoadSelectedEvent += UCViewerLoadCapacitorLoads_UCLoadCapacitorLoadSelectedEventHandler;
         BtnLoadAllocationLoadPermission.Click += BtnLoadAllocationLoadPermission_Click;
         BtnRepeatPrint.Click += BtnRepeatPrint_Click;
         R2CoreTransportationAndLoadNotificationStandardTransportCompanyStructure NSSTransportCompany = R2CoreTransportationAndLoadNotificationMClassTransportCompaniesManagement.GetNSSTransportCompnay(R2Core.UserManagement.R2CoreMClassLoginManagement.CurrentUserNSS);
         TransportCompanyTitle.Text = "شرکت حمل و نقل " + NSSTransportCompany.TCTitle;
         UCViewerLoadCapacitorLoads.UCViewSedimentedLoadCapacitorLoads(NSSTransportCompany.TCId);
         UCViewerLoadCapacitorLoads.UCCaption = "لیست بار رسوب شده";
         LblMessage.Text = string.Empty;
     }
     catch (Exception ex)
     { LblMessage.Text = ex.Message; }
 }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         UCLoadCapacitorLoadManipulation.UCViewInformationCompleted  += _Handler;
         UCLoadCapacitorLoadManipulation.UCInformationChangedEvent   += UCLoadCapacitorLoadManipulation_UCInformationChangedEvent;
         UCViewerLoadCapacitorLoads.UCLoadCapacitorLoadSelectedEvent += UCLoadCapacitorLoadSelectedEvent;
         R2CoreTransportationAndLoadNotificationStandardTransportCompanyStructure NSSTransportCompany = R2CoreTransportationAndLoadNotificationMClassTransportCompaniesManagement.GetNSSTransportCompnay(R2Core.UserManagement.R2CoreMClassLoginManagement.CurrentUserNSS);
         TransportCompanyTitle.Text = "شرکت حمل و نقل " + NSSTransportCompany.TCTitle;
         UCViewerLoadCapacitorLoads.UCViewNotSedimentedLoadCapacitorLoads(NSSTransportCompany.TCId);
         if (!IsPostBack)
         {
             Session["CheckRefresh"] = Server.UrlDecode(System.DateTime.Now.ToString());
         }
         UCViewerLoadCapacitorLoads.UCCaption = "لیست بار موجود";
     }
     catch (Exception ex)
     { Response.Write("<script>alert('" + ex.Message + "')</script>"); }
 }
Beispiel #3
0
 protected void BtnViewLoads_ClickHandler(object sender, EventArgs e)
 {
     UCViewerLoadCapacitorLoads.UCViewSedimentedLoadCapacitorLoads(R2CoreTransportationAndLoadNotificationMClassTransportCompaniesManagement.GetNSSTransportCompnay(R2Core.UserManagement.R2CoreMClassLoginManagement.CurrentUserNSS).TCId);
 }
Beispiel #4
0
 protected void BtnViewLoads_Click(object sender, EventArgs e)
 {
     try { UCViewerLoadCapacitorLoads.UCViewNotSedimentedLoadCapacitorLoads(R2CoreTransportationAndLoadNotificationMClassTransportCompaniesManagement.GetNSSTransportCompnay(R2Core.UserManagement.R2CoreMClassLoginManagement.CurrentUserNSS).TCId); }
     catch (Exception ex)
     { Response.Write("<script>alert('" + ex.Message + "')</script>"); }
 }