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

Did you find this page helpful?