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
D

DPRoberts

@DPRoberts
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I route events to a container class instead of main form?
    D DPRoberts

    Thank you both for your quick replies. It does seem like Visual Studio doesn't have an easy way to create a class to hold all the controls in a tab page. I'm not sure if this was the meaning of having each "tab page containing a control" but I took that idea and added a UserControl which created a container for my buttons and such. When I added it to the tab page it displays the design at least (although I couldn't edit it directly) and it does route the events to the UserControl UI correctly. Is this how you suggest I do it? Or is there something simpler? Thanks again.

    --- "No one would surrender to the Dread Pirate Westley."

    C# question csharp visual-studio docker

  • Information needed
    D DPRoberts

    I'm also quite new to C# but I find "Programming Microsoft Visual C# 2005: The Language" by Donis Marshall (ISBN-10: 0-7356-2181-0, published by Microsoft Press) to be a pretty good reference. It isn't for the raw beginner but if you are familiar with programming and object-oriented concepts it is pretty good.

    --- "No one would surrender to the Dread Pirate Westley."

    C# csharp help

  • How do I route events to a container class instead of main form?
    D DPRoberts

    I have a TabControl in my application. I have several TabPage's in it and as I add more my main form class is getting more and more cluttered. When you add an event (such as a button click) to a tab page, Visual Studio adds the code to the main form. It seems to me that it would make sense to create a class for each tab page and have the buttons owned by it instead of the main form. Is there a standard way to do this? I've searched the net and haven't found any examples. Thanks much! --- "No one would surrender to the Dread Pirate Westley."

    C# question csharp visual-studio docker
  • Login

  • Don't have an account? Register

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