For starters, C# doesn't support (or even have a concept of) global variables: everything is contained within a class. The closest it can get is a
static
variable that is accessed via the class name.
But ... you can't find the definition of Shown because it's not in your code - it's an Event which is part of the Form class:
Form.Shown Event (System.Windows.Forms)[
^]