コード例 #1
0
        public ConsolePanel( )
        {
            InitializeComponent( );

            PanelImpl = new PanelImpl {
                IrcPanel = this,
                ScrollViewer = ScrollViewer,
                ScrollbackViewer = ScrollbackViewer,
                InputBar = InputBar,
                Dispatcher = Dispatcher,
            };
            PanelImpl.InitializeComponent( );

            ScrollbackManager.AddLine( "Welcome to ZiveIRC." );
        }
コード例 #2
0
        public ConsolePanel( )
        {
            InitializeComponent( );

            PanelImpl = new PanelImpl {
                IrcPanel         = this,
                ScrollViewer     = ScrollViewer,
                ScrollbackViewer = ScrollbackViewer,
                InputBar         = InputBar,
                Dispatcher       = Dispatcher,
            };
            PanelImpl.InitializeComponent( );

            ScrollbackManager.AddLine("Welcome to ZiveIRC.");
        }
コード例 #3
0
        // Events

        // Constructors

        public DebugPanel( )
        {
            InitializeComponent( );

            PanelImpl = new PanelImpl {
                IrcPanel         = this,
                ScrollViewer     = ScrollViewer,
                ScrollbackViewer = ScrollbackViewer,
                InputBar         = InputBar,
                Dispatcher       = Dispatcher,
            };
            PanelImpl.InitializeComponent( );

#if DEBUG
            ScrollbackDebugManager = new ScrollbackDebugManager {
                FlowDocument = ScrollbackViewer.Document,
            };

            TraceListener = new DebugPanelTraceListener {
                Name = "DebugPanelTraceListener",
                ScrollbackDebugManager = ScrollbackDebugManager,
            };
#endif
        }
コード例 #4
0
        // Events
        // Constructors
        public DebugPanel( )
        {
            InitializeComponent( );

            PanelImpl = new PanelImpl {
                IrcPanel = this,
                ScrollViewer = ScrollViewer,
                ScrollbackViewer = ScrollbackViewer,
                InputBar = InputBar,
                Dispatcher = Dispatcher,
            };
            PanelImpl.InitializeComponent( );

            #if DEBUG
            ScrollbackDebugManager = new ScrollbackDebugManager {
                FlowDocument = ScrollbackViewer.Document,
            };

            TraceListener = new DebugPanelTraceListener {
                Name = "DebugPanelTraceListener",
                ScrollbackDebugManager = ScrollbackDebugManager,
            };
            #endif
        }