How to set button style?

So I loaded a texture from C++, and I made a style, but then I had trouble setting it to a button.

Please help.