In C#, to get any particular event follow the below steps:1.Open the properties of the form.2.Select the event icon from the top icons3.D-Click on Shown event.Finally you will get :private void Form2_Shown(object sender, System.EventArgs e) { // write the code here which will be running immediatly after loading the page }Hope this will help you..:)