Ejemplo n.º 1
0
 public VMvalidation(MyValidation root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new ValidationWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
Ejemplo n.º 2
0
 public VMifError(MyIfError root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new IfErrorWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
Ejemplo n.º 3
0
 public VMlog(MyLog root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new LogWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 6
0
        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);
        }
Ejemplo n.º 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());
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 9
0
 public VMelse(MyElse root, VMfunction parent) : base(root, parent)
 {
 }
Ejemplo n.º 10
0
 public VMend(MyEnd root, VMfunction parent) : base(root, parent)
 {
 }
Ejemplo n.º 11
0
 public VMbase(Base root, VMfunction parent) : base(root, parent)
 {
     this.CommandDelete = new DelegateCommand(() => this.Parent.Blocks.Remove(this));
 }
Ejemplo n.º 12
0
 public VMtotalEcmrs(MyTotalEcmrs root, VMfunction parent) : base(root, parent)
 {
     //this.CommandSetInput = new DelegateCommand(() => this.Input = this.Parent.SelectVar());
 }