#ifndef _SYSTEM_WINDOWS_CONTROLS_TEXTBOX_ #define _SYSTEM_WINDOWS_CONTROLS_TEXTBOX_ #include #include namespace System { namespace Windows { namespace Controls { class TextBox : public Control { private: int selectionLength; int selectionStart; String _text; public: // Gets or sets a value that determines if the user can change the text in the text box. bool IsReadOnly; String getSelectedText() const; String getText() const; void setText(const String& value); TextBox(); static int GetType(); void Select(const int start, const int length); void SelectAll(); const String& ToString() const; }; } } } #endif //_SYSTEM_WINDOWS_CONTROLS_TEXTBOX_