示例#1
0
        public void ShowUpdateArgDialog()
        {
            var screen = new UpdateReplaceArgsDialog(Args as ReplaceArgs);

            if (screen.ShowDialog() == true)
            {
                //MessageBox.Show("Args changed");
                RaiseChangeEvent("Description");
            }
        }
示例#2
0
        public void ShowUpdateArgDialog()
        {
            var screen = new UpdateReplaceArgsDialog(Args as ReplaceArgs);

            if (screen.ShowDialog() == true)
            {
                var args    = Args as ReplaceArgs;
                var oldfile = args.OldFile;
                var newfile = args.NewFile;

                MessageBox.Show(args.OldFile);
                MessageBox.Show(args.NewFile);

                RaiseChangeEvent("Description");
            }
        }