Exemplo n.º 1
0
        private void fileDownloadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (fileContextMenuStrip.Tag == null)
            {
                return;
            }
            Dictionary <string, F_SQLiteField> attachmentDetails = (Dictionary <string, F_SQLiteField>)fileContextMenuStrip.Tag;

            SQLite806xTools.strategyFileDownload(attachmentDetails, ref saveFileDialogGeneric);
        }
Exemplo n.º 2
0
        private void fileRemoveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (fileContextMenuStrip.Tag == null)
            {
                return;
            }
            Dictionary <string, F_SQLiteField> attachmentDetails = (Dictionary <string, F_SQLiteField>)fileContextMenuStrip.Tag;

            SQLite806xTools.strategyFileRemove(attachmentDetails);
            fileButtonRefresh();
        }
Exemplo n.º 3
0
        private void fileUpdateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (fileContextMenuStrip.Tag == null)
            {
                return;
            }
            Dictionary <string, F_SQLiteField> attachmentDetails = (Dictionary <string, F_SQLiteField>)fileContextMenuStrip.Tag;

            if (SQLite806xTools.strategyFileUpdate(attachmentDetails, ref openFileDialogGeneric))
            {
                fileButtonRefresh();
            }
        }