private async void User_Click(object sender, RoutedEventArgs e) { personalText.Text = "♨\n"; // Await to make UI update before moving on to window //Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new PlaylistMenu()); await Task.Delay(25).ConfigureAwait(true); Playlists playlists = new Playlists(); playlists.Show(); this.Close(); }
private void Populate_Playlists(object sender, RoutedEventArgs e) { Playlists playlists = new Playlists(true); playlists.Show(); }