Esempio 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);
        }
Esempio 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();
        }
Esempio 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();
            }
        }