I\'m trying to change the top left corner icon of the winform from the default one to my icon:
You can use the icon setted for application using the following code:
public MainForm() { InitializeComponent(); Icon = Icon.ExtractAssociatedIcon(System.Reflection.Assembly.GetExecutingAssembly().Location); }