CodeImp.Gluon.DisplayButton.StartInfoFlash C# (CSharp) Метод

StartInfoFlash() публичный Метод

public StartInfoFlash ( ) : void
Результат void
        public virtual void StartInfoFlash()
        {
            if(!flashinfo)
            {
                flashinfo = true;
                General.MainWindow.FlashInfo += OnFlashInfo;
                SetupColorsLocal(General.Colors);
                this.Invalidate();
            }
        }

Usage Example

Пример #1
0
        // Directory button clicked
        private void dirbutton_Click(object sender, EventArgs e)
        {
            DisplayButton thisbutton = (DisplayButton)sender;

            if (thisbutton.IsInfoFlashing)
            {
                thisbutton.StopInfoFlash();
            }
            else
            {
                thisbutton.StartInfoFlash();
            }

            UpdateSearchButton();
        }