示例#1
0
        protected override void OnETFSystemUpdate(object sender, EFTSystemUpdateEventArgs e)
        {
            base.OnETFSystemUpdate(sender, e);

            var form = DrawForm;

            if (++r > 255)
            {
                r = 0;
            }
            form.panel1.BackColor = System.Drawing.Color.FromArgb(r, g, b);
        }
示例#2
0
        protected override void OnETFSystemUpdate(object sender, EFTSystemUpdateEventArgs e)
        {
            base.OnETFSystemUpdate(sender, e);

            var form = DrawForm;
            if (++r > 255)
                r = 0;
            form.panel1.BackColor = System.Drawing.Color.FromArgb(r, g, b);
        }