Categories > Coding > C# >

How to make a settings tab in wpf that saves user options

halvik915

Talan2016

Posts: 197

Threads: 15

Joined: Feb, 2021

Reputation: 6

Posted

Hi I am having a hard time making a settings tab that saves user options so if someone could teach me how to do that would be nice.NVM I DID IT

  • 0

                                                                 https://cdn.discordapp.com/attachments/901227777741692968/991219346124853278/sJkFFl5.png

we love security breaches

Posts: 1660

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

here we go again 

  • 0

Discord : Doctor Doom#0550

Posts: 18

Threads: 2

Joined: Feb, 2021

Reputation: 0

Replied

its easy ... NTFadh#1107

  • 0

Discord : Fadh#1107

Youtube : Fadh

Learning : C# & Lua

Unidentified

nobody do wut i do

Posts: 321

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

Please dude it's literally so easy. It's the most basic thing ever, at this point i am just asking myself if you even learned how to use an C# Project in VS2019

  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

MrDarKangeL

El lechero

Posts: 2

Threads: 1

Joined: Mar, 2021

Reputation: 0

Replied

I do not understand why people have to respond like this, you cannot answer well and explain how to do it, is not born knowing. You don't have to be so toxic

  • 0

Eeeeeeeeeeeeeeeeeeh

halvik915

Talan2016

Posts: 197

Threads: 15

Joined: Feb, 2021

Reputation: 6

Replied

@65942I did it I made the settings tab

  • 0

                                                                 https://cdn.discordapp.com/attachments/901227777741692968/991219346124853278/sJkFFl5.png

we love security breaches

Unidentified

nobody do wut i do

Posts: 321

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

@halvik915 oh no no no no

  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

halvik915

Talan2016

Posts: 197

Threads: 15

Joined: Feb, 2021

Reputation: 6

Replied

@65942why

  • 0

                                                                 https://cdn.discordapp.com/attachments/901227777741692968/991219346124853278/sJkFFl5.png

we love security breaches

Unidentified

nobody do wut i do

Posts: 321

Threads: 9

Joined: Feb, 2021

Reputation: 2

Replied

@halvik915 on visual studio, open file > properties > click Settings.settings and open > add some attribute or whatever its called > find out the c# part yourself im not gonna spoonfeed you further

  • 0

Learning C++, C#, JavaScript Developer

I develop random stuff

Discord: Unidentified#1091

halvik915

Talan2016

Posts: 197

Threads: 15

Joined: Feb, 2021

Reputation: 6

Replied

@65942I said I figured it but thanks

  • 0

                                                                 https://cdn.discordapp.com/attachments/901227777741692968/991219346124853278/sJkFFl5.png

we love security breaches

Posts: 675

Threads: 30

Joined: Aug, 2020

Reputation: 6

Replied

https://github.com/MaximusXYZ/Chester/blob/main/Chester/Extensions/Settings.cs <- Registry

https://github.com/MaximusXYZ/Chester/blob/main/Chester/Extensions/Data.cs <- JSON, ( needs modification a bit ) ( themes btw )

 

would not recommend using the ui's setting property to save stuff cuz it's hella bad and settings can be lost when the exe gets deleted

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )