Mikecrosoft Posted November 11, 2003 Posted November 11, 2003 Hi friends I have a question, in the VB forum I saw a tutorial about Custom Regions, this tut, uses some APIS to defining the transparent regions of a window, using a picture as reference. Well, my question is, how I can do that in .NET ??? Thanks Quote Mikecrosoft.Net
*Experts* mutant Posted November 11, 2003 *Experts* Posted November 11, 2003 Here is a very basic example of a custom region: 'define a graphics path to which you will add shapes and other things like that Dim gp As New Drawing2D.GraphicsPath 'for example add an ellipse to the path to make your form look like an ellipse gp.AddEllipse(100, 100, 200, 200) 'set your forms region to a new Region object and pass in the graphics path Me.Region = New Region(gp) Quote
Mikecrosoft Posted November 11, 2003 Author Posted November 11, 2003 Wow, its easy, well if I want to follow an image as Skin, how I can make that, I you want only let me one statement, I can search more about that. Thanks :D Quote Mikecrosoft.Net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.