private void Create_Record(object sender, RoutedEventArgs e)
 {
     AddRecord r = new AddRecord();
     r.ShowDialog();
 }
 private void AddRecord_Click(object sender, RoutedEventArgs e)
 {
     AddRecord rec = new AddRecord();
     rec.ShowDialog();
 }