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

BarGraph 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 BarGraph component of the MicroGraphs
Public Class BarGraphDemo
Inherits System.Windows.Forms.Form
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
' Variable Declarattions
Dim BarGraphDemo As New MakeLogic.MG.BarGraph
Dim xValues(6) As Double, yValues(6) As Double
Dim ArrCount As Integer
#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 = "BarGraphDemo"
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


'Initializing Values

For ArrCount = 1 To 6
xValues(ArrCount) = ArrCount + 1
yValues(ArrCount) = ArrCount + 3
Next
'Assigning Data to the Bargraph
BarGraphDemo.XValues = xValues
BarGraphDemo.YValues = yValues
Me.Controls.Add(BarGraphDemo)
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