mrVinicius
mrVinicius
Explore posts from servers
CC#
Created by mrVinicius on 6/24/2023 in #help
❔ event handler not being triggered
Console.WriteLine("Button clicked") is being triggered, but the problem is the whole event is not being triggered. When i click the saveBtn, it has should trigger a event that RegisterUC_SaveBtn_Clicked is listening to, and when this happen a message should be displayed on screen. My initial idea was having a button on User Control that when clicked triggered a method in Form via events. I couldn't make it work and i have a deadline by tomorrow so i changed my approach to work with tabs, thus not needing to pass data around. Oddly enough i managed to make the events work between Form and Presenter layer, but not between Form and User Control, thanks anyway.
18 replies
CC#
Created by mrVinicius on 6/24/2023 in #help
❔ event handler not being triggered
18 replies