コード例 #1
0
        public override void Config()
        {
            var screen = new ReplaceDialog(Args);

            if (screen.ShowDialog() == true)
            {
                PropertyChanged?.Invoke(this,
                                        new PropertyChangedEventArgs("Description"));
            }
        }
コード例 #2
0
ファイル: ReplaceOperation.cs プロジェクト: nmtri1912/Windows
        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;
            }
        }