Ejemplo n.º 1
0
 public RemoveServer(Channels channels, Configuration config)
 {
     this.channels = channels;
     this.config = config;
     this.ID = ActionID;
     this.MenuText = "Remove Server...";
 }
Ejemplo n.º 2
0
 public LeaveChannel(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Leave Channel";
     this.Accelerator = Application.Instance.CommonModifier | Key.Backspace;
 }
Ejemplo n.º 3
0
		public ChannelList (Channels channels)
		{
			this.channels = channels;
			this.ID = ActionID;
			this.MenuText = "Channel List...";
			this.Accelerator = Application.Instance.CommonModifier | Key.L;
		}
Ejemplo n.º 4
0
		public ServerConnect (Channels channels, Configuration config)
		{
			this.channels = channels;
			this.config = config;
			this.ID = ActionID;
			this.MenuText = "Connect";
		}
Ejemplo n.º 5
0
 public ServerDisconnect(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Disconnect";
     
 }
Ejemplo n.º 6
0
		public NextChannel (Channels channels)
		{
			this.Channels = channels;
			this.ID = ActionID;
			this.MenuText = "Next Channel";
			if (channels.Generator.ID == Generators.Mac)
				this.Accelerator = Application.Instance.CommonModifier | Key.Shift | Key.Down;
			else
				this.Accelerator = Key.Alt | Key.Shift | Key.Down;
		}
Ejemplo n.º 7
0
 public PrevUnreadChannel(Channels channels)
 {
     this.Channels = channels;
     this.ID = ActionID;
     this.MenuText = "Previous Unread Channel";
     if (channels.Generator.IsMac)
         this.Accelerator = Application.Instance.CommonModifier | Key.Up;
     else
         this.Accelerator = Key.Alt | Key.Up;
 }
Ejemplo n.º 8
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 ();
		}
Ejemplo n.º 9
0
 public EditServer(Channels channels)
 {
     this.channels = channels;
     this.ID = ActionID;
     this.MenuText = "Edit Server...";
 }