C
CJ Taylor
Hey all,
This is probably a dumb question, but still feeling a little strange from
Labor day festiviities. Anyways,
I want a shared sub, at least something that is easy to call from any one of
my classes within the scope of my project (or that which inherits/imports
this class).
Basically, want them to be able to call a sub defined as
Public Shared Sub LogEvent (sender as object, e as
MWC.BCTransfer.Logger.LogEventArgs)
now tihs is fine... but if the UI is active, I want it to push information
to a listview I have.
Now I can call the LogEvent routine fine, but if I try to access a UI
function, I obviuosly can't.
How do I get around this?
Thanks,
CJ
This is probably a dumb question, but still feeling a little strange from
Labor day festiviities. Anyways,
I want a shared sub, at least something that is easy to call from any one of
my classes within the scope of my project (or that which inherits/imports
this class).
Basically, want them to be able to call a sub defined as
Public Shared Sub LogEvent (sender as object, e as
MWC.BCTransfer.Logger.LogEventArgs)
now tihs is fine... but if the UI is active, I want it to push information
to a listview I have.
Now I can call the LogEvent routine fine, but if I try to access a UI
function, I obviuosly can't.
How do I get around this?
Thanks,
CJ