diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs b/source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs index dbf086e..c73a567 100644 --- a/source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs +++ b/source/WindowsFormsApplication1/Apps/ShiftnetDecryptor.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; -using System.Windows.Forms; +using ShiftUI; namespace ShiftOS { @@ -35,15 +35,15 @@ namespace ShiftOS } } - private void RecursiveControlSetup(Control ctrl) + private void RecursiveWidgetSetup(Widget ctrl) { ctrl.Font = new Font(OSInfo.GetMonospaceFont(), ctrl.Font.Size); try { var pnl = (Panel)ctrl; - foreach (Control c in pnl.Controls) + foreach (Widget c in pnl.Widgets) { - RecursiveControlSetup(c); + RecursiveWidgetSetup(c); } } catch @@ -150,7 +150,7 @@ namespace ShiftOS private void ShiftnetDecryptor_Load(object sender, EventArgs e) { - RecursiveControlSetup(panel1); + RecursiveWidgetSetup(panel1); } } } |
