private void BtnRemove_Click(object sender, EventArgs e)
        {
            MasterForm master = (this.Parent.Parent as MasterForm);

            try
            {
                if (DBCollector.DeleteCollector((int)this.nudCollectorId.Value))
                {
                    master.SetStatus("Collector " + this.txtFirstName.Text + " " + this.txtLastName.Text + " has been deleted.");
                    if (this.nudCollectorId.Value > this.nudCollectorId.Minimum)
                    {
                        this.nudCollectorId.Value--;
                    }
                }
            }
            catch (Exception ex)
            {
                master.SetStatus("Error! Deletion failed: " + ex.Message);
            }
        }
 /// <summary>
 /// Deletes this collector from the database
 /// </summary>
 /// <returns>If a collector was deleted</returns>
 public bool Delete()
 {
     return(DBCollector.DeleteCollector(this.CollectorID));
 }