예제 #1
0
 public VMvalidation(MyValidation root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new ValidationWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
예제 #2
0
 public VMifError(MyIfError root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new IfErrorWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
예제 #3
0
 public VMlog(MyLog root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new LogWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
예제 #4
0
 public VMforeach(MyForeach root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new ForeachWindow()
     {
         DataContext = this
     }.ShowDialog());
     this.CommandSetList = new DelegateCommand(() => this.List = this.Parent.SelectVar());
 }
예제 #5
0
 public VMuseRegistry(MyRegistry root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new RegistryWindow()
     {
         DataContext = this
     }.ShowDialog());
     this.CommandSet = new DelegateCommand(() => this.SetVar = this.Parent.SelectVar());
 }
예제 #6
0
파일: VMif.cs 프로젝트: raket124/thesis
        public VMif(MyIf root, VMfunction parent) : base(root, parent)
        {
            this.CommandOpen = new DelegateCommand(() => new IfWindow()
            {
                DataContext = this
            }.ShowDialog());

            this.Condition = new VMcondition(this.Root.Condition, this);
        }
예제 #7
0
 public VMassign(MyAssign root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new AssignWindow()
     {
         DataContext = this
     }.ShowDialog());
     this.CommandSetVariable = new DelegateCommand(() => this.Variable = this.Parent.SelectVar());
     this.CommandSetValue    = new DelegateCommand(() => this.Value = this.Parent.SelectVar());
 }
예제 #8
0
        public VMinput(MyInput root, VMfunction parent) : base(root, parent)
        {
            this.CommandOpen = new DelegateCommand(() => new InputWindow()
            {
                DataContext = this
            }.ShowDialog());


            this.WrapVars();

            this.CommandAdd = new DelegateCommand(this.Add);
            this.Root.Variables.CollectionChanged += new NotifyCollectionChangedEventHandler(CollectionChanged);
        }
예제 #9
0
파일: VMelse.cs 프로젝트: raket124/thesis
 public VMelse(MyElse root, VMfunction parent) : base(root, parent)
 {
 }
예제 #10
0
파일: VMend.cs 프로젝트: raket124/thesis
 public VMend(MyEnd root, VMfunction parent) : base(root, parent)
 {
 }
예제 #11
0
 public VMbase(Base root, VMfunction parent) : base(root, parent)
 {
     this.CommandDelete = new DelegateCommand(() => this.Parent.Blocks.Remove(this));
 }
예제 #12
0
 public VMtotalEcmrs(MyTotalEcmrs root, VMfunction parent) : base(root, parent)
 {
     //this.CommandSetInput = new DelegateCommand(() => this.Input = this.Parent.SelectVar());
 }