private void DeleteRoom_CD_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { //App.Home.Rooms.Remove(Room); DeleteRoom_CD.Hide(); this.Frame.Navigate(typeof(MainPage), new DrillOutThemeAnimation()); }
private void DeleteRoom_CD_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { DeleteRoom_CD.Hide(); }
private void DeleteRoom_HL_Click(object sender, RoutedEventArgs e) { #pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed DeleteRoom_CD.ShowAsync(); #pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed }