-
Notifications
You must be signed in to change notification settings - Fork 1
/
Global.asax.vb
47 lines (32 loc) · 1.3 KB
/
Global.asax.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Imports DevExpress.Drawing
Imports DevExpress.Utils.Serializing
Imports System
Imports System.Collections.Generic
Imports System.Drawing
Imports System.Linq
Imports System.Web
Imports System.Web.Security
Imports System.Web.SessionState
Namespace E5198
Public Class [Global]
Inherits System.Web.HttpApplication
Protected Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim fontFilePath As String = HttpContext.Current.Server.MapPath("~/Fonts/MissFajardose-Regular.ttf")
Dim fontData() As Byte = System.IO.File.ReadAllBytes(fontFilePath)
DXFontRepository.Instance.AddFont(fontData)
DevExpress.XtraReports.Web.ASPxWebDocumentViewer.StaticInitialize()
End Sub
Protected Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
End Sub
Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
End Sub
Protected Sub Application_AuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs)
End Sub
Protected Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
End Sub
Protected Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
End Sub
Protected Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
End Sub
End Class
End Namespace