❔ [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