c# - I want to call some code when my web browser application opens -
i've been looking time find (i know sounds stupid) how can call code when start application. i'm using c# on windows forms. know sounds stupid use unity3d has simple method:
void start() { //whatever goes here }
i'm trying make web browser.
you can put code in winforms generated main
static void main() { application.enablevisualstyles(); application.setcompatibletextrenderingdefault(false); // code goes here application.run(new mainform()); }
or in load event of mainform
Comments
Post a Comment