Site Map Mail This To A Friend PrivacyPolicy Subscribe to MakeLogic RSS Feed

Sample Applications Written in VB .NET

MicroGraphs Screenshot

See : Samples in C# .NET
Samples can be written in any language that supports the CLR (Common Language Runtime) of the .NET Compact Framework

PieGraph Sample in VB .NET

' Product Of : MakeLogic
' URL : http://www.makelogic.com
' Author : Ch.Raji
' Date : 20 June, 2003
' Last Modified : 15 October, 2007
' email : info@makelogicmldb.com
' Please feel free to use this Sample Code in your applications
' This program demonstrates the use of PieGraph component of the MicroGraphs
Public Class Form1
Inherits System.Windows.Forms.Form
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
'Declarattions
Dim lbls(6) As String, Values(6) As Double
Dim ArrCount As Integer
Dim PieGraphDemo As New MakeLogic.MG.PieGraph
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
MyBase.Dispose(disposing)
End Sub
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Private Sub InitializeComponent()
Me.MainMenu1 = New System.Windows.Forms.MainMenu
'
'Form1
'
Me.Menu = Me.MainMenu1
Me.Text = "PieGraphDemo"
End Sub
#End Region
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'MakeLogic Code
'Clean the application from the memory of the Pocket PC
'once it is closed
Me.ControlBox = True
Me.MinimizeBox = False
For ArrCount = 1 To 6
Values(ArrCount) = ArrCount + 1
lbls(ArrCount) = "Data:" & ArrCount + 3
Next
PieGraphDemo.Data = Values
PieGraphDemo.Labels = lbls
Me.Controls.Add(PieGraphDemo)
End Sub
End Class

Was this information helpful to you?
Rock The Vote Next Poll Question

RSS Feeds
Subscribe to MakeLogic RSS Feed Add to My Yahoo! Add to Google
NewsLetter