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

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

public StopInfoFlash ( ) : void
Результат void
        public virtual void StopInfoFlash()
        {
            if(flashinfo)
            {
                flashinfo = false;
                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();
        }