Example #1
0
 public RouterTextBox() : base()
 {
     _textBoxRouter     = new TextBoxRouter(this);
     _threadBridge      = new RouterThreadBridge();
     this.AcceptsReturn = true;
     this.ReadOnly      = true;
     this.Multiline     = true;
 }
Example #2
0
 public RouterTextBox()
     : base()
 {
     m_TextBoxRouter = new TextBoxRouter(this);
      m_ThreadBridge = new RouterThreadBridge();
      this.AcceptsReturn = true;
      this.ReadOnly = true;
      this.Multiline = true;
 }
Example #3
0
        /*****************/
        /* RouterTextBox */
        /*****************/

        public RouterTextBox() : base()
        {
            m_TextBoxRouter    = new TextBoxRouter(this);
            m_ThreadBridge     = new RouterThreadBridge();
            this.AcceptsReturn = true;
            this.IsReadOnly    = false;
            DataObject.AddPastingHandler(this, OnPaste);
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut, OnCut));
        }
Example #4
0
 /*****************/
 /* RouterTextBox */
 /*****************/
 public RouterTextBox()
     : base()
 {
     m_TextBoxRouter = new TextBoxRouter(this);
      m_ThreadBridge = new RouterThreadBridge();
      this.AcceptsReturn = true;
      this.IsReadOnly = false;
      DataObject.AddPastingHandler(this,OnPaste);
      CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut,OnCut));
 }
Example #5
0
        /*****************/
        /* RouterTextBox */
        /*****************/

        public RouterTextBox() : base()
        {
            m_TextBoxRouter    = new TextBoxRouter(this);
            m_ThreadBridge     = new RouterThreadBridge();
            this.AcceptsReturn = true;
            this.IsReadOnly    = false;
            DataObject.AddPastingHandler(this, OnPaste);
            CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut, OnCut));
            this.SelectionChanged         += new RoutedEventHandler(TextBoxSelectionChanged);
            this.PreviewMouseLeftButtonUp += new MouseButtonEventHandler(TextBox_PreviewMouseLeftButtonUp);
        }