Example #1
0
 public VMifError(MyIfError root, VMfunction parent) : base(root, parent)
 {
     this.CommandOpen = new DelegateCommand(() => new IfErrorWindow()
     {
         DataContext = this
     }.ShowDialog());
 }
Example #2
0
 private static string Convert(MyIfError input, Function f, ref int i)
 {
     return(Convert(input.If, f, ref i) + "\n" + Convert(input.Error, f, ref i) + "\n" + Convert(new MyEnd(), f, ref i));
 }