|
Dude’s question is too vague
1. Are your console project and winform project the same project?
If it is not necessary to reference the winform project
2 If it is two classes in a project, you can call the winform class once after instantiating it, but the premise cannot be
Inaccessible such as private functions
3 If it is in a project, and it is a static function in the winform class, it is directly called without realizing it
4 Be clear about other situations, if I can still see this post, I will answer |
|