C # learning skill accumulation (constantly updated ..)

xiaoxiao2021-03-06  70

1. What method does it use to write the code to make the code? A: CTRL K F

2. The dll written by .NET language can be called directly in the addition reference, such as the DLL written by the C # in VB.NET needs to be called.

First copy the DLL to the bin directory, then add a reference to VB.NET to declare in the code, you can

Private Sub Form1_Load (Byval E AS System.Object, Byval E AS System.Eventargs) Handles MyBase.Load

DIM FRM AS New Aixq.frmlog

frm.show ()

End Sub

The above code, references to the C # DLL AIXQ DLL contains a landing form and a main form

First declare this DLL and put him, and finally call the SHOW method of the form to successfully call the DLL.

转载请注明原文地址:https://www.9cbs.com/read-109400.html

New Post(0)