private void AddRoom_bt_Click(object sender, RoutedEventArgs e) { NewRoomName.Text = ""; #pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed AddNewRoom_CD.ShowAsync(); #pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed }
private void AddNewRoom_CD_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { NewRoomName.Text = ""; AddNewRoom_CD.Hide(); }
private void AddNewRoom_CD_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { AddNewRoom_CD.Hide(); }