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