private void showDonorInfo(int idDonor)
 {
     if (clsDonors.find(idDonor) == false)
     {
         clsDonors.open(idDonor);
     }
     if (clsDonors.ID == idDonor)
     {
         donorID        = idDonor;
         tbName.Text    = clsDonors.Name;
         tbDonorID.Text = donorID.ToString();
         //cboFoodCat.SelectedValue = "9";
         cboDonationType.SelectedValue = clsDonors.DefaultDonationType.ToString();
         //clsFoodDonations.openWhere(" Where DonorID=" + donorID.ToString());
         lblDnrHist.Text = "[" + clsDonors.ID.ToString() + "] " + clsDonors.Name;
         loadDonorLogList();
         //clsFoodDonations.openForDate((int)FoodDonations.datefieldselection.TrxDate, dtDonationDate.Value);
     }
 }
 /// <summary>
 /// Opens the Edit Donors Form so that a user can select which Donor
 /// made the donation
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnBrowse_Click(object sender, EventArgs e)
 {
     frmEditDonors.ShowDialog();
     donorID = frmEditDonors.SelectedId;
     if (donorID == 0)
     {
         tbDonorID.Text = "";
         tbName.Text    = "";
     }
     else
     {
         if (clsDonors.find(donorID) == false)
         {
             clsDonors.open(donorID);
         }
         tbName.Text    = clsDonors.Name;
         tbDonorID.Text = donorID.ToString();
         clsCashDonations.openWhere(" Where DonorID=" + donorID.ToString());
         loadDonorLogList();
         clsCashDonations.openWhere(" Where TrxDate Between '" + periodStartDate.ToShortDateString()
                                    + "' And '" + periodEndDate.ToShortDateString() + "'");
     }
 }