当前位置: 代码迷 >> VB Dotnet >> vb.net代码添加控件解决方案
  详细解决方案

vb.net代码添加控件解决方案

热度:67   发布时间:2016-04-25 02:07:47.0
vb.net代码添加控件
Dim flPanel As FlowLayoutPanel
        flPanel.Width = 500
        flPanel.Height = 600
        flPanel.Left = 0
        flPanel.Top = 0
        flPanel.BackColor = Color.Orange
        flPanel.TabStop = True
        flPanel.BringToFront()
        Me.Controls.Add(flPanel)


显示不了,如何写,能让控件显示出来
------解决思路----------------------
Dim flPanel As New FlowLayoutPanel
flPanel .Location = New System.Drawing.Point(42, 51)
flPanel .Size = New System.Drawing.Size(76, 15)
Me.Controls.Add(flPanel)
  相关解决方案