private void Initialize() { var core = SystemCore.Instance; Manager = new MusicManager(); MessageBox = new Box(new Point(0, 0), new Size(core.WindowSize.Width, 0), Color.FromArgb(186, 231, 234), true, 0, Position.LeftMiddle); LoadTask = Task.Run(async () => { try { MessageBox.FadeSize(new Size(core.WindowSize.Width, 200), 0.5); MessageBox.FadeOpacity(100, 0.5); await Manager.LoadScoreAsync("Song/test/score.json"); Manager.Start(); MessageBox.FadeOpacity(0, 0.5); MessageBox.FadeSize(new Size(core.WindowSize.Width, 0), 0.5); } catch (Exception e) { LoadTaskException = e; } }); SideBar = new Box(new Point(0, 0), new Size(0, core.WindowSize.Height), Color.FromArgb(117, 207, 213), true, 0); SideBar.FadeOpacity(100); SideBar.FadeSize(new Size(280, core.WindowSize.Height)); }