PATRICKDEUEL.COM
welcome to my space
X
NAVIGATION - HOME
Article search:  
Add an Exciting Gradient Backdrop!
Published by: jack 2008-07-25

modo 201/202 Jump Start::
File Format: PDF/Adobe Acrobat - View as HTMLselect the Backdrop option. to add an image to modo’s. background. Using a 2 Color Gradient as the Environment Type instead, you can. add some warmth
http://courseptr.com/downloads/chapterpreview/30687_ch04.pdf
HOME
Want to add a little more visual impact to your application? How about adding an appealing gradient backdrop to your forms and in just a few lines of code?

Thats exactly what this next snippet of code does for you. It accepts top and bottom gradient colors as arguments, then defines the brush and area to paint and displays the effect. Heres the code youll need to put behind your form:

Private Sub DrawFormGradient( _
                 ByVal TopColor As Color, _
                 ByVal BottomColor As Color)
   Draws a gradient using the specified colors
   on the entire page
  Dim objBrush As New Drawing2D.LinearGradientBrush _
    (Me.DisplayRectangle, _
    TopColor, _
    BottomColor, _
    Drawing2D.LinearGradientMode.Vertical)
  Dim objGraphics As Graphics = _
            Me.CreateGraphics()
  objGraphics.FillRectangle(objBrush, _
            Me.DisplayRectangle)
  objBrush.Dispose()
  objGraphics.Dispose()
End Sub
GRAY AREAS MAGAZINE SOFTWARE REVIEWS ISSUE 5::
These filters include Gradient Designer, Texture Explorer (with 100 preset Not only can you create your own backdrops, but there is a feature which
http://www.grayarea.com/softwar5.htm
HOME
Soft-Best.Net - free download soft, warez, music, wallpapers ::
Progress as multiple characters with exciting power-ups! Breathtaking aquatic backdrops & enchanting soundtrack! Size Size - 24.02 MB Detail Detail.
http://soft-best.net/en/page309.html
HOME

Next, you need to call this method—typically in response to the Paint event of your Form, like this:

Private Sub Form1_Paint(ByVal sender As Object, _
  ByVal e As System.Windows.Forms.PaintEventArgs) _
        Handles MyBase.Paint
  DrawFormGradient(Color.Blue, Color.AliceBlue)
End Sub

Here, were running our code each time that our form is painted (that is, drawn on the computer screen). It then paints our gradient: a rich blue mixing into a lighter blue. Of course, if thats too bold, you may opt for the more subtle

Adobe Photoshop Quicktips - Video Podcast::
Stay tuned for some EXCITING news here on the podcast as well as the 50th .. backdrop to your product shots to add instant flare for your customer.
http://www.photoshopquicktips.com/rss
HOME
123 Appendix E - Description of Land Planning Units Swan Coastal Plain::
File Format: PDF/Adobe Acrobat - View as HTMLThis rural landscape area provides a critical visual backdrop and clear Rapids and waterfalls along with tranquil pools add an exciting aspect to this
http://www.wapc.wa.gov.au/Publications/AAappend_E.pdf?id=33
HOME
White
blending into PapayaWhip. Or the mysterious Black merging into DarkOrchid. Or the XP-styled White into CornflowerBlue. But the coloring is, of course, up to you.

Two quick tips: firstly, with a little editing, you can change the brush from painting Vertical to Horizontal, ForwardDiagonal, or BackwardDiagonal. And secondly, in the interest of the public health, dont overuse gradients. It could be scary.


Figure: My blue to alice blue form!

About the Author

Karl Moore (MCSD, MVP) is an experience author living in Yorkshire, England. He is the author of numerous technology books, including the new Ultimate VB .NET and ASP.NET Code Book (ISBN 1-59059-106-2), plus regularly features at industry conferences and on BBC radio. Moore also runs his own creative consultancy, White Cliff Computing Ltd. Visit his official Web site at www.karlmoore.com.

# # #




Pre-Article:Teams Forming for 64-Bit Migration
Next-Article:EMC Tabs Rival to Boost Database Performance
PRINT Add to favorites

  • Visions of Profits: Five Site Tune-Up Tips
  • ASP.NET Database Paging Sample Code
  • IBM Collaboration Suite Gets More Chatty
  • AOL Weds IM, Dating in Love.com
  • VirtualLogix: Virtualization for Smart Devices
  • Office Accounting Is Still Free, Now Bilingual

  • Corsair Debuts Energy-Efficient, Enthusiast-Oriented Power Supplies
  • 1NAS Virtualization Gathers Steam
  • Raytheons Polymorphic Chip Breakthrough
  • BenQ Targets Gamers With New Widescreen LCD Monitors
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008patrickdeuel.com All Rights Reserved