i would like to run some code onload of a form in wpf. is it possible to do this? im not able to find where to write code for form onload
judging by the responses below it seems like what i am asking is not something that is typically done? i mean in vb.net winforms its super easy you just go to the onload event, but for some reason in c# wpf is very difficult or there's no standard way to do this. can someone please tell me what is the best way to do this?