/// <summary> /// Triggered when a KeePass database has been closed /// </summary> private static void OnKeePassDatabaseClosed(object sender, FileClosedEventArgs fileClosedEventArgs) { // Remove the KeePass database instance from the already available configuration var config = Configuration.GetPasswordDatabaseConfiguration(fileClosedEventArgs.IOConnectionInfo.Path); config.KeePassDatabase = null; }
private void State_FileClosed(object sender, FileClosedEventArgs e) { if (openSearchDialogs.ContainsKey(e.File)) { openSearchDialogs[e.File].Close(); } }
private void OnFileClosed(object sender, FileClosedEventArgs e) { if (!IsPluginActive()) { return; } m_keeShare.Unregister(e.IOConnectionInfo); }
/// <summary> /// EventListener Method, called if User closes Database /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void OnFileClosed(object sender, FileClosedEventArgs e) { if (openPath.Equals(e.IOConnectionInfo.Path)) { if (MessageBox.Show("Delete Database?", "Database closed", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { File.Delete(openPath); } } }
private void OnKPDBClose(object sender, FileClosedEventArgs e) { SignalAllManagedRPCClients(Signal.DATABASE_CLOSED); }
private static void OTPDAO_FileClosed(object sender, FileClosedEventArgs e) { RemoveHandler(e.IOConnectionInfo.Path, true); }
private void OnFileClosed(object sender, FileClosedEventArgs e) { PasswordModifiedColumnProvider.ClearCache(); }
private void FileClosed(object sender, FileClosedEventArgs e) { this.lines.Clear(); PropertyChanged(nameof(HasData)); }
private void OnFileClosed(object sender, FileClosedEventArgs e) { throw new NotImplementedException(); }
private void FileClosed(object sender, FileClosedEventArgs e) { PropertyChanged(nameof(Title)); }
private void OnFileClosed(object sender, FileClosedEventArgs e) { ColoredQualityColumnProvider.ClearCache(); }
private void OnKPDBClose(object sender, FileClosedEventArgs e) { //KeePassRPCService.ensureDBisOpenEWH.Set(); // signal that DB is now open so any waiting JSONRPC thread can go ahead SignalAllManagedRPCClients(KeePassRPC.DataExchangeModel.Signal.DATABASE_CLOSED); }