Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Windows Form Icons

Windows Form Icons

Scheduled Pinned Locked Moved C#
csharpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndieDu
    wrote on last edited by
    #1

    Hi All, can someone plz let me know how can I put an .ico on windows form in c# (before the Form's "Text" property). i opened the .ico in windwos form Icon property, but it didn't appear on the form when i run it. thanks heaps.

    K L 2 Replies Last reply
    0
    • A AndieDu

      Hi All, can someone plz let me know how can I put an .ico on windows form in c# (before the Form's "Text" property). i opened the .ico in windwos form Icon property, but it didn't appear on the form when i run it. thanks heaps.

      K Offline
      K Offline
      kenexcelon
      wrote on last edited by
      #2

      Is the ShowIcon property set to true?

      Revolutionary: Disk drives go round and round.

      1 Reply Last reply
      0
      • A AndieDu

        Hi All, can someone plz let me know how can I put an .ico on windows form in c# (before the Form's "Text" property). i opened the .ico in windwos form Icon property, but it didn't appear on the form when i run it. thanks heaps.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, Form icons are set trough the Icon property; they only show for some FormBorderStyle values (e.g. Sizable, but not FixedDialog). Also ControlBox and ShowIcon must be true. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        Fixturized forever. :confused:


        A 1 Reply Last reply
        0
        • L Luc Pattyn

          Hi, Form icons are set trough the Icon property; they only show for some FormBorderStyle values (e.g. Sizable, but not FixedDialog). Also ControlBox and ShowIcon must be true. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          Fixturized forever. :confused:


          A Offline
          A Offline
          AndieDu
          wrote on last edited by
          #4

          thanks very much

          L 1 Reply Last reply
          0
          • A AndieDu

            thanks very much

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            You're welcome. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            Fixturized forever. :confused:


            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups