public NewRoutinePage() { this.InitializeComponent(); IEnumerable <Exercise> exerciseEnum = new GetSetterDb().GetExercises("SELECT * FROM Exercises"); List <Exercise> exerciseCollection = new List <Exercise>(exerciseEnum); SortCollections(exerciseCollection); PopulateRadioButtons(chestCollection1, StackChest1, "chest1Group", Chest1_Checked); PopulateRadioButtons(chestCollection2, StackChest2, "chest2Group", Chest1_Checked); PopulateRadioButtons(chestCollection3, StackChest3, "chest3Group", Chest1_Checked); PopulateRadioButtons(backCollection1, StackBack1, "back1Group", Chest1_Checked); PopulateRadioButtons(backCollection2, StackBack2, "back2Group", Chest1_Checked); PopulateRadioButtons(backCollection3, StackBack3, "back3Group", Chest1_Checked); PopulateRadioButtons(legCollection1, StackLeg1, "leg1Group", Chest1_Checked); PopulateRadioButtons(legCollection2, StackLeg2, "leg2Group", Chest1_Checked); PopulateRadioButtons(legCollection3, StackLeg3, "leg3Group", Chest1_Checked); PopulateRadioButtons(armCollection1, StackArm1, "arm1Group", Chest1_Checked); PopulateRadioButtons(armCollection2, StackArm2, "arm2Group", Chest1_Checked); PopulateRadioButtons(armCollection3, StackArm3, "arm3Group", Chest1_Checked); }
public MainPage() { this.InitializeComponent(); dBConn = new GetSetterDb(); }