From 6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 19 Jul 2016 21:53:26 -0400 Subject: Full ShiftUI conversion The only bugs are that windows don't show in the center of the screen, and Gecko webbrowsers are not serializing properly to be converted to ShiftUI widgets (you can use the ToWidget() extension method to convert a WinForms control to a ShiftUI widget) Also multiple desktop panels are removed due to some odd bug I can't diagnose. Will add them back in the future. Promise. I loved creating GNOME2 skins. --- source/WindowsFormsApplication1/Apps/KnowledgeInput.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/WindowsFormsApplication1/Apps/KnowledgeInput.cs') diff --git a/source/WindowsFormsApplication1/Apps/KnowledgeInput.cs b/source/WindowsFormsApplication1/Apps/KnowledgeInput.cs index a494a93..2a5ef7f 100644 --- a/source/WindowsFormsApplication1/Apps/KnowledgeInput.cs +++ b/source/WindowsFormsApplication1/Apps/KnowledgeInput.cs @@ -7,7 +7,7 @@ using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using System.Windows.Forms; +using ShiftUI; namespace ShiftOS { @@ -67,7 +67,7 @@ namespace ShiftOS } // ERROR: Handles clauses are not supported in C# - private void ListBox1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e) + private void ListBox1_DrawItem(object sender, ShiftUI.DrawItemEventArgs e) { e.DrawBackground(); if ((e.State & DrawItemState.Selected) == DrawItemState.Selected) @@ -84,7 +84,7 @@ namespace ShiftOS } // ERROR: Handles clauses are not supported in C# - private void listblistedstuff_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e) + private void listblistedstuff_DrawItem(object sender, ShiftUI.DrawItemEventArgs e) { e.DrawBackground(); if ((e.State & DrawItemState.Selected) == DrawItemState.Selected) @@ -203,7 +203,7 @@ namespace ShiftOS } // ERROR: Handles clauses are not supported in C# - private void guessbox_keydown(object sender, System.Windows.Forms.KeyEventArgs e) + private void guessbox_keydown(object sender, ShiftUI.KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { -- cgit v1.2.3