rjsma Posted September 26, 2009 at 08:47 PM Report Share #288803 Posted September 26, 2009 at 08:47 PM boas e precisava de ajuda para uma coisa e assim fui a formborderstyle e pus none e ficou todo cinzento e em forma quadrado e agora queria saber como ponha as pontas arredondadas? cumps Link to comment Share on other sites More sharing options...
bruno1234 Posted September 26, 2009 at 08:52 PM Report Share #288804 Posted September 26, 2009 at 08:52 PM Vê se algum destes sites ajuda: http://predicatet.blogspot.com/2008/09/how-to-get-rounded-corner-windows-forms.html http://msdn.microsoft.com/en-us/library/aa289517(VS.71).aspx Matraquilhos para Android. Gratuito na Play Store. https://play.google.com/store/apps/details?id=pt.bca.matraquilhos Link to comment Share on other sites More sharing options...
rjsma Posted September 26, 2009 at 09:13 PM Author Report Share #288807 Posted September 26, 2009 at 09:13 PM nao tou a conseguir guiar me pelo os sites Link to comment Share on other sites More sharing options...
jpaulino Posted September 26, 2009 at 09:19 PM Report Share #288810 Posted September 26, 2009 at 09:19 PM nao tou a conseguir guiar me pelo os sites Um exemplo, numa pesquisa muito rápida: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.FormBorderStyle = FormBorderStyle.None Me.Height = 300 Me.Width = 400 Dim p As New Drawing2D.GraphicsPath() p.StartFigure() p.AddArc(New Rectangle(0, 0, 40, 40), 180, 90) p.AddLine(40, 0, Me.Width - 40, 0) p.AddArc(New Rectangle(Me.Width - 40, 0, 40, 40), -90, 90) p.AddLine(Me.Width, 40, Me.Width, Me.Height - 40) p.AddArc(New Rectangle(Me.Width - 40, Me.Height - 40, 40, 40), 0, 90) p.AddLine(Me.Width - 40, Me.Height, 40, Me.Height) p.AddArc(New Rectangle(0, Me.Height - 40, 40, 40), 90, 90) p.CloseFigure() Me.Region = New Region(p) Me.BackColor = Color.Red End Sub Fonte: http://bytes.com/topic/visual-basic-net/answers/352802-simply-round-corners-form Link to comment Share on other sites More sharing options...
rjsma Posted September 26, 2009 at 09:31 PM Author Report Share #288816 Posted September 26, 2009 at 09:31 PM agora apareceu um problema a form a ser compilada nao da para mover Link to comment Share on other sites More sharing options...
scorch Posted September 26, 2009 at 09:36 PM Report Share #288817 Posted September 26, 2009 at 09:36 PM Mas isso é porque definiste a formborderstyle a none. Tens de criar uma função que te faça drag da Janela manualmente. PS: Não respondo a perguntas por mensagem que podem ser respondidas no fórum. Link to comment Share on other sites More sharing options...
rjsma Posted September 26, 2009 at 09:38 PM Author Report Share #288819 Posted September 26, 2009 at 09:38 PM compreendi thanks Link to comment Share on other sites More sharing options...
jpaulino Posted September 26, 2009 at 11:08 PM Report Share #288830 Posted September 26, 2009 at 11:08 PM Mas isso é porque definiste a formborderstyle a none. Tens de criar uma função que te faça drag da Janela manualmente. Como por exemplo: http://vbtuga.blogspot.com/2008/08/vbnet-dicas-de-programao-8.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now