private void btnEditLease_Click(object sender, RoutedEventArgs e) { var editLease = new EditLease(); editLease.ShowDialog(); }