C
c#2006user
hi
if i want to do this in c#, where HomePage_MainListSelected() is in
another class than this code , how do i do it? becaise
HomePage_MainListSelected does not exist in the current context
according to the comiler.
the class HomePage_MainListSelected() is in, inherits from the class
the events are declared in.
also the class which HomePage_MainListSelected() is the one that is
originally instantiated from the main class.
this.mainList.Selected += new
dmControls.ListControl.SelectedEventHandler mainList_Selected);
MainListSelectedEvent += new MainListSelectedEventHandler(
HomePage_MainListSelected);
regards
bryan
if i want to do this in c#, where HomePage_MainListSelected() is in
another class than this code , how do i do it? becaise
HomePage_MainListSelected does not exist in the current context
according to the comiler.
the class HomePage_MainListSelected() is in, inherits from the class
the events are declared in.
also the class which HomePage_MainListSelected() is the one that is
originally instantiated from the main class.
this.mainList.Selected += new
dmControls.ListControl.SelectedEventHandler mainList_Selected);
MainListSelectedEvent += new MainListSelectedEventHandler(
HomePage_MainListSelected);
regards
bryan