1. Overriding ShipData.ToString () method
To implement an override of ToString () to ShipData class.
return NameWithLevel; or return MasterShip.NameWithClass; would be good.
1. ShipData.ToString () 메서드를 오버라이드.
ShipData 클래스에 ToString () 오버라이드를 구현합니다.
return NameWithLevel; 혹은 return MasterShip.NameWithClass;이 좋을겁니다.
2. It is recommended better implementation of this, ComboBox.Format events.
In this event, you will see it and rewrite the value of e.Value.
e.Value = (e.Value as ShipData) .NameWithLevel; I think, such as whether it is sufficient.
2. ComboBox.Format 이벤트 구현. 이 쪽을 추천합니다.
이 이벤트 안에서, e.Value 값을 고쳐 쓰면 그것이 표시됩니다.
e.Value = (e.Value as ShipData) .NameWithLevel; 등이면 좋을겁니다.
ComboBox.Format 이벤트를 구현한다던가,
e.Value값을 고쳐쓴다는게 무슨 말인지부터 모르겠다...
도...움...앙...망...
e.Value가 무엇읍니가