We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim myform As New Form myuc.autosize = True 'Note myuc is the actual usercontrol, instantiated as an object from usercontrol resources myform.AutoSize = True myform.Dock = DockStyle.Fill myform.Controls.Add(myuc) myform.Show() myform.Width = 0 myform.Height = 0 myform.Width = myuc.width myform.Height = myuc.height + 50 myform.Left = 0 myform.Top = 0 Dim btn As New Button btn.Text = "Apply" btn.Top = myform.Bottom - 50 btn.Left = myform.Right - 60 btn.BringToFront() myform.Controls.Add(btn)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.