private void Modify() { if (SelectedExchange == null) { return; } var window = new Windows.EditExchangeWindow(this, selectedExchange); window.ShowDialog(); }
private void Add() { var window = new Windows.EditExchangeWindow(this, null, true); window.ShowDialog(); }