public CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown, IList |
||
trayLoc | TrayLocation | |
name | String | |
caption | System.String | |
width | Real | |
boxWidth | Real | |
maxItemsShown | int | |
items | IList |
|
Результат |
public SelectMenu CreateLongSelectMenu( TrayLocation trayLoc, String name, DisplayString caption, Real width, Real boxWidth, int maxItemsShown, IList<String> items )
{
SelectMenu sm = new SelectMenu( name, caption, width, boxWidth, maxItemsShown );
MoveWidgetToTray( sm, trayLoc );
sm.AssignedTrayListener = listener;
if ( !( items.Count == 0 ) )
sm.Items = items;
return sm;
}
SdkTrayManager::CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown ) : |