2 /* Circ.Frontend.GtkSharp : GTK# frontend for Circ
3 * Copyright (C) 2007 LAVAL Jérémie
5 * This file is licensed under the terms of the LGPL.
7 * For the complete licence see the file COPYING.
13 using Circ
.Controller
;
15 namespace Circ
.Frontend
.GtkSharp
17 public partial class ChannelPanel
: Gtk
.Bin
20 ServerPanel servPanel
;
21 MessagesPanel messages
;
25 public ChannelPanel(IServerPanel servPanel
, IChannelControl ctrl
)
29 this.servPanel
= (ServerPanel
) servPanel
;
31 Gtk
.Application
.Invoke( delegate {
32 this.messages
= new MessagesPanel();
33 this.users
= new UsersPanel();
34 this.buffer
= messages
.Buffer
;
36 this.textWindow
.Add(messages
);
37 this.userWindow
.Add(users
);