S J

S J

  • NA
  • 171
  • 24.8k

Cannot access a non-static member of outer type

Nov 23 2020 2:17 AM
hi
 
Using wrapper class concept need to draw multiple rectangles by using x,y,w,h entering textbox values in c# windows application.
 
i tried but showing error
 
Cannot access a non-static member of outer type 'WindowsFormsApplication3.Form1' via nested type 
 

Answers (4)