개정판 31d47a80
PPT Update
DTI_PID/SPPIDConverter/My Project/Settings.Designer.vb | ||
---|---|---|
1 | 1 |
'------------------------------------------------------------------------------ |
2 | 2 |
' <auto-generated> |
3 |
' This code was generated by a tool.
|
|
4 |
' Runtime Version:4.0.30319.42000
|
|
3 |
' 이 코드는 도구를 사용하여 생성되었습니다.
|
|
4 |
' 런타임 버전:4.0.30319.42000
|
|
5 | 5 |
' |
6 |
' Changes to this file may cause incorrect behavior and will be lost if
|
|
7 |
' the code is regenerated.
|
|
6 |
' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
|
7 |
' 이러한 변경 내용이 손실됩니다.
|
|
8 | 8 |
' </auto-generated> |
9 | 9 |
'------------------------------------------------------------------------------ |
10 | 10 | |
... | ... | |
13 | 13 | |
14 | 14 | |
15 | 15 |
Namespace My |
16 | ||
17 |
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ |
|
18 |
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
|
|
19 |
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ |
|
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 | 20 |
Partial Friend NotInheritable Class MySettings |
21 | 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 Auto-Save Functionality"
|
|
22 |
|
|
23 |
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
|
24 |
|
|
25 |
#Region "My.Settings 자동 저장 기능"
|
|
26 | 26 |
#If _MyType = "WindowsForms" Then |
27 |
Private Shared addedHandler As Boolean
|
|
27 |
Private Shared addedHandler As Boolean |
|
28 | 28 | |
29 |
Private Shared addedHandlerLockObject As New Object
|
|
29 |
Private Shared addedHandlerLockObject As New Object |
|
30 | 30 | |
31 |
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
32 |
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
|
33 |
If My.Application.SaveMySettingsOnExit Then
|
|
34 |
My.Settings.Save()
|
|
35 |
End If
|
|
36 |
End Sub
|
|
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 | 37 |
#End If |
38 | 38 |
#End Region |
39 | ||
39 |
|
|
40 | 40 |
Public Shared ReadOnly Property [Default]() As MySettings |
41 | 41 |
Get |
42 | ||
42 |
|
|
43 | 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
|
|
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 | 52 |
#End If |
53 | 53 |
Return defaultInstance |
54 | 54 |
End Get |
55 | 55 |
End Property |
56 |
|
|
57 |
<Global.System.Configuration.UserScopedSettingAttribute(), _ |
|
58 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
|
59 |
Global.System.Configuration.DefaultSettingValueAttribute("\\desktop-9vlq0dp\Test02Site\P188943_SPPID_Plant\Plant_Hierarchy")> _ |
|
60 |
Public Property PlantPath() As String |
|
61 |
Get |
|
62 |
Return CType(Me("PlantPath"),String) |
|
63 |
End Get |
|
64 |
Set |
|
65 |
Me("PlantPath") = value |
|
66 |
End Set |
|
67 |
End Property |
|
56 | 68 |
End Class |
57 | 69 |
End Namespace |
58 | 70 | |
59 | 71 |
Namespace My |
60 | ||
61 |
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ |
|
62 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
|
63 |
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ |
|
72 |
|
|
73 |
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
|
74 |
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
|
75 |
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
|
64 | 76 |
Friend Module MySettingsProperty |
65 | ||
66 |
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ |
|
77 |
|
|
78 |
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
|
67 | 79 |
Friend ReadOnly Property Settings() As Global.SPPIDConverter.My.MySettings |
68 | 80 |
Get |
69 | 81 |
Return Global.SPPIDConverter.My.MySettings.Default |
내보내기 Unified diff