예제 #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; }
 }
예제 #2
0
 protected void BtnViewLoads_ClickHandler(object sender, EventArgs e)
 {
     UCViewerLoadCapacitorLoads.UCViewSedimentedLoadCapacitorLoads(R2CoreTransportationAndLoadNotificationMClassTransportCompaniesManagement.GetNSSTransportCompnay(R2Core.UserManagement.R2CoreMClassLoginManagement.CurrentUserNSS).TCId);
 }