ComponentFactory.Krypton.Toolkit.ButtonSpecEventArgs.ButtonSpecEventArgs C# (CSharp) Method

ButtonSpecEventArgs() public method

Initialize a new instance of the ButtonSpecEventArgs class.
public ButtonSpecEventArgs ( ButtonSpec spec, int index ) : System
spec ButtonSpec Button spec effected by event.
index int Index of page in the owning collection.
return System
        public ButtonSpecEventArgs(ButtonSpec spec, int index)
        {
            Debug.Assert(spec != null);
            Debug.Assert(index >= 0);

            // Remember parameter details
            _spec = spec;
            _index = index;
        }
ButtonSpecEventArgs