private void AddPerson_bt_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 AddNewUser_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 AddNewUser_CD_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { AddNewUser_CD.Hide(); }