private void btnDeclare_Click(object sender, RoutedEventArgs e) { try { LogManager.WriteLog("CVaultDeclaration->btnDeclare_Click()", LogManager.enumLogLevel.Debug); CVaultCashEntry v_entry = new CVaultCashEntry(); v_entry.Owner = Window.GetWindow(this); v_entry.ShowDialog(); LoadVaultDropDetails(); } catch (Exception Ex) { ExceptionManager.Publish(Ex); } }