I'm doing a drawing with DLL, encounter a problem,
Because it has a function in the DLL such as
Graphics g=Graphics. FromImage (bm);
G.D rawString (" 0 ", enclosing the Font, brush, 30, height - 10);
The enclosing the Font is Form1 class attribute, it is an error condition, how to put it as a parameter to the DLL function,
CodePudding user response:
There are no one support
CodePudding user response:
Form1 f1=new _click ();
Var f=f1. The Font;
CodePudding user response:
This is a scope,
CodePudding user response:
Is not can be used under the static,
CodePudding user response:
The