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
B

big_trev

@big_trev
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual Inheritance, and Default Property Values
    B big_trev

    Unfortunately this does not have any effect. I believe that for some reason the designer believes the default value is set to false, so that when i set it to false, it does not add any code.

    C# design oop help question

  • Visual Inheritance, and Default Property Values
    B big_trev

    Here is the situation. I have a Form, called Form1 that contains a button, this button is marked as private. I have another Form, called Form2 the inherits from Form1. I Want Form2 to be able to Show and hide the button in the base class, without exposing the button as protected / or public. I Have created a public property on Form1 which has Get/Set into button.Visible property. All should work ok i can hear you shouting. In the form2 designer, i can see the property mentioned above, and i can change its value, and the button obediantly shows and hides it self as expected. The problem is that When i set enabled to true, it adds code to the designer generated section, which speifically sets my property to true, and when i set it to false, it removes this code, but it does Not add code to set it to false. The defualt value of the property is set to true, but this has no effect. I realise i can call this property in my form load, or in a constructor, but i would like to get the design time support. Other properties such as Enable work fine. Any idas? Trev

    C# design oop help question

  • Wheres my Size Grip Gone?
    B big_trev

    I have a form, with the border style set to Sizeable, and SizeGripStyle set to show. All works ok. If i then dock a panel to the bottom of the form, my size grip is hidden! :mad: If i change the DockPadding, to say 2, i can see my size grip hiding behind the panel. Any one got any ideas how to make the size grip display on top of the panel? Thanks Trev

    C# tutorial question

  • Structs or Classes
    B big_trev

    Sorry Tim, but he is right! :laugh:

    C# question

  • Error in OleDBConnection : Object reference not set to an instance of an object
    B big_trev

    well, some thing is null. It is either item, cmdSearch, fn or ln. can you step through it in VS and check?

    C# help question

  • Error in OleDBConnection : Object reference not set to an instance of an object
    B big_trev

    What are fn and ln? Where are they defined?

    C# help question
  • Login

  • Don't have an account? Register

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