forked from DNN-Connect/Connect-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModuleHome.vb
33 lines (24 loc) · 843 Bytes
/
ModuleHome.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
Imports Connect.DNN.Modules.Projects.Common
Imports Connect.DNN.Modules.Projects.Common.Globals
Public Class ModuleHome
Inherits ModuleBase
Public Property View As String = "Home"
Public Property ModuleControl As String = ""
Protected Overrides ReadOnly Property RazorScriptFile As String
Get
If ModuleControl = "" Then
Return String.Format("~/DesktopModules/Connect/Projects/Views/{0}.vbhtml", View)
Else
Return String.Format("~/DesktopModules/Connect/Projects/Views/{0}/{1}.vbhtml", ModuleControl, View)
End If
End Get
End Property
Private Sub Page_Init(sender As Object, e As EventArgs) Handles Me.Init
AddService()
LocalResourceFile = SharedResourceFileName
End Sub
Private Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
If Not Me.IsPostBack Then
End If
End Sub
End Class