public CreateDivisionForm(IDivisionRequester caller) { callingForm = caller; StackFrame frame = new StackFrame(1, true); method = (frame.GetMethod().Name); InitializeComponent(); // WireupTeams(); // getTeamNames(divs); // getTeamNumbers(divs); }
public CreateDivisionForm(IDivisionRequester caller, SeasonModel season) { callingForm = caller; thisSeason = season; StackFrame frame = new StackFrame(1, true); method = (frame.GetMethod().Name); divs = GlobalConfig.Connection.GetSeasonDivisions(thisSeason.SeasonID); InitializeComponent(); seasonNameLabel.Text = thisSeason.SeasonName; }