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. Form inheritance theory.

Form inheritance theory.

Scheduled Pinned Locked Moved C#
designoopquestion
3 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.
  • M Offline
    M Offline
    mikemilano
    wrote on last edited by
    #1

    I am working on an application which will have the same menu and tool bar in every form. Does this mean that I should design a 'template' form which has only the menu and tool bar. Then, each new form ( including the main form ) will inherit this template form?

    J L 2 Replies Last reply
    0
    • M mikemilano

      I am working on an application which will have the same menu and tool bar in every form. Does this mean that I should design a 'template' form which has only the menu and tool bar. Then, each new form ( including the main form ) will inherit this template form?

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      Yes, this is one way to do it. :)

      "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
      "You must be the change you wish to see in the world." - Mahatma Gandhi

      1 Reply Last reply
      0
      • M mikemilano

        I am working on an application which will have the same menu and tool bar in every form. Does this mean that I should design a 'template' form which has only the menu and tool bar. Then, each new form ( including the main form ) will inherit this template form?

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        Using MDI Forms is actually much better and easier. Nice features include menu merging :) The toolbar then belong to the parent. leppie::AllocCPArticle(Generic DFA State Machine for .NET);

        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