예제 #1
0
        public override StringOperation Clone()
        {
            var newNewCaseOperation = new NewCaseOperation()
            {
                Args = new NewCaseArgs()
                {
                    Style = ""
                }
            };
            var screen = new NewCaseConfigDialog(newNewCaseOperation.Args);

            if (screen.ShowDialog() == true)
            {
            }
            var ArgsAfterConfiguration = newNewCaseOperation.Args as NewCaseArgs;

            if (ArgsAfterConfiguration.Style == "")
            {
                return(null);
            }
            else
            {
                return(newNewCaseOperation);
            }
        }
예제 #2
0
        public override void Config()
        {
            var screen = new NewCaseConfigDialog(Args);

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