C# Winforms questions
Just now, MatazaNZ said:Thank you. Now to research creating custom events. How would I make a form listen to an event from another from?
form a
{
public event EventHandler EventTriggered;
function a
{
EventTriggered(object,e);
}
}
parentform
{
form a = new form a();
form a.EventTriggert += new EventHandler(UpdatingFormB);
private void UpdatingFormB(object,e)
{
ForomB.Update();
}
}
so something a little like this would do it. im really not into typing right now but if you want you can give me a call on skype and id gladly take a look or give some tips or whatever if you have further questions. honestly im basically offering tutor service for free here
if my skype isnt in my profile anymore its lowjoe_mobil

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now