Beispiel #1
0
 private void Box_ValueChanged(object sender, EventArgs e)
 {
     Delg.SetMaximum(Trades, LookupTable.getMaxSpace((int)Box.Value, (int)Slot.Value));
 }
Beispiel #2
0
 /// <summary>
 /// Sets the maximum number of eggs possible based on the selected box and slot.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Box_ValueChanged(object sender, EventArgs e)
 {
     Delg.SetMaximum(Eggs, LookupTable.GetRemainingSpaces((int)Box.Value,
                                                          (int)Slot.Value));
 }