private void BT_ItemSourceEdit_Click(object sender, RoutedEventArgs e) { ItemSourceEditor itemSourceEditor = new ItemSourceEditor(CurrentItem); itemSourceEditor.Closed += new EventHandler(itemSourceEditor_Closed); itemSourceEditor.Show(); }