public VMifError(MyIfError root, VMfunction parent) : base(root, parent) { this.CommandOpen = new DelegateCommand(() => new IfErrorWindow() { DataContext = this }.ShowDialog()); }
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)); }