代码 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim B As New Bitmap(Me.Width, Me.Height) Using G As Graphics = Graphics.FromImage(B) G.TextRenderingHint = Drawing.Text.TextRenderingHint.AntiAliasGridFit G.Clip = New Re…
上个示例是C#调用windows api 在原来代码上加入窗体透明,控件不透明代码: using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace HoverTreeWinForm { public partial class FormHewenqi : Form { /// <summary> /// 使窗体透明 by 何问起 /// </summary> pro…