System.Windows.Forms.ToolBarButton.FindButtonIndex C# (CSharp) 메소드

FindButtonIndex() 개인적인 메소드

private FindButtonIndex ( ) : int
리턴 int
        private int FindButtonIndex() {
            for (int x = 0; x < parent.Buttons.Count; x++) {
                if (parent.Buttons[x] == this) {
                    return x;
                }
            }
            return -1;
        }