Cascade.Controls.getButton C# (CSharp) Метод

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

public getButton ( Buttons b ) : int
b Buttons
Результат int
        public int getButton(Buttons b)
        {
            if (controlMode == 0)
                return -1;
            int ind = Array.IndexOf(buttonString, b.ToString());
            try
            {
                return buttonStateArray3[ind];
            }
            catch (IndexOutOfRangeException)
            {
                //button not in array
                addButton(b);
                return getButton(b);
            }
        }

Same methods

Controls::getButton ( String b ) : int