프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / SPPIDConverter / My Project / Settings.Designer.vb @ 78b49c9b

이력 | 보기 | 이력해설 | 다운로드 (3.42 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
         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
68 4f359afa Gyusu
    End Class
69
End Namespace
70
71
Namespace My
72 31d47a80 Gyusu
    
73
    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _
74
     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
75
     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _
76 4f359afa Gyusu
    Friend Module MySettingsProperty
77 31d47a80 Gyusu
        
78
        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _
79 4f359afa Gyusu
        Friend ReadOnly Property Settings() As Global.SPPIDConverter.My.MySettings
80
            Get
81
                Return Global.SPPIDConverter.My.MySettings.Default
82
            End Get
83
        End Property
84
    End Module
85
End Namespace
클립보드 이미지 추가 (최대 크기: 500 MB)