fCraft.ConfigGUI.MainForm.FillRankList C# (CSharp) Метод

FillRankList() приватный статический Метод

private static FillRankList ( [ box, string firstItem ) : void
box [
firstItem string
Результат void
        private static void FillRankList( [NotNull] ComboBox box, string firstItem )
        {
            if ( box == null )
                throw new ArgumentNullException( "box" );
            box.Items.Clear();
            box.Items.Add( firstItem );
            foreach ( Rank rank in RankManager.Ranks ) {
                box.Items.Add( ToComboBoxOption( rank ) );
            }
        }
MainForm