forums

Copy the link of the video page and paste it here:

Example: http://www.youtube.com/watch?v=a7FQPMiph9M

Entertainment HD La Music The Video banned best black commercial dance español funny hot live love me music new pop rock sexy song trailer tutorial video world 2010 2011 2012

NEW!. You can download videos from Vimeo!. :-)

Utils:

[View | Download]

How to make a pie chart in Visual Basic 2008

Visual Basic 2008 - Pie Chart! Just a simple tutorial on how to draw a pie chart using graphics :) codes: Public Sub DrawPieChart(ByVal percents() As Integer, ByVal colors() As Color, _ ByVal surface As Graphics, ByVal location As Point, ByVal pieSize As Size) Dim sum As Integer = 0 For Each percent As Integer In percents sum += percent Next Dim percentTotal As Integer = 0 For percent As Integer = 0 To percents.Length() - 1 surface.FillPie( _ New SolidBrush(colors(percent)), _ New Rectangle(location, pieSize), CType(percentTotal * 360 / 100, Single), _ CType(percents(percent) * 360 / 100, Single)) percentTotal += percents(percent) Next Return End Sub Button1_Click: Dim percents() As Integer = {TextBox1.Text, TextBox2.Text, TextBox3.Text} Dim colors() As Color = {Color.Blue, Color.Green, Color.Red} Dim graphics As Graphics = Me.CreateGraphics Dim location As Point = New Point(0, 0) Dim size As Size = New Size(200, 200) DrawPieChart(percents, colors, graphics, location, size)


Tags: 2003, 2005, 2008, 2010, C#, C++, Chart, Diagram, Drawing, Edition, Express, Graph, Help, In, Microsoft, Pie, Studio, VB, Visual, Windows, coding, programming
1 Downloads - Last from: (Your Blog here!)
Problems, comments, suggestions?. Contact us |