﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using PKMDS_CS;

namespace PKMDS_Save_Editor
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void loadSaveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Test to make sure the dependencies are working correctly
            //this.Text = PKMDS.GetPKMName(4, 9, "F:\\Dropbox\\PKMDS Databases\\veekun-pokedex.sqlite");
        }
    }
}

﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using PKMDS_CS;

namespace PKMDS_Save_Editor
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void loadSaveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Test to make sure the dependencies are working correctly
            PKMDS.OpenDB("F:\\Dropbox\\PKMDS Databases\\veekun-pokedex.sqlite");
            this.Text = PKMDS.GetPKMName(4, 9);
            PKMDS.CloseDB();
        }
    }
}

Rework the way DB access is done
Rework the way DB access is done
