예제 #1
0
        private void loadItems()
        {
            OpenFileDialog dialog = new OpenFileDialog();

            if (dialog.ShowDialog() == true)
            {
                string fileName = dialog.FileName;
                DBLoader.buildDBItems(fileName);
            }
        }
예제 #2
0
        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);
        }
예제 #3
0
 private void loadImages()
 {
     DBLoader.UpdateItemImages(true);
 }