The thing you're not understanding is "scope". Since you defined the
variable in the Form1_Load method, it is only visible in that method. You also don't need the "
public Report report;
" line either.
Move the line that defines the
variable to the Button1_Click method and the error goes away.
Report report = new Report();