Example #1
0
        public void ShowEditDialog()
        {
            var screen = new NewCaseDialog(Args as NewCaseArgs);

            if (screen.ShowDialog() == true)
            {
                var myArgs = Args as NewCaseArgs;
                myArgs.From = screen.From;
            }
        }
Example #2
0
        public override void Config()
        {
            var screen = new NewCaseDialog(Args);

            if (screen.ShowDialog() == true)
            {
                PropertyChanged?.Invoke(this,
                                        new PropertyChangedEventArgs("Description"));
            }
        }