C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Graphics »

Simple Visualization Type Application.


Posted Date: 07 Apr 2009    Resource Type: Code Snippets    Category: Graphics
Author: Hefin DsouzaMember Level: Diamond    
Rating: 1 out of 5Points: 13



This is a Simple Visualizatin Like Application using GDI .
You can use the logic of this application to Develop your own visualization type effect for your Applications

There are Total 4 Effects That i Created.

The 1st Effect is drawing Bezier's

g.DrawBezier(Pens.Red, New Random().Next(0, 10000) * New Random().Next(0, 15), New Random().Next(0, 12) * New Random().Next(0, 20), New Random().Next(0, 250) * New Random().Next(0, 5), New Random().Next(0, 52) * New Random().Next(0, 55), New Random().Next(0, 52) * New Random().Next(0, 10), New Random().Next(0, 100) * New Random().Next(0, 10), New Random().Next(0, 15) * New Random().Next(0, 10), New Random().Next(0, 5) * New Random().Next(0, 20))

'......... Code Minimized due to Many Lines


The 2nd Effect is drawing Bars

g.DrawLine(p, 5, Me.Height, 5, r.Next(0, Me.Height))
'......... Code Minimized due to Many Lines

The 3rd Effect is drawing Alphabets

g.DrawString(c(r.Next(0, c.Length)), New Font("Arial", r.Next(5, 30), FontStyle.Bold), gl, r.Next(0, PictureBox1.Width), r.Next(0, PictureBox1.Height))
g.DrawString(c(r.Next(0, c.Length)), New Font("Arial", r.Next(5, 30), FontStyle.Bold), gl1, r.Next(0, PictureBox1.Width), r.Next(0, PictureBox1.Height))
g.DrawString(c(r.Next(0, c.Length)), New Font("Arial", r.Next(5, 30), FontStyle.Bold), gl, r.Next(0, PictureBox1.Width), r.Next(0, PictureBox1.Height))

'......... Code Minimized due to Many Lines

The 4th Effect is drawing Pie

g.FillEllipse(gl, 0, 0, PictureBox1.Width, PictureBox1.Height)
g.FillPie(gl1, 0, 0, PictureBox1.Width, PictureBox1.Height, i + 30, r.Next(10, 20))


For Demonstration Download Full Source Code
Regards Hefin Dsouza

Attachments

  • Download Full Application (27546-7858-VisualizationDemo.rar)


  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    Visualization  .  Paint  .  Graphics  .  GDI  .  Drawing  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Create image from the text
    Previous Resource: Graph Control(ZedGraph Control)
    Return to Discussion Resource Index
    Post New Resource
    Category: Graphics


    Post resources and earn money!
     
    More Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use