Added Start with Windows setting admin warning
This commit is contained in:
@@ -34,6 +34,11 @@ Public Class frmSettings
|
||||
|
||||
Private Function ValidateSettings() As Boolean
|
||||
|
||||
'Show Start with Windows warning if running as admin
|
||||
If chkStartWindows.Checked And mgrCommon.IsElevated Then
|
||||
mgrCommon.ShowMessage(frmSettings_WarningAdminStart, MsgBoxStyle.Exclamation)
|
||||
End If
|
||||
|
||||
'Only modify registry key when the value changed
|
||||
If chkStartWindows.Checked <> oSettings.StartWithWindows Then
|
||||
HandleRegistryUpdate(chkStartWindows.Checked)
|
||||
|
||||
Generated
+9
@@ -4155,6 +4155,15 @@ Namespace My.Resources
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Please note that GBM will not "Start with Windows" as Administrator.[BR][BR]See the Online Manual in the Help menu for details..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property frmSettings_WarningAdminStart() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("frmSettings_WarningAdminStart", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Invalid or poorly formatted 7-Zip arguments can cause backup or restore operations to fail.[BR][BR]If problems occur, clear the custom arguments and try again..
|
||||
'''</summary>
|
||||
|
||||
@@ -1945,4 +1945,7 @@
|
||||
<data name="frmSettings_chkSessionTracking" xml:space="preserve">
|
||||
<value>Enable session tracking</value>
|
||||
</data>
|
||||
<data name="frmSettings_WarningAdminStart" xml:space="preserve">
|
||||
<value>Please note that GBM will not "Start with Windows" as Administrator.[BR][BR]See the Online Manual in the Help menu for details.</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user