public static TextControl GetTextControl(bool isRuntimeEditable) { if (isRuntimeEditable) { _textControlObject = new TextBox(); } else { _textControlObject = new Label(); } return(_textControlObject); }
public static TextControl GetTextControl(bool isRuntimeEditable) { if (isRuntimeEditable) _textControlObject = new TextBox(); else _textControlObject = new Label(); return _textControlObject; }