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/Engine/AudioResourceClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/WindowsFormsApplication1/Engine/AudioResourceClient.cs') diff --git a/source/WindowsFormsApplication1/Engine/AudioResourceClient.cs b/source/WindowsFormsApplication1/Engine/AudioResourceClient.cs index 717d43a..b1f5b16 100644 --- a/source/WindowsFormsApplication1/Engine/AudioResourceClient.cs +++ b/source/WindowsFormsApplication1/Engine/AudioResourceClient.cs @@ -9,7 +9,7 @@ using NAudio.Wave; using System.Threading; using Newtonsoft.Json; using AxWMPLib; -using System.Windows.Forms; +using ShiftUI; using WMPLib; namespace ShiftOS @@ -119,7 +119,7 @@ namespace ShiftOS { if (o == (int)WMPPlayState.wmppsMediaEnded) { - var t = new System.Windows.Forms.Timer(); + var t = new ShiftUI.Timer(); t.Interval = 1000; t.Tick += (object s, EventArgs a) => { -- cgit v1.2.3