private void buttonRebuildDB_Click(object sender, EventArgs e) { messageBoxDB.ForeColor = Color.Blue; messageBoxDB.Text = "Rebuilding an existing database"; // Show Rebuild Database menu RebuildRestoreForm rebuildDBForm = new RebuildRestoreForm(PicasaDB, _settings); rebuildDBForm.ShowDialog(); messageBoxDB.ForeColor = rebuildDBForm.ReturnColor; messageBoxDB.Text = rebuildDBForm.ReturnMessage; }