S J

S J

  • 1.8k
  • 166
  • 4.2k

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)