public SpeedRunsLiveForm(LiveSplitState state, ITimerModel model, string raceId)
 {
     DownloadAllEmotes();
     RaceId = raceId;
     GameCategory = null;
     var raceChannel = string.Format("#srl-{0}", raceId);
     var liveSplitChannel = string.Format("{0}-livesplit", raceChannel);
     SRLClient = new SpeedRunsLiveIRC(state, model, new[] { "#speedrunslive", raceChannel, liveSplitChannel });
     SRLClient.ChannelJoined += SRLClient_ChannelJoined;
     SRLClient.RawMessageReceived += SRLClient_RawMessageReceived;
     SRLClient.MessageReceived += SRLClient_MessageReceived;
     SRLClient.StateChanged += SRLClient_StateChanged;
     SRLClient.UserListRefreshed += SRLClient_UserListRefreshed;
     SRLClient.GoalChanged += SRLClient_GoalChanged;
     SRLClient.PasswordIncorrect += SRLClient_PasswordIncorrect;
     SRLClient.NicknameInUse += SRLClient_NicknameInUse;
     SRLClient.Disconnected += SRLClient_Disconnected;
     SRLClient.Kicked += SRLClient_Kicked;
     InitializeComponent();
     SRLClient_StateChanged(null, RaceState.NotInRace);
     btnJoinQuit.Enabled = false;
     FormIsClosing = false;
 }
 public SpeedRunsLiveForm(LiveSplitState state, ITimerModel model, string gameName, string gameID, string gameCategory)
 {
     DownloadAllEmotes();
     GameId = gameID;
     GameCategory = gameCategory;
     SRLClient = new SpeedRunsLiveIRC(state, model, new[] { "#speedrunslive" });
     SRLClient.GameName = gameName;
     SRLClient.ChannelJoined += SRLClient_ChannelJoined;
     SRLClient.RawMessageReceived += SRLClient_RawMessageReceived;
     SRLClient.MessageReceived += SRLClient_MessageReceived;
     SRLClient.StateChanged += SRLClient_StateChanged;
     SRLClient.UserListRefreshed += SRLClient_UserListRefreshed;
     SRLClient.GoalChanged += SRLClient_GoalChanged;
     SRLClient.PasswordIncorrect += SRLClient_PasswordIncorrect;
     SRLClient.NicknameInUse += SRLClient_NicknameInUse;
     SRLClient.Disconnected += SRLClient_Disconnected;
     SRLClient.Kicked += SRLClient_Kicked;
     InitializeComponent();
     SRLClient_StateChanged(null, RaceState.NotInRace);
     btnJoinQuit.Enabled = false;
     FormIsClosing = false;
 }