473,462 Members | 1,243 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

form shape?

hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15
Nov 21 '05 #1
3 991
Try this simple example from a book, User Interfaces in VB.Net by Matthew
MacDonald (Apress - ISBN 1-59059-044-954995).

Imports System.Drawing.Drawing2D

Private Sub Form1_Load(ByVal sender as System.Object, ByVal e as
System.EventArgs) Handles MyBase.Load

Dim Path as New Graphics
Path.Add(0, 0, Me.Width, Me.Height)
Me.Region = New Region(Path)

End Sub

HTH, Phil

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #2
yep possible works with images and defining the client area
http://msdn.microsoft.com/library/de...lStudioNET.asp

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #3
Hi,

http://www.windowsformsdatagridhelp....8-a2eda88e06ee

Ken
------------------
"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MS | last post by:
Is there a way of srawing rectangles on a form in code? Using the line method on a report works fine. Is there an eqivalent for a form? Cheers!
4
by: Giox | last post by:
Hello everybody, I have a little problm using custom shape windows form. I 'm using the idea illustrated in MSDN (use of TransparenceKey) and all works well but as spoecified on MSDN this works...
3
by: Chris Calzaretta | last post by:
I need to create a form from this web service http://24.163.239.122/wsprojecttrackerobjects/wsprojecttrackerobjects.asmx if you call getloginscreen there is a field called screendescription that...
0
by: barbara_dave | last post by:
Hi, All, I have a very strange problem. I made an application program and make a setup program. I install the program on my computer, it works. I was doing install and uninstall it several...
3
by: dsvagelj | last post by:
Hi. I wanted to create a non rectangular form (Winamp, BSPlayer), and I followed the instructions in MSDN on the topic. Created a bitmap, set the background color of the bitmap to blue 0000ff, set...
0
by: saravanansvks | last post by:
Dear Friends, I have prepared a programme in Visual Basic for SHAPE OPERATOR.But my coding are changing the shape only.It does not changes the fill style of the shape tool .And it is not giving ant...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
4
by: Linda Liu[MSFT] | last post by:
Hi Moondaddy, I downloaded your sample project and run it and did see the problem on my side. There're three problems in the source code of your project. 1. You should move the following...
12
by: ab12 | last post by:
I'm trying to write a program in C that gets a shape outlined with asterisks from the user, and returns that shape filled with asterisks. It will also get the coordinates of a point inside the shape...
2
by: KevinRR | last post by:
Hi, this it a sample code. let say I draw squares on a form SolidBrush myBrush = new SolidBrush(Color.Red); Graphics formGraphics = formnew.CreateGraphics(); ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.