private void MaintainSweepClick(object sender, RoutedEventArgs e) { IDDSweepFeature f = new IDDSweepFeature(); f.ShowDialog(); }