public TextBox CreateTextBox( TrayLocation trayLoc, String name, DisplayString caption, Real width, Real height ) { TextBox tb = new TextBox( name, caption, width, height ); MoveWidgetToTray( tb, trayLoc ); tb.AssignedTrayListener = listener; return tb; }