Converted to Net7 and now get the following warning about:
Me.HighDpiMode = HighDpiMode.DpiUnaware
Should I ignore or do something.
Partial Friend Class MyApplication
<Global.System.Diagnostics.DebuggerStepThroughAttribute()>
Public Sub New()
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
Me.IsSingleInstance = false
Me.EnableVisualStyles = true
Me.SaveMySettingsOnExit = true
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
Me.HighDpiMode = HighDpiMode.DpiUnaware
End Sub
Warning BC42025 Access of shared member, constant member, enum member or nested type through an instance;
qualifying expression will not be evaluated.
...\Net7\CAG Suite\CagSuite\My Project\Application.Designer.vb
Me.HighDpiMode = HighDpiMode.DpiUnaware
Should I ignore or do something.
Partial Friend Class MyApplication
<Global.System.Diagnostics.DebuggerStepThroughAttribute()>
Public Sub New()
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
Me.IsSingleInstance = false
Me.EnableVisualStyles = true
Me.SaveMySettingsOnExit = true
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
Me.HighDpiMode = HighDpiMode.DpiUnaware
End Sub
Warning BC42025 Access of shared member, constant member, enum member or nested type through an instance;
qualifying expression will not be evaluated.
...\Net7\CAG Suite\CagSuite\My Project\Application.Designer.vb