internal void SyncValue() { // Make sure that the local native dialog instance is NOT null. If it's null, just return the "textValue" var, otherwise, use the // native call to get the text value, setting the textValue member variable then return it. if (customizedDialog != null) { customizedDialog.GetEditBoxText(Id, out var textValue); base.Text = textValue; } }
public void SyncValue() { // Make sure that the local native dialog instance is NOT // null. If it's null, just return the "textValue" var, // otherwise, use the native call to get the text value, // setting the textValue member variable then return it. if (customizedDialog != null) { string textValue; customizedDialog.GetEditBoxText(this.Id, out textValue); base.Text = textValue; } }