private void LoadPictures(IUiLoader uiLoader) { _kinectProjectUiBuilder = new KinectProjectUiBuilder(MyLoopList, MyTextLoopList); uiLoader.LoadElementsIntoList(_kinectProjectUiBuilder, _currentOffer); //string[] paths = Directory.GetFiles(Environment.CurrentDirectory + @"\images\Top"); //Image img = new Image {Source = new BitmapImage(new Uri(paths[0], UriKind.RelativeOrAbsolute)) }; //Node node1 = MyLoopList.AddNewToLeft(null, img); //img = new Image { Source = new BitmapImage(new Uri(paths[1], UriKind.RelativeOrAbsolute)) }; //Node node2 = MyLoopList.AddNewToLeft(null, img); //node1.Right = node2; //node2.Left = node1; //node2.Below = node1; //node2.Right = node1; //MyTextLoopList.Add("lol"); }