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