Esempio n. 1
0
        public static void ShowEmoteList(TwitchChannel channel)
        {
            if (EmoteList == null)
            {
                EmoteList = new Controls.EmoteListPopup();
            }

            EmoteList.SetChannel(channel);

            EmoteList.Show();

            EmoteList.FormClosed += (s, e) =>
            {
                EmoteList = null;
            };
        }
Esempio n. 2
0
        public static void ShowEmoteList(TwitchChannel channel, bool show_only_channel_emotes)
        {
            if (EmoteList == null)
            {
                EmoteList = new Controls.EmoteListPopup();
            }

            EmoteList.setShowOnlyChannelEmotes(show_only_channel_emotes);

            EmoteList.SetChannel(channel);

            EmoteList.Show();

            EmoteList.FormClosed += (s, e) =>
            {
                EmoteList = null;
            };
        }