private void OverlayOnOpened(object sender, EventArgs e) { GuiController.SLog("Dialog opened, " + sender); dialog = (Overlay)sender; HasOverlay = true; Invalidate(true); }
private void OverlayOnClosed(object sender, EventArgs e) { GuiController.SLog("Dialog closed, " + sender); dialog = null; HasOverlay = false; Invalidate(true); }
static void Main(string[] args) { var jukeControl = JukeController.Instance; jukeControl.Player.RegisterPlayerEngine(new CorePlayerEngine()); //jukeControl.LoadHandler.LoadSongs(new FakeLoader()); //Debug(); var gui = new GuiController(jukeControl); gui.Run(); }