コード例 #1
0
 private void btn_army_Click(object sender, EventArgs e)
 {
     txtBox_display.Text = armyLoadout.ToString(0);
     lbl_weight.Text     = armyLoadout.CalculateWeight() + "";
     currentLoadout      = 3;
 }
コード例 #2
0
 private void btn_longHike_Click(object sender, EventArgs e)
 {
     txtBox_display.Text = longHikeLoadout.ToString(0);
     lbl_weight.Text     = longHikeLoadout.CalculateWeight() + "";
     currentLoadout      = 2;
 }