프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / SPPIDConverter / My Project / Settings.Designer.vb @ 01d50054

이력 | 보기 | 이력해설 | 다운로드 (4.27 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 39d43554 Gyusu
        
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 4f359afa Gyusu
    End Class
93
End Namespace
94
95
Namespace My
96 31d47a80 Gyusu
    
97
    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
98
     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
99
     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
100 4f359afa Gyusu
    Friend Module MySettingsProperty
101 31d47a80 Gyusu
        
102
        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
103 4f359afa Gyusu
        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
클립보드 이미지 추가 (최대 크기: 500 MB)