aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Engine/WindowManager/InfoboxTemplate.cs
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-11-05 14:13:06 -0600
committerFloppyDiskDrive <[email protected]>2017-11-05 14:13:06 -0600
commit019da5b9ebf67b758a31dd05c4b17de66fa682f2 (patch)
tree9d2341a1e9ab8fe1216800265d70a18f5e7ac762 /ShiftOS.Engine/WindowManager/InfoboxTemplate.cs
parent70ccdd214ed90d7d3ec3b5c1f9d0e4414fbe4987 (diff)
downloadshiftos-rewind-019da5b9ebf67b758a31dd05c4b17de66fa682f2.tar.gz
shiftos-rewind-019da5b9ebf67b758a31dd05c4b17de66fa682f2.tar.bz2
shiftos-rewind-019da5b9ebf67b758a31dd05c4b17de66fa682f2.zip
Began to add textpad, extra functionality to the infobox template
Diffstat (limited to 'ShiftOS.Engine/WindowManager/InfoboxTemplate.cs')
-rw-r--r--ShiftOS.Engine/WindowManager/InfoboxTemplate.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/ShiftOS.Engine/WindowManager/InfoboxTemplate.cs b/ShiftOS.Engine/WindowManager/InfoboxTemplate.cs
index a5be129..948df22 100644
--- a/ShiftOS.Engine/WindowManager/InfoboxTemplate.cs
+++ b/ShiftOS.Engine/WindowManager/InfoboxTemplate.cs
@@ -43,12 +43,19 @@ namespace ShiftOS.Engine.WindowManager
Ok
}
+ public enum DialogResult
+ {
+ Yes,
+ No,
+ Cancel,
+ Ok
+ }
+
private void btnOpt1_Click(object sender, EventArgs e)
{
switch (btnOpt1.Text)
{
case "OK":
- _buttonSelected = 1;
ParentForm?.Close();
break;
case "Yes":
@@ -82,10 +89,6 @@ namespace ShiftOS.Engine.WindowManager
private void InfoboxTemplate_Load(object sender, EventArgs e)
=> Play();
- private void changeSize_Tick(object sender, EventArgs e)
- {
- this.Height += label1.Height;
- this.Width += label1.Width;
- }
+
}
}