public RemoveServer(Channels channels, Configuration config) { this.channels = channels; this.config = config; this.ID = ActionID; this.MenuText = "Remove Server..."; }
public LeaveChannel(Channels channels) { this.channels = channels; this.ID = ActionID; this.MenuText = "Leave Channel"; this.Accelerator = Application.Instance.CommonModifier | Key.Backspace; }
public ChannelList (Channels channels) { this.channels = channels; this.ID = ActionID; this.MenuText = "Channel List..."; this.Accelerator = Application.Instance.CommonModifier | Key.L; }
public ServerConnect (Channels channels, Configuration config) { this.channels = channels; this.config = config; this.ID = ActionID; this.MenuText = "Connect"; }
public ServerDisconnect(Channels channels) { this.channels = channels; this.ID = ActionID; this.MenuText = "Disconnect"; }
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; }
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; }
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 (); }
public EditServer(Channels channels) { this.channels = channels; this.ID = ActionID; this.MenuText = "Edit Server..."; }