-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGlobal.asax.vb
More file actions
36 lines (27 loc) · 1.22 KB
/
Global.asax.vb
File metadata and controls
36 lines (27 loc) · 1.22 KB
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
Imports DevExpress.Drawing
Imports System
Imports System.Drawing
Imports System.Web
Namespace E5198
Public Class [Global]
Inherits 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() = IO.File.ReadAllBytes(fontFilePath)
Call 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