private void loadItems() { OpenFileDialog dialog = new OpenFileDialog(); if (dialog.ShowDialog() == true) { string fileName = dialog.FileName; DBLoader.buildDBItems(fileName); } }
public string getImagePath() { Debug.WriteLine("index: " + index + " category " + category); string path = DBLoader.calcItemImage(index, category, 0, 0); if (path == null) { path = "default.gif"; } return(path); }
private void loadImages() { DBLoader.UpdateItemImages(true); }