private void AddEntry( Mobile mobile, int i ) { int y = ( i * 25 ) + 108; int x = 100; int buttonOne = mobile.Serial.Value; int buttonTwo = mobile.Serial.Value + 1; MobileEntry mEntry = new MobileEntry( mobile, buttonOne, buttonTwo ); m_MobileEntries.Add( mEntry ); AddGroup( i ); AddLabel( x, y, 36, mobile.Name ); y = ( i * 25 ) + 104; x = 272; AddRadio( x, y, 9792, 9793, ( i < 5 ), buttonOne ); x = 338; AddRadio( x, y, 9792, 9793, ( i > 4 ), buttonTwo ); }
private void AddEntry(Mobile mobile, int i) { int y = (i * 25) + 108; int x = 100; int buttonOne = mobile.Serial.Value; int buttonTwo = mobile.Serial.Value + 1; MobileEntry mEntry = new MobileEntry(mobile, buttonOne, buttonTwo); m_MobileEntries.Add(mEntry); AddGroup(i); AddLabel(x, y, 36, mobile.Name); y = (i * 25) + 104; x = 272; AddRadio(x, y, 9792, 9793, (i < 5), buttonOne); x = 338; AddRadio(x, y, 9792, 9793, (i > 4), buttonTwo); }