public override void Config() { var screen = new ReplaceDialog(Args); if (screen.ShowDialog() == true) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Description")); } }
public void ShowEditDialog() { var screen = new ReplaceDialog(Args as ReplaceArgs); if (screen.ShowDialog() == true) { var myArgs = Args as ReplaceArgs; myArgs.From = screen.From; myArgs.To = screen.To; } }