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. Design and Architecture
  4. how to design a "setting" module in a software?

how to design a "setting" module in a software?

Scheduled Pinned Locked Moved Design and Architecture
designregextutorialquestion
4 Posts 4 Posters 13 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
    mehdinasseri
    wrote on last edited by
    #1

    I'm designing a software and trying to use the patterns. how can use a pattern for designing a module that manage the system settings? mehdi

    M C 2 Replies Last reply
    0
    • M mehdinasseri

      I'm designing a software and trying to use the patterns. how can use a pattern for designing a module that manage the system settings? mehdi

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      you could use a singleton pattern to hold the class that holds your settings.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      L 1 Reply Last reply
      0
      • M Maximilien

        you could use a singleton pattern to hold the class that holds your settings.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Maximilien wrote:

        you could use a singleton pattern to hold the class that holds your settings.

        All your settings are all belong to us :-D

        led mike

        1 Reply Last reply
        0
        • M mehdinasseri

          I'm designing a software and trying to use the patterns. how can use a pattern for designing a module that manage the system settings? mehdi

          C Offline
          C Offline
          Code_Doctor
          wrote on last edited by
          #4

          The best way to approach this is simple XML. You can implement your own Settings class by Opening an XML document, defining methods using XPath Queries and setting node values. Or you can use the Settings Class that is already built into .NET. The settings class built into .NET will hold global application settings and individual user settings. These settings are stored in different locations of a Windows operating system, to allow for multiple user computers and roaming profiles. Hope this helps! ~ CodeDoctor ~

          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