app start like in a class library c#

354 views Asked by At

Hi guys I have a Class Library program wich is part of a platform called genesys (WPF who calls the DLL that I'm editing), that executes many DLLs, I want to run a method just before the aplication call the others DLLs, I was trying with things like

void startu(object sender, StartupEventArgs e){
//some stuff
}

it's even possible that I can catch the main run of the class libary? or there's a form to know wich class is the main who run the library?

0

There are 0 answers