hytos / DTI_PID / SPPIDConverter / My Project / Settings.Designer.vb @ faeb0937
이력 | 보기 | 이력해설 | 다운로드 (3.81 KB)
1 | 4f359afa | Gyusu | '------------------------------------------------------------------------------ |
---|---|---|---|
2 | ' <auto-generated> |
||
3 | 31d47a80 | Gyusu | ' 이 코드는 도구를 사용하여 생성되었습니다. |
4 | ' 런타임 버전:4.0.30319.42000 |
||
5 | 4f359afa | Gyusu | ' |
6 | 31d47a80 | Gyusu | ' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 |
7 | ' 이러한 변경 내용이 손실됩니다. |
||
8 | 4f359afa | Gyusu | ' </auto-generated> |
9 | '------------------------------------------------------------------------------ |
||
10 | |||
11 | Option Strict On |
||
12 | Option Explicit On |
||
13 | |||
14 | |||
15 | Namespace My |
||
16 | 31d47a80 | Gyusu | |
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 | 4f359afa | Gyusu | Partial Friend NotInheritable Class MySettings |
21 | Inherits Global.System.Configuration.ApplicationSettingsBase |
||
22 | 31d47a80 | Gyusu | |
23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) |
||
24 | |||
25 | #Region "My.Settings 자동 저장 기능" |
||
26 | 4f359afa | Gyusu | #If _MyType = "WindowsForms" Then |
27 | 31d47a80 | Gyusu | Private Shared addedHandler As Boolean |
28 | 4f359afa | Gyusu | |
29 | 31d47a80 | Gyusu | Private Shared addedHandlerLockObject As New Object |
30 | 4f359afa | Gyusu | |
31 | 31d47a80 | Gyusu | <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 | 4f359afa | Gyusu | #End If |
38 | #End Region |
||
39 | 31d47a80 | Gyusu | |
40 | 4f359afa | Gyusu | Public Shared ReadOnly Property [Default]() As MySettings |
41 | Get |
||
42 | 31d47a80 | Gyusu | |
43 | 4f359afa | Gyusu | #If _MyType = "WindowsForms" Then |
44 | 31d47a80 | Gyusu | 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 | 4f359afa | Gyusu | #End If |
53 | Return defaultInstance |
||
54 | End Get |
||
55 | End Property |
||
56 | 31d47a80 | Gyusu | |
57 | <Global.System.Configuration.UserScopedSettingAttribute(), _ |
||
58 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
||
59 | e282643f | Gyusu | Global.System.Configuration.DefaultSettingValueAttribute("")> _ |
60 | Public Property DBPath() As String |
||
61 | 31d47a80 | Gyusu | Get |
62 | e282643f | Gyusu | Return CType(Me("DBPath"),String) |
63 | 31d47a80 | Gyusu | End Get |
64 | Set |
||
65 | e282643f | Gyusu | 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 | 31d47a80 | Gyusu | End Set |
79 | End Property |
||
80 | 4f359afa | Gyusu | End Class |
81 | End Namespace |
||
82 | |||
83 | Namespace My |
||
84 | 31d47a80 | Gyusu | |
85 | <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ |
||
86 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ |
||
87 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ |
||
88 | 4f359afa | Gyusu | Friend Module MySettingsProperty |
89 | 31d47a80 | Gyusu | |
90 | <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ |
||
91 | 4f359afa | Gyusu | Friend ReadOnly Property Settings() As Global.SPPIDConverter.My.MySettings |
92 | Get |
||
93 | Return Global.SPPIDConverter.My.MySettings.Default |
||
94 | End Get |
||
95 | End Property |
||
96 | End Module |
||
97 | End Namespace |