private static object[] _comboBoxItems; // Список значений для комбо-бокса #endregion Fields #region Constructors public Gamma(int itemIndex, string key) { _gammaId = ((ComboBoxItem<GammaId>) ComboBoxItems[itemIndex]).HiddenValue; _key = key; }
public Gamma(int itemIndex, string key) { _gammaId = ((ComboBoxItem <GammaId>)ComboBoxItems[itemIndex]).HiddenValue; _key = key; }