private void BtnView_Click(object sender, RoutedEventArgs e)
 {
     if (Data != null)
     {
         ShowTableDialog.ShowNew(Data);
     }
 }
 private void BtnViewData_OnClick(object sender, RoutedEventArgs e)
 {
     ShowTableDialog.ShowNew(Data);
 }