예제 #1
0
 public LeaveChannel(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Leave Channel";
     this.Shortcut = Application.Instance.CommonModifier | Keys.Backspace;
 }
예제 #2
0
 public ChannelList(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Channel List...";
     this.Accelerator = Application.Instance.CommonModifier | Key.L;
 }
예제 #3
0
 public ChannelList(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Channel List...";
     this.Shortcut = Application.Instance.CommonModifier | Keys.L;
 }
예제 #4
0
 public LeaveChannel(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Leave Channel";
     this.Accelerator = Application.Instance.CommonModifier | Key.Backspace;
 }
예제 #5
0
 public ServerDisconnect(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Disconnect";
     
 }
예제 #6
0
 public RemoveServer(Channels channels, Configuration config)
 {
     this.channels = channels;
     this.config = config;
     this.ID = ActionID;
     this.MenuText = "Remove Server...";
 }
 public PrevUnreadChannel(Channels channels)
 {
     this.Channels = channels;
     this.ID = ActionID;
     this.MenuText = "Previous Unread Channel";
     if (channels.Generator.IsMac)
         this.Shortcut = Application.Instance.CommonModifier | Keys.Up;
     else
         this.Shortcut = Keys.Alt | Keys.Up;
 }
예제 #8
0
 public NextUnreadChannel(Channels channels)
 {
     this.Channels = channels;
     this.ID = ActionID;
     this.MenuText = "Next Unread Channel";
     if (channels.Generator.IsMac)
         this.Accelerator = Application.Instance.CommonModifier | Key.Down;
     else
         this.Accelerator = Key.Alt | Key.Down;
 }
예제 #9
0
 public PrevChannel(Channels channels)
 {
     this.Channels = channels;
     this.ID = ActionID;
     this.MenuText = "Previous Channel";
     if (channels.Generator.IsMac)
         this.Accelerator = Application.Instance.CommonModifier | Key.Shift | Key.Up;
     else
         this.Accelerator = Key.Alt | Key.Shift | Key.Up;
 }
예제 #10
0
 public NextChannel(Channels channels)
 {
     this.Channels = channels;
     this.ID = ActionID;
     this.MenuText = "Next Channel";
     if (channels.Generator.IsMac)
         this.Shortcut = Application.Instance.CommonModifier | Keys.Shift | Keys.Down;
     else
         this.Shortcut = Keys.Alt | Keys.Shift | Keys.Down;
 }
예제 #11
0
 public TopSection(Configuration config)
 {
     this.Config = config;
     Channels = new Channels(config);
     Channels.ChannelChanged += HandleChannelChanged;
     
     splitter = new Splitter{
         Panel1 = Channels ,
         Position = 160
     };
     
     this.AddDockedControl(splitter);
     
     SetView();
 }
예제 #12
0
 public TopSection(Configuration config)
 {
     this.Config = config;
     Channels = new Channels(config);
     Channels.ChannelChanged += HandleChannelChanged;
     
     splitter = new Splitter{
         Panel1 = Channels ,
         Position = 160
     };
     
     Content = splitter;
     
     SetView();
 }
예제 #13
0
 public void CreateActions(MenuItemCollection menu)
 {
     Channels.CreateActions(menu);
 }
예제 #14
0
 public new void Initialize()
 {
     Channels.Initialize();
     SetView();
 }
예제 #15
0
 public EditServer(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Edit Server...";
 }