简体   繁体   中英

Code-behind file, how can I use it with using "imports" ? -Visual Basic

Currently I have this main file: form1 and I've created one code-behind file called globalFunctions ... but now I need to know how to connect the two files. I guess I need to use 'import' in somewhere...

To edit a code-behind file in a WinForm project, you can double-click the file name under Files in the Project panel.

Just click the Form1 in the right sidebar and you will enter the code edit panel.

The Demo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM