コード例 #1
0
 private void RaiseEvent(Object sender, TextEditorEventHandler <T> evt)
 {
     if (evt != null)
     {
         evt(sender, new TextEditorEventArgs <T>(this));
     }
 }
コード例 #2
0
 private void InitTextEditorEventHandler()
 {
     m_TouchScreenTextFieldInitialized = touchScreenTextField;
     if (m_TouchScreenTextFieldInitialized)
     {
         editingEventHandler = new TouchScreenTextEditorEventHandler(m_TextElement, editingUtilities);
     }
     else
     {
         editingEventHandler = new KeyboardTextEditorEventHandler(m_TextElement, editingUtilities);
     }
 }
コード例 #3
0
 private void RaiseEvent(TextEditorEventHandler <T> evt)
 {
     this.RaiseEvent(this, evt);
 }