Beispiel #1
0
 protected virtual void OnConfigApplied(ConfigAppliedEventArgs e)
 {
     if (ConfigApplied != null)
     {
         ConfigApplied(this, e);
     }
 }
Beispiel #2
0
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            showTimestamps = e.AppliedConfig.IMTimestamps;
            //ReprintAllText();
            classiclayout = this.instance.Config.CurrentConfig.ClassicChatLayout;

            //tName = e.AppliedConfig.TweeterName;
            //tPwd = e.AppliedConfig.TweeterPwd;
            //TEnabled = e.AppliedConfig.EnableTweeter;
            //tweet = this.instance.Config.CurrentConfig.Tweet;
            //tweetname = this.instance.Config.CurrentConfig.TweeterUser;
        }
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            headerfont      = config.CurrentConfig.HeaderFont;
            headerfontstyle = config.CurrentConfig.HeaderFontStyle;
            headerfontsize  = config.CurrentConfig.HeaderFontSize;
            bkcolour        = config.CurrentConfig.HeaderBackColour;

            textfont      = config.CurrentConfig.TextFont;
            textfontstyle = config.CurrentConfig.TextFontStyle;
            textfontsize  = config.CurrentConfig.TextFontSize;

            hideSmileys = e.AppliedConfig.ChatSmileys;
        }
Beispiel #4
0
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            //update with new config
            label5.Text = e.AppliedConfig.BusyReply;

            label6.Text    = e.AppliedConfig.InitialIMReply;
            label8.Visible = e.AppliedConfig.DisableGroupIMs;
            label9.Visible = e.AppliedConfig.ReplyAI;

            if (string.IsNullOrEmpty(label5.Text))
            {
                label5.Text = "<empty>";
            }

            if (string.IsNullOrEmpty(label6.Text))
            {
                label6.Text = "<empty>";
            }
        }
Beispiel #5
0
 private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
 {
     ApplyConfig(e.AppliedConfig);
 }
Beispiel #6
0
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            //update with new config
            label5.Text = e.AppliedConfig.BusyReply;

            label6.Text = e.AppliedConfig.InitialIMReply;
            label8.Visible = e.AppliedConfig.DisableGroupIMs;
            label9.Visible = e.AppliedConfig.ReplyAI;

            if (string.IsNullOrEmpty(label5.Text))
            {
                label5.Text = "<empty>";
            }

            if (string.IsNullOrEmpty(label6.Text))
            {
                label6.Text = "<empty>";
            }
        }
Beispiel #7
0
 private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
 {
     ApplyConfig(e.AppliedConfig);
 }
Beispiel #8
0
 protected virtual void OnConfigApplied(ConfigAppliedEventArgs e)
 {
     if (ConfigApplied != null) ConfigApplied(this, e);
 }
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            headerfont = config.CurrentConfig.HeaderFont;
            headerfontstyle = config.CurrentConfig.HeaderFontStyle;
            headerfontsize = config.CurrentConfig.HeaderFontSize;
            bkcolour = config.CurrentConfig.HeaderBackColour;

            textfont = config.CurrentConfig.TextFont;
            textfontstyle = config.CurrentConfig.TextFontStyle;
            textfontsize = config.CurrentConfig.TextFontSize;

            hideSmileys = e.AppliedConfig.ChatSmileys;
        }
Beispiel #10
0
 private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
 {
     BeginInvoke(new MethodInvoker(delegate()
         {
             ApplyConfig(e.AppliedConfig);
         }));
 }
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            showTimestamps = e.AppliedConfig.ChatTimestamps;

            classiclayout = this.instance.Config.CurrentConfig.ClassicChatLayout;

            //TEnabled = e.AppliedConfig.EnableTweeter;
            //tName = e.AppliedConfig.TweeterName;
            //tPwd = e.AppliedConfig.TweeterPwd;
            //tweet = this.instance.Config.CurrentConfig.Tweet;
            //tweetname = this.instance.Config.CurrentConfig.TweeterUser;

            //update with new config
            gmu = e.AppliedConfig.GroupManagerUID;
            cau = e.AppliedConfig.ChairAnnouncerUUID;
            chairAnnouncerInterval = e.AppliedConfig.ChairAnnouncerInterval;
            chairAnnEnabled = e.AppliedConfig.ChairAnnouncerEnabled;
            chairAnnChat = e.AppliedConfig.ChairAnnouncerChat;
            chairAnnouncerGroups[0] = e.AppliedConfig.ChairAnnouncerGroup1;
            chairAnnouncerGroups[1] = e.AppliedConfig.ChairAnnouncerGroup2;
            chairAnnouncerGroups[2] = e.AppliedConfig.ChairAnnouncerGroup3;
            chairAnnouncerGroups[3] = e.AppliedConfig.ChairAnnouncerGroup4;
            chairAnnouncerGroups[4] = e.AppliedConfig.ChairAnnouncerGroup5;
            chairAnnouncerGroups[5] = e.AppliedConfig.ChairAnnouncerGroup6;
            CountActives();

            if (instance.Config.CurrentConfig.BufferApplied)
            {
                //ReprintAllText();
                CheckBufferSize();
                instance.Config.CurrentConfig.BufferApplied = false;
            }

            scriptbuffer.SetBuffer(instance.Config.CurrentConfig.ScriptUrlBufferLimit);
            urlbuffer.SetBuffer(instance.Config.CurrentConfig.ScriptUrlBufferLimit);
            instance.chatbuffer.SetBuffer(instance.Config.CurrentConfig.ChatBufferLimit);
        }
Beispiel #12
0
        private void Config_ConfigApplied(object sender, ConfigAppliedEventArgs e)
        {
            showTimestamps = e.AppliedConfig.IMTimestamps;
            //ReprintAllText();
            classiclayout = this.instance.Config.CurrentConfig.ClassicChatLayout;

            //tName = e.AppliedConfig.TweeterName;
            //tPwd = e.AppliedConfig.TweeterPwd;
            //TEnabled = e.AppliedConfig.EnableTweeter;
            //tweet = this.instance.Config.CurrentConfig.Tweet;
            //tweetname = this.instance.Config.CurrentConfig.TweeterUser;
        }