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
  1. Home
  2. General Programming
  3. C#
  4. Forms

Forms

Scheduled Pinned Locked Moved C#
questiondesigntutorial
6 Posts 4 Posters 2 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.
  • B Offline
    B Offline
    BlitzPackage
    wrote on last edited by
    #1

    Good People, How do I get a form I have added to my project to show? I want it to show in response to a user's button click. Also, how do I design a form that looks like, for example, the "Exception Assistant" dialog? It doesn't have that heavy blue border/header at the top. Is there some criteria or selection that should be checked or must I code it? Thank you, BP

    C 1 Reply Last reply
    0
    • B BlitzPackage

      Good People, How do I get a form I have added to my project to show? I want it to show in response to a user's button click. Also, how do I design a form that looks like, for example, the "Exception Assistant" dialog? It doesn't have that heavy blue border/header at the top. Is there some criteria or selection that should be checked or must I code it? Thank you, BP

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      BlitzPackage wrote:

      How do I get a form I have added to my project to show?

      Create an instance of the class and call ShowDialog()

      BlitzPackage wrote:

      I want it to show in response to a user's button click.

      Then you need a click event. Double click on the button in the designer and you'll get one.

      BlitzPackage wrote:

      It doesn't have that heavy blue border/header at the top.

      Change that property in the form designer. I forget it's name, although I always change it ( the default is resizable form and I never want that ) The default also puts an item in the taskbar, I never want that, either. The default is stupid.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      B 1 Reply Last reply
      0
      • C Christian Graus

        BlitzPackage wrote:

        How do I get a form I have added to my project to show?

        Create an instance of the class and call ShowDialog()

        BlitzPackage wrote:

        I want it to show in response to a user's button click.

        Then you need a click event. Double click on the button in the designer and you'll get one.

        BlitzPackage wrote:

        It doesn't have that heavy blue border/header at the top.

        Change that property in the form designer. I forget it's name, although I always change it ( the default is resizable form and I never want that ) The default also puts an item in the taskbar, I never want that, either. The default is stupid.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        B Offline
        B Offline
        BlitzPackage
        wrote on last edited by
        #3

        Thanks Christian, You'll never believe the error tht kept me from showing the form - I did not create an instance of the class and was trying to call show on the type - LOL! At any rate, I'm still searching for the feature that will remove the blue border at the top. Thanks again, BP

        N 1 Reply Last reply
        0
        • B BlitzPackage

          Thanks Christian, You'll never believe the error tht kept me from showing the form - I did not create an instance of the class and was trying to call show on the type - LOL! At any rate, I'm still searching for the feature that will remove the blue border at the top. Thanks again, BP

          N Offline
          N Offline
          ndoran
          wrote on last edited by
          #4

          You can remove the blue border at the top by selecting None for FormBorderStyle in the visual designer. If you don't like the way that looks, there are several other choices.

          B 1 Reply Last reply
          0
          • N ndoran

            You can remove the blue border at the top by selecting None for FormBorderStyle in the visual designer. If you don't like the way that looks, there are several other choices.

            B Offline
            B Offline
            BlitzPackage
            wrote on last edited by
            #5

            Thanks, One last quick question: Can I create a customer interface using Visual Studio (C#) 2005? In other words, supposed I wanted my application to have a mac style look and feel or other different skin theme, can I use what ships with Visual Studio to do that? Thanks again, BP

            J 1 Reply Last reply
            0
            • B BlitzPackage

              Thanks, One last quick question: Can I create a customer interface using Visual Studio (C#) 2005? In other words, supposed I wanted my application to have a mac style look and feel or other different skin theme, can I use what ships with Visual Studio to do that? Thanks again, BP

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #6

              Kind of. ToolStrips, MenuStrips, ContextMenuStrips all have a Renderer property, that controls the look and feel. I recommend the free Krypton Toolkit[^], makes your forms, buttons, menus, everything look beautiful. :)

              Tech, life, family, faith: Give me a visit. I'm currently blogging about: Check out this cutie The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

              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