public static MainViewData CreateMainView3D(CalculationViewModel vm) { var returnValue = new MainViewData(); returnValue.Parent = vm; returnValue.ViewType = MainViewTypes.VIEW3D; returnValue.Name = "3D View"; return(returnValue); }
public static MainViewData CreateMainViewFormulae(CalculationViewModel vm) { var returnValue = new MainViewData(); returnValue.Parent = vm; returnValue.ViewType = MainViewTypes.FORMULAE; returnValue.Name = "Output"; return(returnValue); }
public static MainViewData CreateMainViewAdd(CalculationViewModel vm) { var returnValue = new MainViewData(); returnValue.Parent = vm; returnValue.ViewType = MainViewTypes.ADD; returnValue.Name = "+"; return(returnValue); }