Trying to make a save function on a note taking WPF app

im pretty new to WPF and i dont know JSON serialization and i know how to use text files but im gonna do that later. Right now im trying to get it so when i press one of the save slots itll change the content of the corresponding button to the content of the title. This wasn't orignally my plan i wanted to make one save button and when pressed it makes a new button with the title of the title box but i couldnt figure that out so i went with more of an easy way to do it.
15 Replies
HerlockSholmes
HerlockSholmes9mo ago
--------------------------------- MAIN XAML CODE:
HerlockSholmes
HerlockSholmes9mo ago
No description
No description
HerlockSholmes
HerlockSholmes9mo ago
CUSTOM CONTROL XAML:
No description
HerlockSholmes
HerlockSholmes9mo ago
CUSTOM CONTROL C#:
HerlockSholmes
HerlockSholmes9mo ago
No description
HerlockSholmes
HerlockSholmes9mo ago
MAIN C# CODE
No description
HerlockSholmes
HerlockSholmes9mo ago
----------------------------- i cant understand why it wont work
AdmSnyder
AdmSnyder9mo ago
what doesn't work, exactly?
HerlockSholmes
HerlockSholmes9mo ago
lol its kinda confusing but here ill send a screenshot
HerlockSholmes
HerlockSholmes9mo ago
this is the title
No description
HerlockSholmes
HerlockSholmes9mo ago
and i want it to go to the top button when i press save 1 but when i do this happens
HerlockSholmes
HerlockSholmes9mo ago
No description
HerlockSholmes
HerlockSholmes9mo ago
theres defintetly a better way to do what im doing im just tired asf and am new to WPF
AdmSnyder
AdmSnyder9mo ago
hm. wanna hop into voice, quickly?
HerlockSholmes
HerlockSholmes9mo ago
yeah bet one sec, need to get my mic
Want results from more Discord servers?
Add your server
More Posts