-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: jayaveer
Message 1 in Discussion
Hello everybody,
I have used the following code for
drawing gradient on to a panel but the gradient is smooth if the size of
the panel is small say 200,200 when the size of the panel is increased
800,600 then the gradient is not smooth can any one give a solution for
this
Private
Sub
Panel1_Paint(ByVal sender As Object, ByVal e
As
System.Windows.Forms.PaintEventArgs) Handles
Panel1.Paint
Dim reg
As New
Region
Dim path
As New
System.Drawing.Drawing2D.GraphicsPath
Dim rect
As
System.Drawing.Rectangle
rect = New
Rectangle(Panel1.Location, Panel1.Size)
Dim col
As New
Color
Dim br
As New
System.Drawing.Drawing2D.LinearGradientBrush(rect, col.FromArgb(160, 160,
160), col.FromArgb(150, 150, 150),
Drawing2D.LinearGradientMode.Vertical)
reg.GetBounds(e.Graphics)
e.Graphics.FillRegion(br, reg)
End
Sub
Regards,
Jayaveer.B
Software
Engineer
========================================================================================
Sobha Renaissance Information Technology Private
Limited
An SEI-CMM Level 5 Company
ISO 9001:2000 Certified by T�V
Rheinland/Berlin-Brandenburg
Tel: + 91 80 5213190
; Fax: + 91 80 5213191; Video Conference: + 91 80 5209320
Email:[EMAIL PROTECTED]; Web:
www.renaissance-it.com
====================================================================
The information transmitted is intended only for
the person or entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete all copies from any computer
____________________________________________________
IncrediMail - Email has finally evolved - Click
Here<IncrdiX-Info><X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID><X-FVER>2.0</X-FVER><X-FIT>Letter</X-FIT><X-FCOL>Elegant
Paper</X-FCOL><X-FCAT>Stationery</X-FCAT><X-FDIS>Rice
Fields</X-FDIS><X-Extensions>SU1CTDEsNDYsgUmBSTAkkcGNgZmVTY0wNCxNhYUoiU0kOMEoTYGBjYEoJDSZnSyFhUmBSYFJgSxJTUJMMiwwLCxJTUJMMywwLCxUeXBlVmVyc2lvbiwzLDEuMCw=</X-Extensions><X-BG>[EMAIL
PROTECTED]</X-BG><X-BGT>repeat</X-BGT><X-BGC>#eff3f7</X-BGC><X-BGPX>left</X-BGPX><X-BGPY>top</X-BGPY><X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN><X-ASNF>0</X-ASNF><X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH><X-ASHF>1</X-ASHF><X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN><X-ANF>0</X-ANF><X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP><X-APF>1</X-APF><X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD><X-ADF>0</X-ADF><X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO><X-CNT>;</X-CNT></IncrdiX-Info><IncrdiXMLRemarkEnd-->">
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]