Esempio n. 1
0
        public PopupMenu(ConsoleControl console)
        {
            Closed += ClosedTabComplete;
            Closed += ClosedHistory;

            StaysOpen = false;
            _intellisense.SelectionMode = SelectionMode.Single;
            _intellisense.SelectionChanged += IntellisenseSelectionChanged;
            _intellisense.IsTextSearchEnabled = true;
            //_intellisense.PreviewTextInput   += new TextCompositionEventHandler(popup_TextInput);

            _console = console;

            Child = _intellisense;
            PlacementTarget = _console.CommandBox;
        }
Esempio n. 2
0
        public PopupMenu(ConsoleControl console)
        {
            Closed += ClosedTabComplete;
            Closed += ClosedHistory;

            StaysOpen = false;
            _intellisense.SelectionMode       = SelectionMode.Single;
            _intellisense.SelectionChanged   += IntellisenseSelectionChanged;
            _intellisense.IsTextSearchEnabled = true;
            //_intellisense.PreviewTextInput   += new TextCompositionEventHandler(popup_TextInput);

            _console = console;

            Child           = _intellisense;
            PlacementTarget = _console.CommandBox;
        }
Esempio n. 3
0
 public HostRawUI(ConsoleControl control)
 {
     // TODO: Complete member initialization
     _control = control;
 }