Visual C# : How To Change the Icon in Windows form Application

in #csharp5 years ago

Learn How To Change the Icon in Windows form Application using Visual Studio. Check out the below video to learn How To Change the Icon in Windows form Application using Visual Studio Professional IDE.

If you like this video then Do share the video in the article to your friends or in your social media accounts. You can also subscribe to the YouTube channel.

I recommend checking out C# in Nutshell Definitive Reference book. You can get a lot of answers to your questions. Plus the new edition of the book can cover some of the latest topics too.

How To Change the Icon in Windows form Application in Visual Studio?

When you wish to change the icon of the Windows forms application. You have to understand that it only accepts .png, ,ico and other similar formats supported by the visual studio. So if you have icon in one of these formats, then you can find out how to change them. The video linked above basically explains you how to do just that.

This tutorial applies for both the C# and the VB.Net. Though the video above pretty much explains you how to do the same for the C# only as of now. But if you are using this for the VB.Net then that's also possible. Steps should be pretty much the same. And both languages being supported under .NET, would accept the same file formats there.

As shown in the image here you can find out where to change the icon of the Windows form. Be it created using the .net or any other Visual studio supported project.

icon.png

Image Credit: vbforums

You can read about this form.icon property here.

You can either use the IDE or use the language to change the .ico file as needed.

I hope that this tutorial article helped. Don't forget the view the video above completely to learn the concepts.

If you are interested in learning more, check out Visual C# Winforms Tutorials.

I hope the information here helps you. I'd appreciate if you like the video and share it with others.

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63498.69
ETH 2645.91
USDT 1.00
SBD 2.80