aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WindowBorder.cs
diff options
context:
space:
mode:
authorRylan/wowmom98 <[email protected]>2017-02-04 12:22:11 -0500
committerRylan/wowmom98 <[email protected]>2017-02-04 12:22:11 -0500
commit6092cf1f9b56413ae0b7937f790b99046f2614be (patch)
tree9758a9502e23b7b89b0af3d1abc0909b0a5c5cb5 /ShiftOS.WinForms/WindowBorder.cs
parent8a445f961e05c5b432053ff3209bcb9b70f4aa96 (diff)
parent1f87bfe6c599e3c0e471096600a38647da263fa9 (diff)
downloadshiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.tar.gz
shiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.tar.bz2
shiftos_thereturn-6092cf1f9b56413ae0b7937f790b99046f2614be.zip
Merge branch 'master' of https://github.com/shiftos-game/ShiftOS
Diffstat (limited to 'ShiftOS.WinForms/WindowBorder.cs')
-rw-r--r--ShiftOS.WinForms/WindowBorder.cs20
1 files changed, 2 insertions, 18 deletions
diff --git a/ShiftOS.WinForms/WindowBorder.cs b/ShiftOS.WinForms/WindowBorder.cs
index be59c70..bb9b478 100644
--- a/ShiftOS.WinForms/WindowBorder.cs
+++ b/ShiftOS.WinForms/WindowBorder.cs
@@ -36,6 +36,7 @@ using static ShiftOS.Engine.SkinEngine;
using System.Runtime.InteropServices;
using ShiftOS.Engine;
using ShiftOS.WinForms.Tools;
+using ShiftOS.WinForms.Applications;
/// <summary>
/// Window border.
@@ -211,7 +212,7 @@ namespace ShiftOS.WinForms
/// </summary>
public void Setup()
{
- this.lbtitletext.Text = Localization.Parse(this._parentWindow.Text);
+ this.lbtitletext.Text = NameChangerBackend.GetName(ParentWindow);
if (SaveSystem.CurrentSave != null)
{
@@ -232,23 +233,6 @@ namespace ShiftOS.WinForms
}
/// <summary>
- /// Gets or sets the text.
- /// </summary>
- /// <value>The text.</value>
- public override string Text
- {
- get
- {
- return lbtitletext?.Text;
- }
-
- set
- {
- lbtitletext.Text = value;
- }
- }
-
- /// <summary>
/// Setups the skin.
/// </summary>
/// <returns>The skin.</returns>