Commit 4e57de20 authored by Pilzinsel64's avatar Pilzinsel64

add force uppercase option

parent 50889f51
...@@ -27,7 +27,9 @@ Partial Class FormMain ...@@ -27,7 +27,9 @@ Partial Class FormMain
Me.Bar1 = New DevComponents.DotNetBar.Bar() Me.Bar1 = New DevComponents.DotNetBar.Bar()
Me.ButtonItem_Load = New DevComponents.DotNetBar.ButtonItem() Me.ButtonItem_Load = New DevComponents.DotNetBar.ButtonItem()
Me.ButtonItem_Save = New DevComponents.DotNetBar.ButtonItem() Me.ButtonItem_Save = New DevComponents.DotNetBar.ButtonItem()
Me.ButtonItem1 = New DevComponents.DotNetBar.ButtonItem()
Me.ButtonItem_EditProfile = New DevComponents.DotNetBar.ButtonItem() Me.ButtonItem_EditProfile = New DevComponents.DotNetBar.ButtonItem()
Me.ButtonItem_ForceUpperCase = New DevComponents.DotNetBar.ButtonItem()
Me.StyleManager1 = New DevComponents.DotNetBar.StyleManager(Me.components) Me.StyleManager1 = New DevComponents.DotNetBar.StyleManager(Me.components)
Me.Bar2 = New DevComponents.DotNetBar.Bar() Me.Bar2 = New DevComponents.DotNetBar.Bar()
Me.LabelItem_OtherStatus = New DevComponents.DotNetBar.LabelItem() Me.LabelItem_OtherStatus = New DevComponents.DotNetBar.LabelItem()
...@@ -42,7 +44,7 @@ Partial Class FormMain ...@@ -42,7 +44,7 @@ Partial Class FormMain
Me.Bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar Me.Bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar
Me.Bar1.AntiAlias = True Me.Bar1.AntiAlias = True
Me.Bar1.IsMaximized = False Me.Bar1.IsMaximized = False
Me.Bar1.Items.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.ButtonItem_Load, Me.ButtonItem_Save, Me.ButtonItem_EditProfile}) Me.Bar1.Items.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.ButtonItem_Load, Me.ButtonItem_Save, Me.ButtonItem1})
Me.Bar1.MenuBar = True Me.Bar1.MenuBar = True
Me.Bar1.Name = "Bar1" Me.Bar1.Name = "Bar1"
Me.Bar1.Stretch = True Me.Bar1.Stretch = True
...@@ -51,20 +53,34 @@ Partial Class FormMain ...@@ -51,20 +53,34 @@ Partial Class FormMain
' '
'ButtonItem_Load 'ButtonItem_Load
' '
Me.ButtonItem_Load.Name = "ButtonItem_Load"
resources.ApplyResources(Me.ButtonItem_Load, "ButtonItem_Load") resources.ApplyResources(Me.ButtonItem_Load, "ButtonItem_Load")
Me.ButtonItem_Load.Name = "ButtonItem_Load"
' '
'ButtonItem_Save 'ButtonItem_Save
' '
resources.ApplyResources(Me.ButtonItem_Save, "ButtonItem_Save")
Me.ButtonItem_Save.Enabled = False Me.ButtonItem_Save.Enabled = False
Me.ButtonItem_Save.Name = "ButtonItem_Save" Me.ButtonItem_Save.Name = "ButtonItem_Save"
resources.ApplyResources(Me.ButtonItem_Save, "ButtonItem_Save") '
'ButtonItem1
'
resources.ApplyResources(Me.ButtonItem1, "ButtonItem1")
Me.ButtonItem1.BeginGroup = True
Me.ButtonItem1.Name = "ButtonItem1"
Me.ButtonItem1.SubItems.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.ButtonItem_EditProfile, Me.ButtonItem_ForceUpperCase})
' '
'ButtonItem_EditProfile 'ButtonItem_EditProfile
' '
resources.ApplyResources(Me.ButtonItem_EditProfile, "ButtonItem_EditProfile")
Me.ButtonItem_EditProfile.BeginGroup = True Me.ButtonItem_EditProfile.BeginGroup = True
Me.ButtonItem_EditProfile.Name = "ButtonItem_EditProfile" Me.ButtonItem_EditProfile.Name = "ButtonItem_EditProfile"
resources.ApplyResources(Me.ButtonItem_EditProfile, "ButtonItem_EditProfile") '
'ButtonItem_ForceUpperCase
'
resources.ApplyResources(Me.ButtonItem_ForceUpperCase, "ButtonItem_ForceUpperCase")
Me.ButtonItem_ForceUpperCase.AutoCheckOnClick = True
Me.ButtonItem_ForceUpperCase.Checked = True
Me.ButtonItem_ForceUpperCase.Name = "ButtonItem_ForceUpperCase"
' '
'StyleManager1 'StyleManager1
' '
...@@ -73,9 +89,9 @@ Partial Class FormMain ...@@ -73,9 +89,9 @@ Partial Class FormMain
' '
'Bar2 'Bar2
' '
resources.ApplyResources(Me.Bar2, "Bar2")
Me.Bar2.AntiAlias = True Me.Bar2.AntiAlias = True
Me.Bar2.BarType = DevComponents.DotNetBar.eBarType.StatusBar Me.Bar2.BarType = DevComponents.DotNetBar.eBarType.StatusBar
resources.ApplyResources(Me.Bar2, "Bar2")
Me.Bar2.IsMaximized = False Me.Bar2.IsMaximized = False
Me.Bar2.Items.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.LabelItem_OtherStatus}) Me.Bar2.Items.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.LabelItem_OtherStatus})
Me.Bar2.Name = "Bar2" Me.Bar2.Name = "Bar2"
...@@ -85,12 +101,13 @@ Partial Class FormMain ...@@ -85,12 +101,13 @@ Partial Class FormMain
' '
'LabelItem_OtherStatus 'LabelItem_OtherStatus
' '
resources.ApplyResources(Me.LabelItem_OtherStatus, "LabelItem_OtherStatus")
Me.LabelItem_OtherStatus.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far Me.LabelItem_OtherStatus.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far
Me.LabelItem_OtherStatus.Name = "LabelItem_OtherStatus" Me.LabelItem_OtherStatus.Name = "LabelItem_OtherStatus"
resources.ApplyResources(Me.LabelItem_OtherStatus, "LabelItem_OtherStatus")
' '
'RibbonControl1 'RibbonControl1
' '
resources.ApplyResources(Me.RibbonControl1, "RibbonControl1")
Me.RibbonControl1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer)) Me.RibbonControl1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
' '
' '
...@@ -98,7 +115,6 @@ Partial Class FormMain ...@@ -98,7 +115,6 @@ Partial Class FormMain
Me.RibbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square Me.RibbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
Me.RibbonControl1.CanCustomize = False Me.RibbonControl1.CanCustomize = False
Me.RibbonControl1.CaptionVisible = True Me.RibbonControl1.CaptionVisible = True
resources.ApplyResources(Me.RibbonControl1, "RibbonControl1")
Me.RibbonControl1.ForeColor = System.Drawing.Color.Black Me.RibbonControl1.ForeColor = System.Drawing.Color.Black
Me.RibbonControl1.KeyTipsFont = New System.Drawing.Font("Tahoma", 7.0!) Me.RibbonControl1.KeyTipsFont = New System.Drawing.Font("Tahoma", 7.0!)
Me.RibbonControl1.Name = "RibbonControl1" Me.RibbonControl1.Name = "RibbonControl1"
...@@ -143,4 +159,6 @@ Partial Class FormMain ...@@ -143,4 +159,6 @@ Partial Class FormMain
Friend WithEvents Bar2 As DevComponents.DotNetBar.Bar Friend WithEvents Bar2 As DevComponents.DotNetBar.Bar
Friend WithEvents LabelItem_OtherStatus As DevComponents.DotNetBar.LabelItem Friend WithEvents LabelItem_OtherStatus As DevComponents.DotNetBar.LabelItem
Friend WithEvents RibbonControl1 As DevComponents.DotNetBar.RibbonControl Friend WithEvents RibbonControl1 As DevComponents.DotNetBar.RibbonControl
Friend WithEvents ButtonItem1 As DevComponents.DotNetBar.ButtonItem
Friend WithEvents ButtonItem_ForceUpperCase As DevComponents.DotNetBar.ButtonItem
End Class End Class
...@@ -117,12 +117,6 @@ ...@@ -117,12 +117,6 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="Bar1.AccessibleDescription" xml:space="preserve">
<value>Bar1 (Bar1)</value>
</data>
<data name="Bar1.AccessibleName" xml:space="preserve">
<value>Bar1</value>
</data>
<data name="ButtonItem_Load.Text" xml:space="preserve"> <data name="ButtonItem_Load.Text" xml:space="preserve">
<value>ROM öffnen</value> <value>ROM öffnen</value>
</data> </data>
...@@ -132,6 +126,12 @@ ...@@ -132,6 +126,12 @@
<data name="ButtonItem_EditProfile.Text" xml:space="preserve"> <data name="ButtonItem_EditProfile.Text" xml:space="preserve">
<value>Text-Profile organisieren</value> <value>Text-Profile organisieren</value>
</data> </data>
<data name="ButtonItem_ForceUpperCase.Text" xml:space="preserve">
<value>Großbuchstaben für Level- und Sternennamen erzwingen</value>
</data>
<data name="ButtonItem1.Text" xml:space="preserve">
<value>Optionen</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
......
This diff is collapsed.
...@@ -104,4 +104,8 @@ Public Class FormMain ...@@ -104,4 +104,8 @@ Public Class FormMain
romManager.SaveRom() romManager.SaveRom()
End Sub End Sub
Private Sub ButtonItem_ForceUpperCase_CheckedChanged(sender As Object, e As EventArgs) Handles ButtonItem_ForceUpperCase.CheckedChanged
controller.ForceUppercaseForActAndLevelNames = ButtonItem_ForceUpperCase.Checked
End Sub
End Class End Class
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment