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