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
HerlockSholmesOP14mo ago
--------------------------------- MAIN XAML CODE:
HerlockSholmes
HerlockSholmesOP14mo ago
No description
No description
HerlockSholmes
HerlockSholmesOP14mo ago
CUSTOM CONTROL XAML:
No description
HerlockSholmes
HerlockSholmesOP14mo ago
CUSTOM CONTROL C#:
HerlockSholmes
HerlockSholmesOP14mo ago
No description
HerlockSholmes
HerlockSholmesOP14mo ago
MAIN C# CODE
No description
HerlockSholmes
HerlockSholmesOP14mo ago
----------------------------- i cant understand why it wont work
AdmSnyder
AdmSnyder14mo ago
what doesn't work, exactly?
HerlockSholmes
HerlockSholmesOP14mo ago
lol its kinda confusing but here ill send a screenshot
HerlockSholmes
HerlockSholmesOP14mo ago
this is the title
No description
HerlockSholmes
HerlockSholmesOP14mo ago
and i want it to go to the top button when i press save 1 but when i do this happens
HerlockSholmes
HerlockSholmesOP14mo ago
No description
HerlockSholmes
HerlockSholmesOP14mo ago
theres defintetly a better way to do what im doing im just tired asf and am new to WPF
AdmSnyder
AdmSnyder14mo ago
hm. wanna hop into voice, quickly?
HerlockSholmes
HerlockSholmesOP14mo ago
yeah bet one sec, need to get my mic
Want results from more Discord servers?
Add your server