Example #1
0
        public override void Config()
        {
            var screen = new ReplaceDialog(Args);

            if (screen.ShowDialog() == true)
            {
                PropertyChanged?.Invoke(this,
                                        new PropertyChangedEventArgs("Description"));
            }
        }
Example #2
0
        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;
            }
        }