Ejemplo n.º 1
0
        public TerminalOptions Import(TerminalOptions src)
        {
            //•\Ž¦
            _lineSpacing = src._lineSpacing;

            //ƒ^[ƒ~ƒiƒ‹
            _closeOnDisconnect       = src._closeOnDisconnect;
            _beepOnBellChar          = src._beepOnBellChar;
            _askCloseOnExit          = src._askCloseOnExit;
            _charDecodeErrorBehavior = src._charDecodeErrorBehavior;
            _disconnectNotification  = src._disconnectNotification;

            //‘€ì
            _terminalBufferSize = src._terminalBufferSize;
            _send0x7FByDel      = src._send0x7FByDel;
            _send0x7FByBack     = src._send0x7FByBack;
            _zone0x1F           = src._zone0x1F;
            _customKeySettings  = src._customKeySettings;
            _keepAliveInterval  = src._keepAliveInterval;

            //ƒƒO
            _defaultLogType      = src._defaultLogType;
            _defaultLogDirectory = src._defaultLogDirectory;

            //PreferenceEditor‚Ì‚Ý
            _shellHistoryLimitCount = src._shellHistoryLimitCount;

            return(this);
        }
Ejemplo n.º 2
0
        public void DefineItems(/* IPreferenceBuilder builder */)
        {
            //•\Ž¦
            _lineSpacing = 0;

            //ƒ^[ƒ~ƒiƒ‹
            _closeOnDisconnect       = true;
            _beepOnBellChar          = false;
            _askCloseOnExit          = false;
            _charDecodeErrorBehavior = WarningOption.MessageBox;
            _disconnectNotification  = WarningOption.StatusBar;

            //‘€ì
            _terminalBufferSize = 1000;
            _send0x7FByDel      = false;
            _send0x7FByBack     = false;
            _zone0x1F           = KeyboardStyle.None;
            _customKeySettings  = "";
            _keepAliveInterval  = 60000;

            //ƒƒO
            _defaultLogType      = LogType.None;
            _defaultLogDirectory = "";

            //PreferenceEditor‚Ì‚Ý
            _shellHistoryLimitCount = 100;
        }