// Existing horse form. public HorseListForm(string clubID, int year, int horseNo) { ActiveHorse = new Horse(clubID, year, horseNo); InitializeComponent(); SetExistingData(); }
// Refresh to existing horse form. private void RefreshForm(string clubID, int year, int horseNo) { ActiveHorse = new Horse(clubID, year, horseNo); SetExistingData(); }
// New horse form. public HorseListForm(string clubID, int year) { ActiveHorse = new Horse(clubID, year); InitializeComponent(); SetNewData(); }
// Refresh to new horse form. private void RefreshForm(string clubID, int year) { ActiveHorse = new Horse(clubID, year); SetNewData(); }