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