コード例 #1
0
        public TerminalControl()
        {
            _instanceID = _instanceCount++;
            _enableAutoScrollBarAdjustment = false;
            _escForVI      = false;
            this.EnabledEx = false;

            // この呼び出しは、Windows.Forms フォーム デザイナで必要です。
            InitializeComponent();

            _terminalEmulatorMouseHandler = new TerminalEmulatorMouseHandler(this);
            _mouseHandlerManager.AddLastHandler(_terminalEmulatorMouseHandler);
            //TODO タイマーは共用化?
            _sizeTipTimer          = new System.Windows.Forms.Timer();
            _sizeTipTimer.Interval = 2000;
            _sizeTipTimer.Tick    += new EventHandler(this.OnHideSizeTip);

            this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
        }
コード例 #2
0
        public TerminalControl()
        {
            _instanceID = _instanceCount++;
            _enableAutoScrollBarAdjustment = false;
            _escForVI = false;
            this.EnabledEx = false;

            // ���̌Ăяo���́AWindows.Forms �t�H�[�� �f�U�C�i�ŕK�v�ł��B
            InitializeComponent();

            _mouseWheelHandler = new MouseWheelHandler(this, _VScrollBar);
            _mouseHandlerManager.AddFirstHandler(_mouseWheelHandler);    // mouse wheel handler will become second handler
            _mouseTrackingHandler = new MouseTrackingHandler(this);
            _mouseHandlerManager.AddFirstHandler(_mouseTrackingHandler);    // mouse tracking handler become first handler
            _terminalEmulatorMouseHandler = new TerminalEmulatorMouseHandler(this);
            _mouseHandlerManager.AddLastHandler(_terminalEmulatorMouseHandler);
            //TODO �^�C�}�[�͋��p���H
            _sizeTipTimer = new System.Windows.Forms.Timer();
            _sizeTipTimer.Interval = 2000;
            _sizeTipTimer.Tick += new EventHandler(this.OnHideSizeTip);

            this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
        }