AntTweakBar.Button.Button C# (CSharp) Method

Button() public method

Creates a new button in a given bar.
public Button ( Bar bar, EventHandler clicked = null, String def = null ) : System
bar Bar The bar to create the button in.
clicked EventHandler A handler to call when the button is clicked.
def String An optional definition string for the new button.
return System
        public Button(Bar bar, EventHandler clicked = null, String def = null)
            : base(bar, InitButton, def)
        {
            Clicked += clicked;
        }