|
@@ -91,6 +91,19 @@ namespace Terminal.Gui {
|
|
Text = text;
|
|
Text = text;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// Public constructor
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <param name="text"></param>
|
|
|
|
+ public ComboBox (ustring text) : base ()
|
|
|
|
+ {
|
|
|
|
+ search = new TextField ("");
|
|
|
|
+ listview = new ListView () { LayoutStyle = LayoutStyle.Computed, CanFocus = true };
|
|
|
|
+
|
|
|
|
+ Initialize ();
|
|
|
|
+ Text = text;
|
|
|
|
+ }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Public constructor
|
|
/// Public constructor
|
|
/// </summary>
|
|
/// </summary>
|