onez

onez

  • NA
  • 73
  • 0

Drawing to form from class

Nov 8 2004 10:19 PM
I cannot access another public form from a class in a differennt .cs file, same namespace. The problem occurs in the parameter: public Form1 MainForm; public BuildImageClass(Form1 F1) { MainForm = F1; } Error: Inconsistent acessibility: parameter type 'WindowsApplication1.Form1' is less accessible than method 'WindowsApplication1.ImageClass.Form1 (WindowsApplication1.Form1)'

Answers (1)