private void locationDeleteBtn_Click(object sender, EventArgs e)
        {
            DataRow deletelocationRow = _dataModule.LocationTable.Rows[_locationCurrencyManager.Position];

            var locationId = deletelocationRow["locationId"].ToString();

            DataRow[] anyEventRow = _dataModule.EventTable.Select("locationId =" + locationId);

            if (anyEventRow.Length != 0)
            {
                MessageBox.Show("You may only delete records that have no events", "Warning");
                return;
            }

            if (MessageBox.Show("Are you sure you want to delete this record?", "Warning",
                                MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                deletelocationRow.Delete();
                _dataModule.UpdateLocationTable();
            }
        }