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. Persistent states for GUI

Persistent states for GUI

Scheduled Pinned Locked Moved C#
csharpquestion
5 Posts 4 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.
  • S Offline
    S Offline
    smurfy34
    wrote on last edited by
    #1

    Hi: does dotnet/c# offer any smart and automated ways to preserve user preferences in GUIs such as controls users like to have checked or unchecked? Thanks, smurfy

    P S 2 Replies Last reply
    0
    • S smurfy34

      Hi: does dotnet/c# offer any smart and automated ways to preserve user preferences in GUIs such as controls users like to have checked or unchecked? Thanks, smurfy

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      smurfy, Not sure if .net has the ability, but saving control states in a database may be the way to go, depending on how many controls you are working with. I hope this helps some, Paul

      1 Reply Last reply
      0
      • S smurfy34

        Hi: does dotnet/c# offer any smart and automated ways to preserve user preferences in GUIs such as controls users like to have checked or unchecked? Thanks, smurfy

        S Offline
        S Offline
        StealthyMark
        wrote on last edited by
        #3

        VS2005 does. It saves initial values for just about any aspect of a component (control) in a app.config file, and stores user-specific and machine-specific settings in the application data directory in the appropriate profile directory. You can read, write and save settings anywhere in your application. Mark

        P P 2 Replies Last reply
        0
        • S StealthyMark

          VS2005 does. It saves initial values for just about any aspect of a component (control) in a app.config file, and stores user-specific and machine-specific settings in the application data directory in the appropriate profile directory. You can read, write and save settings anywhere in your application. Mark

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          Cool, learned something new today :) Paul

          1 Reply Last reply
          0
          • S StealthyMark

            VS2005 does. It saves initial values for just about any aspect of a component (control) in a app.config file, and stores user-specific and machine-specific settings in the application data directory in the appropriate profile directory. You can read, write and save settings anywhere in your application. Mark

            P Offline
            P Offline
            Paul Horstink
            wrote on last edited by
            #5

            ** You can read, write and save settings anywhere in your application. Ok, in VB.net there's My.Settings, but how about c#, how do I do this in C#?

            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