private void CompactionError(Exception ex)
 {
     if (this.InvokeRequired)
     {
         Delegate d = new OperationErrorDelegate(CompactionError);
         this.Invoke(d, new Object[] { ex });
     }
     else
     {
         MessageBox.Show("An error occurred while trying to compact the Store:\n" + ex.Message);
         this.ShowDatabaseInformation();
         this._compacter = null;
     }
 }
 private void UpgradeError(Exception ex)
 {
     if (this.InvokeRequired)
     {
         Delegate d = new OperationErrorDelegate(UpgradeError);
         this.Invoke(d, new Object[] { ex });
     }
     else
     {
         MessageBox.Show("An error occurred while trying to perform the Upgrade:\n" + ex.Message);
         this.ShowDatabaseInformation();
         this._upgrader = null;
     }
 }