diff options
| author | Michael <[email protected]> | 2017-04-30 18:50:54 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-30 18:50:54 -0400 |
| commit | 354b65cc54c6fdd4c004c5895bfd5fedf06abf7f (patch) | |
| tree | 39e05425ee3893a8077abbef93f53eb2f63edb52 /ShiftOS.WinForms/UniteSignupDialog.cs | |
| parent | cdfba45faaa9202c69bdfe1a2f9e92140e0ecdae (diff) | |
| download | shiftos_thereturn-354b65cc54c6fdd4c004c5895bfd5fedf06abf7f.tar.gz shiftos_thereturn-354b65cc54c6fdd4c004c5895bfd5fedf06abf7f.tar.bz2 shiftos_thereturn-354b65cc54c6fdd4c004c5895bfd5fedf06abf7f.zip | |
A better linking system.
Diffstat (limited to 'ShiftOS.WinForms/UniteSignupDialog.cs')
| -rw-r--r-- | ShiftOS.WinForms/UniteSignupDialog.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/UniteSignupDialog.cs b/ShiftOS.WinForms/UniteSignupDialog.cs new file mode 100644 index 0000000..2f20d9f --- /dev/null +++ b/ShiftOS.WinForms/UniteSignupDialog.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using ShiftOS.Engine; + +namespace ShiftOS.WinForms +{ + public partial class UniteSignupDialog : UserControl, IShiftOSWindow + { + public UniteSignupDialog(Action<string> callback) + { + InitializeComponent(); + Callback = callback; + } + + private Action<string> Callback { get; set; } + + + public void OnLoad() + { + this.ParentForm.AcceptButton = btnlogin; + } + + public void OnSkinLoad() + { + } + + public bool OnUnload() + { + return true; + } + + public void OnUpgrade() + { + } + } +} |
