Exemplo n.º 1
0
        private void MoveEntryButton_Click(object sender, EventArgs e)
        {
            con = new SQLiteConnection(connectionString);
            SQLiteCommand tableCmd = new SQLiteCommand("SELECT * FROM TableRegistry", con);
            DataTable     tableTable;

            con.Open();

            tableCmd.CommandType = CommandType.Text;
            SQLiteDataAdapter da = new SQLiteDataAdapter(tableCmd);

            tableTable = new DataTable();
            da.Fill(tableTable);

            con.Close();

            DialogBox dialogBox = new DialogBox(tableTable, tableString, DGV.SelectedRows, this);

            dialogBox.Show();
        }
Exemplo n.º 2
0
        private void AddItemsButton_Click(object sender, EventArgs e)
        {
            DialogBox dialogBox = new DialogBox(tableTable, "AddItems");

            dialogBox.Show();
        }
Exemplo n.º 3
0
        private void ManageItems_Click(object sender, EventArgs e)
        {
            DialogBox dialogBox = new DialogBox(tableTable, "ManageItems");

            dialogBox.Show();
        }
Exemplo n.º 4
0
        private void ConvertButton_Click(object sender, EventArgs e)
        {
            DialogBox dialogBox = new DialogBox(tableTable, "Convert");

            dialogBox.Show();
        }