Embedding fonts

This commit is contained in:
2022-10-08 18:27:17 +01:00
parent ecd4a81d9d
commit 23015caecd
12 changed files with 8 additions and 7 deletions

View File

@@ -26,8 +26,8 @@ Namespace My
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
Me.IsSingleInstance = false
Me.EnableVisualStyles = true
Me.SaveMySettingsOnExit = True
Me.ShutdownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterAllFormsClose
Me.SaveMySettingsOnExit = true
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterAllFormsClose
End Sub
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _

View File

@@ -75,7 +75,7 @@ Namespace My.Resources
'''</summary>
Friend ReadOnly Property Seven_Segment() As Byte()
Get
Dim obj As Object = ResourceManager.GetObject("Seven_Segment", resourceCulture)
Dim obj As Object = ResourceManager.GetObject("Seven Segment", resourceCulture)
Return CType(obj,Byte())
End Get
End Property

View File

@@ -121,10 +121,10 @@
<data name="DSEG7Classic_Regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\DSEG7Classic-Regular.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Seven_Segment" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\..\..\Downloads\seven_segment\Seven Segment.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="Seven Segment" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\seven segment.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Unicode_IEC_symbol" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\..\..\Downloads\Unicode_IEC_symbol.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>..\unicode_iec_symbol.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@@ -15,7 +15,7 @@ Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0"), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase