C
C#2y ago
JJ

❔ [WPF] How to use method at other file without static, making object ?

I wanna use StickyNotesMainView.cs file's MainAddTextBox_Click method to StickyNotesView.cs file without static and making constructor. If i use static, then I can't allocate variance in MainAddTextBox_Click method. and If i use constructor like picture, then I can't do what I want that add textblock in MainView App.. https://paste.mod.gg/jehvlfifxyyi/3 <- this is my code
BlazeBin - jehvlfifxyyi
A tool for sharing your source code with the world!
2 Replies
JJ
JJOP2y ago
I resolved !
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server