Esempio n. 1
0
        /*----------------------------------------------------------------------------
        *       %%Function: Auth
        *       %%Qualified: Rwp.Auth.Auth
        *       %%Contact: rlittle
        *
        *   Create a new auth object. This takes request, session, context, and
        *   viewstate.
        *
        *   to grab current privs or setup for logging in/out, call this.LoadPrivs
        *  ----------------------------------------------------------------------------*/
        public Auth(
            global::System.Web.UI.WebControls.ImageButton button,
            HttpRequest request,
            HttpSessionState session,
            HttpContextBase context,
            StateBag viewState,
            string sReturnAddress,
            LoginOutCallback onBeforeLogin,
            LoginOutCallback onAfterLogin,
            LoginOutCallback onBeforeLogout,
            LoginOutCallback onAfterLogout)
        {
            m_sAuthReturnAddress = sReturnAddress;
            m_buttonLoginOut     = button;
            m_request            = request;
            m_onBeforeLogin      = onBeforeLogin;
            m_onAfterLogin       = onAfterLogin;
            m_onBeforeLogout     = onBeforeLogout;
            m_onAfterLogout      = onAfterLogout;
            m_context            = context;
            m_viewState          = viewState;
            m_session            = session;

            LoadCachedPrivs();
        }
Esempio n. 2
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControlimgBtnViews()
 {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     @__ctrl          = new global::System.Web.UI.WebControls.ImageButton();
     this.imgBtnViews = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID       = "imgBtnViews";
     @__ctrl.ImageUrl = "../_layouts/15/images/view.png";
     @__ctrl.Width    = new System.Web.UI.WebControls.Unit(20D, global::System.Web.UI.WebControls.UnitType.Pixel);
     return(@__ctrl);
 }
Esempio n. 3
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControlimbSubmit()
 {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     @__ctrl        = new global::System.Web.UI.WebControls.ImageButton();
     this.imbSubmit = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID       = "imbSubmit";
     @__ctrl.ImageUrl = "/style library/images/BuscaSuperior/lupa.png";
     @__ctrl.Click   -= new System.Web.UI.ImageClickEventHandler(this.imbSubmit_Click);
     @__ctrl.Click   += new System.Web.UI.ImageClickEventHandler(this.imbSubmit_Click);
     return(@__ctrl);
 }
Esempio n. 4
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControl__control33() {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     
     #line 179 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\EquipmentDataList.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.ImageButton();
     
     #line default
     #line hidden
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 179 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\EquipmentDataList.aspx"
     @__ctrl.ID = "cmd_Delete";
     
     #line default
     #line hidden
     
     #line 179 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\EquipmentDataList.aspx"
     @__ctrl.EnableViewState = false;
     
     #line default
     #line hidden
     
     #line 179 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\EquipmentDataList.aspx"
     @__ctrl.OnClientClick = "if (confirm(\'您確定要刪除嗎?\')==false) {return false;}";
     
     #line default
     #line hidden
     
     #line 179 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\EquipmentDataList.aspx"
     @__ctrl.ImageUrl = "~/images/x.jpg";
     
     #line default
     #line hidden
     return @__ctrl;
 }
Esempio n. 5
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControl__control18() {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     
     #line 137 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentList.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.ImageButton();
     
     #line default
     #line hidden
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 137 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentList.aspx"
     @__ctrl.ID = "cmd_Delete";
     
     #line default
     #line hidden
     
     #line 137 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentList.aspx"
     @__ctrl.EnableViewState = false;
     
     #line default
     #line hidden
     
     #line 137 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentList.aspx"
     @__ctrl.ImageUrl = "~/images/x.jpg";
     
     #line default
     #line hidden
     return @__ctrl;
 }
Esempio n. 6
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControlImageButton3() {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.ImageButton();
     
     #line default
     #line hidden
     this.ImageButton3 = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.ID = "ImageButton3";
     
     #line default
     #line hidden
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.OnClientClick = "window.open(\'./Main.aspx?sg=Statistics\')";
     
     #line default
     #line hidden
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.Height = new System.Web.UI.WebControls.Unit(100D, global::System.Web.UI.WebControls.UnitType.Pixel);
     
     #line default
     #line hidden
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.ImageUrl = "~/images/statistics.png";
     
     #line default
     #line hidden
     
     #line 48 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.Width = new System.Web.UI.WebControls.Unit(100D, global::System.Web.UI.WebControls.UnitType.Pixel);
     
     #line default
     #line hidden
     return @__ctrl;
 }
Esempio n. 7
0
 private global::System.Web.UI.WebControls.ImageButton @__BuildControlImageButton7() {
     global::System.Web.UI.WebControls.ImageButton @__ctrl;
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.ImageButton();
     
     #line default
     #line hidden
     this.ImageButton7 = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.ID = "ImageButton7";
     
     #line default
     #line hidden
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.OnClientClick = "window.open(\'./Main.aspx?sg=Inventory\')";
     
     #line default
     #line hidden
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.Height = new System.Web.UI.WebControls.Unit(100D, global::System.Web.UI.WebControls.UnitType.Pixel);
     
     #line default
     #line hidden
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.ImageUrl = "~/images/parts.gif";
     
     #line default
     #line hidden
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.Width = new System.Web.UI.WebControls.Unit(100D, global::System.Web.UI.WebControls.UnitType.Pixel);
     
     #line default
     #line hidden
     
     #line 43 "D:\Source\DotNet\ParkingRepairSystemKAO\MainMenu.aspx"
     @__ctrl.EnableTheming = true;
     
     #line default
     #line hidden
     return @__ctrl;
 }