public void OnFileNewYard_Click(object sender, RoutedEventArgs e)
        {
            AddYardWindow addYardWindow = new AddYardWindow();

            addYardWindow.Owner = this;
            addYardWindow.ShowDialog();
        }
 public void OnFileNewYard_Click(object sender, RoutedEventArgs e)
 {
     AddYardWindow addYardWindow = new AddYardWindow();
     addYardWindow.Owner = this;
     addYardWindow.ShowDialog();
 }