/** * Open's the availability table form with this team in the tag */ private void btnViewTeam_Click(object sender, EventArgs e) { Form availability = new frmAvailability(); availability.Tag = updateTeam.Clone(); availability.ShowDialog(); }
/** * Opens the availability form */ private void btnViewAvailability_Click(object sender, EventArgs e) { Form availability = new frmAvailability(); availability.ShowDialog(); }