private void RaiseEvent(Object sender, TextEditorEventHandler <T> evt) { if (evt != null) { evt(sender, new TextEditorEventArgs <T>(this)); } }
private void InitTextEditorEventHandler() { m_TouchScreenTextFieldInitialized = touchScreenTextField; if (m_TouchScreenTextFieldInitialized) { editingEventHandler = new TouchScreenTextEditorEventHandler(m_TextElement, editingUtilities); } else { editingEventHandler = new KeyboardTextEditorEventHandler(m_TextElement, editingUtilities); } }
private void RaiseEvent(TextEditorEventHandler <T> evt) { this.RaiseEvent(this, evt); }