31 lines
		
	
	
		
			745 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			745 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using IronIntel.Contractor;
 | |
| using IronIntel.Contractor.Site.JobSite;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Web;
 | |
| using System.Web.UI;
 | |
| using System.Web.UI.WebControls;
 | |
| 
 | |
| public partial class JobsiteAutoCreateConfig : JobSitesBasePage
 | |
| {
 | |
|     protected void Page_Load(object sender, EventArgs e)
 | |
|     {
 | |
|         if (!CheckLoginSession())
 | |
|         {
 | |
|             RedirectToLoginPage();
 | |
|         }
 | |
|         else
 | |
|         {
 | |
|             string methodName = Request.Form["MethodName"];
 | |
|             if (!string.IsNullOrEmpty(methodName))
 | |
|             {
 | |
|                 ProcessRequest();
 | |
|             }
 | |
|             else if (!IsPostBack)
 | |
|             {
 | |
|                 this.Title = PageTitle;
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| } |