如何在分区面板中加入一窗口,使其透明。
以下代码无法实现。
Dim spl As WinForm.SplitContainer = e.Form.Controls("SplitContainer5")
Dim PB As WinForm.Panel = e.Form.Controls("Panel2")
Dim Name As String = "窗口1"
Forms(Name).OPEN(-1000,-1500)
Forms(Name).BaseForm.TopLevel = False
Forms(Name).BaseForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Forms(Name).BaseForm.Dock = System.Windows.Forms.DockStyle.Fill
Forms(Name).BaseForm.Opacity = 0.5
Forms(Name).baseform.TopMost = True
'spl.Panel1.BaseControl.Controls.Clear
spl.Panel1.BaseControl.Controls.add(Forms(Name).BaseForm)