public ConsolePanel( ) { InitializeComponent( ); PanelImpl = new PanelImpl { IrcPanel = this, ScrollViewer = ScrollViewer, ScrollbackViewer = ScrollbackViewer, InputBar = InputBar, Dispatcher = Dispatcher, }; PanelImpl.InitializeComponent( ); ScrollbackManager.AddLine( "Welcome to ZiveIRC." ); }
public ConsolePanel( ) { InitializeComponent( ); PanelImpl = new PanelImpl { IrcPanel = this, ScrollViewer = ScrollViewer, ScrollbackViewer = ScrollbackViewer, InputBar = InputBar, Dispatcher = Dispatcher, }; PanelImpl.InitializeComponent( ); ScrollbackManager.AddLine("Welcome to ZiveIRC."); }
// 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 }