aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Applications')
-rw-r--r--ShiftOS.WinForms/Applications/Calculator.Designer.cs2
-rw-r--r--ShiftOS.WinForms/Applications/Calculator.cs8
2 files changed, 5 insertions, 5 deletions
diff --git a/ShiftOS.WinForms/Applications/Calculator.Designer.cs b/ShiftOS.WinForms/Applications/Calculator.Designer.cs
index d505e1a..f7a6e52 100644
--- a/ShiftOS.WinForms/Applications/Calculator.Designer.cs
+++ b/ShiftOS.WinForms/Applications/Calculator.Designer.cs
@@ -193,7 +193,7 @@ namespace ShiftOS.WinForms.Applications
this.Controls.Add(this.button1);
this.Controls.Add(this.numBox);
this.Name = "Calculator";
- this.Size = new System.Drawing.Size(150, 149);
+ this.Size = new System.Drawing.Size(186, 190);
this.Load += new System.EventHandler(this.Template_Load);
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/ShiftOS.WinForms/Applications/Calculator.cs b/ShiftOS.WinForms/Applications/Calculator.cs
index ac09567..f7eed4a 100644
--- a/ShiftOS.WinForms/Applications/Calculator.cs
+++ b/ShiftOS.WinForms/Applications/Calculator.cs
@@ -62,17 +62,17 @@ namespace ShiftOS.WinForms.Applications
public void OnLoad()
{
- throw new NotImplementedException();
+
}
public void OnSkinLoad()
{
- throw new NotImplementedException();
+
}
public bool OnUnload()
{
- throw new NotImplementedException();
+ return true;
}
public void OnUpgrade()
@@ -82,7 +82,7 @@ namespace ShiftOS.WinForms.Applications
private void button1_Click(object sender, EventArgs e)
{
- numBox.Text = "" + "1";
+ numBox.Text = numBox.Text + "1";
}
}
}