public RouterTextBox() : base() { _textBoxRouter = new TextBoxRouter(this); _threadBridge = new RouterThreadBridge(); this.AcceptsReturn = true; this.ReadOnly = true; this.Multiline = true; }
public RouterTextBox() : base() { m_TextBoxRouter = new TextBoxRouter(this); m_ThreadBridge = new RouterThreadBridge(); this.AcceptsReturn = true; this.ReadOnly = true; this.Multiline = true; }
/*****************/ /* 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)); }
/*****************/ /* 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)); }
/*****************/ /* 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); }