void PrintType(Composite c) { txtResponse.Text += c.ToString() + Environment.NewLine; foreach (Component co in c.classes) { txtResponse.Text += Indent; PrintClass((Leaf)co); } }
private void btn_army_Click(object sender, EventArgs e) { txtBox_display.Text = armyLoadout.ToString(0); lbl_weight.Text = armyLoadout.CalculateWeight() + ""; currentLoadout = 3; }
private void btn_longHike_Click(object sender, EventArgs e) { txtBox_display.Text = longHikeLoadout.ToString(0); lbl_weight.Text = longHikeLoadout.CalculateWeight() + ""; currentLoadout = 2; }