C
C#14mo 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
JJ14mo ago
I resolved !
Accord
Accord14mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.