How to change listview selected row backcolor even when focus on another control?

What you describe works exactly as expected, assuming that you’ve set the HideSelection property of the ListView control to False. Here’s a screenshot for demonstration purposes. I created a blank project, added a ListView control and a TextBox control to a form, added some sample items to the ListView, set its view to “Details” (although … Read more

How to reset to default button BackColor?

The BackColor property is an ambient property by default, meaning that it inherits its value from its parent control. When you set it explicitly to a particular value, that overrides the ambient nature and forces it to use that particular value. The standard Windows button control does not support custom colors, so WinForms will actually … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)