aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/ShiftLetters.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-23 20:20:38 -0400
committerMichael <[email protected]>2017-06-23 20:20:38 -0400
commit1661f9a5bd46dbd7d2586787c55bfc407c027629 (patch)
treed5ff99e5cc8f3db8a9236b247886866601b915b9 /ShiftOS.WinForms/Applications/ShiftLetters.cs
parent42a7829864cd6cf2dff2a21f9dbed208b154c6f7 (diff)
downloadshiftos_thereturn-1661f9a5bd46dbd7d2586787c55bfc407c027629.tar.gz
shiftos_thereturn-1661f9a5bd46dbd7d2586787c55bfc407c027629.tar.bz2
shiftos_thereturn-1661f9a5bd46dbd7d2586787c55bfc407c027629.zip
hacking work
Me: [squeaky] IT'S WORKING!! Phil: Michael... You just creeped me out...
Diffstat (limited to 'ShiftOS.WinForms/Applications/ShiftLetters.cs')
-rw-r--r--ShiftOS.WinForms/Applications/ShiftLetters.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftLetters.cs b/ShiftOS.WinForms/Applications/ShiftLetters.cs
index efa4b91..1fa58b4 100644
--- a/ShiftOS.WinForms/Applications/ShiftLetters.cs
+++ b/ShiftOS.WinForms/Applications/ShiftLetters.cs
@@ -182,9 +182,17 @@ namespace ShiftOS.WinForms.Applications
btnrestart.Visible = true;
lblword.Left = (this.Width - lblword.Width) / 2;
comboBox1.SelectedIndex = 0;
- this.tbguess.CenterParent();
+ tmrcenter.Tick += (o, a) =>
+ {
+ this.tbguess.CenterParent();
+ this.tbguess.Parent.CenterParent();
+ };
+ tmrcenter.Interval = 50;
+ tmrcenter.Start();
}
+ Timer tmrcenter = new Timer();
+
public void OnUpgrade()
{
@@ -192,6 +200,7 @@ namespace ShiftOS.WinForms.Applications
public bool OnUnload()
{
+ tmrcenter.Stop();
return true;
}