hytos / DTI_PID / SPPIDConverter / My Project / Settings.Designer.vb @ 0208d20d
이력 | 보기 | 이력해설 | 다운로드 (4.27 KB)
1 |
'------------------------------------------------------------------------------ |
---|---|
2 |
' <auto-generated> |
3 |
' 이 코드는 도구를 사용하여 생성되었습니다. |
4 |
' 런타임 버전:4.0.30319.42000 |
5 |
' |
6 |
' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 |
7 |
' 이러한 변경 내용이 손실됩니다. |
8 |
' </auto-generated> |
9 |
'------------------------------------------------------------------------------ |
10 |
|
11 |
Option Strict On |
12 |
Option Explicit On |
13 |
|
14 |
|
15 |
Namespace My |
16 |
|
17 |
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ |
18 |
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0"), _ |
19 |
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ |
20 |
Partial Friend NotInheritable Class MySettings |
21 |
Inherits Global.System.Configuration.ApplicationSettingsBase |
22 |
|
23 |
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) |
24 |
|
25 |
#Region "My.Settings 자동 저장 기능" |
26 |
#If _MyType = "WindowsForms" Then |
27 |
Private Shared addedHandler As Boolean |
28 |
|
29 |
Private Shared addedHandlerLockObject As New Object |
30 |
|
31 |
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ |
32 |
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) |
33 |
If My.Application.SaveMySettingsOnExit Then |
34 |
My.Settings.Save() |
35 |
End If |
36 |
End Sub |
37 |
#End If |
38 |
#End Region |
39 |
|
40 |
Public Shared ReadOnly Property [Default]() As MySettings |
41 |
Get |
42 |
|
43 |
#If _MyType = "WindowsForms" Then |
44 |
If Not addedHandler Then |
45 |
SyncLock addedHandlerLockObject |
46 |
If Not addedHandler Then |
47 |
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings |
48 |
addedHandler = True |
49 |
End If |
50 |
End SyncLock |
51 |
End If |
52 |
#End If |
53 |
Return defaultInstance |
54 |
End Get |
55 |
End Property |
56 |
|
57 |
<Global.System.Configuration.UserScopedSettingAttribute(), _ |
58 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
59 |
Global.System.Configuration.DefaultSettingValueAttribute("")> _ |
60 |
Public Property DBPath() As String |
61 |
Get |
62 |
Return CType(Me("DBPath"),String) |
63 |
End Get |
64 |
Set |
65 |
Me("DBPath") = value |
66 |
End Set |
67 |
End Property |
68 |
|
69 |
<Global.System.Configuration.UserScopedSettingAttribute(), _ |
70 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
71 |
Global.System.Configuration.DefaultSettingValueAttribute("")> _ |
72 |
Public Property Plant_Hierarchy() As String |
73 |
Get |
74 |
Return CType(Me("Plant_Hierarchy"),String) |
75 |
End Get |
76 |
Set |
77 |
Me("Plant_Hierarchy") = value |
78 |
End Set |
79 |
End Property |
80 |
|
81 |
<Global.System.Configuration.UserScopedSettingAttribute(), _ |
82 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
83 |
Global.System.Configuration.DefaultSettingValueAttribute("")> _ |
84 |
Public Property SymbolLibrary() As String |
85 |
Get |
86 |
Return CType(Me("SymbolLibrary"),String) |
87 |
End Get |
88 |
Set |
89 |
Me("SymbolLibrary") = value |
90 |
End Set |
91 |
End Property |
92 |
End Class |
93 |
End Namespace |
94 |
|
95 |
Namespace My |
96 |
|
97 |
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ |
98 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
99 |
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ |
100 |
Friend Module MySettingsProperty |
101 |
|
102 |
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ |
103 |
Friend ReadOnly Property Settings() As Global.SPPIDConverter.My.MySettings |
104 |
Get |
105 |
Return Global.SPPIDConverter.My.MySettings.Default |
106 |
End Get |
107 |
End Property |
108 |
End Module |
109 |
End Namespace |