For the button Set the UseVisibleStyleBackColor = False
Suppose the button name is "changeBatchLocationBtn"
Then in the load event of the form set the opacity using the below given code.
Color col = changeBatchLocationBtn.BackColor;
changeBatchLocationBtn.BackColor = Color.FromArgb(50, col.R, col.G, col.B);
--------------------------------
The 1st parameter for the FromArgb method decides the opacity. Lower value gives low opacity and higher value gives high opacity.
--------------------------------
Refer link for reference.
http://stackoverflow.com/questions/1751914/opacity-of-buttons-textboxes-vb-net[
^]
-- Bhushan Deshmukh
(Note : if you find the answer helpful plz provide appropriate vote on the top right corner.)