Public Class Form1
Private Sub Report_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateReport.Click
' Calculates and displays bonus
Dim decSales() As Integer = {"2400", "1500", "1600", "2970", "1000", "6300", "1300", "2700"}
Dim IntCode As Integer
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitButton.Click
' Closes Application
Me.Close()
End Sub
Private Sub txtRateControl_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtRateControl.KeyPress
If (e.KeyChar < "0" OrElse e.KeyChar > "9") _
AndAlso e.KeyChar <> ControlChars.Back AndAlso e.KeyChar <> "." Then
e.Handled = True
End If
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BonusDisplay.TextChanged
'Display Bonus
End Sub
End Class
VB 10 Class Project/Single Array Usage
Page 1 of 12 Replies - 436 Views - Last Post: 11 March 2012 - 06:04 PM
#1
VB 10 Class Project/Single Array Usage
Posted 11 March 2012 - 05:53 PM
Hello, I'm doing a project for my beginners programming,logic, and design class. The project is a Sales Solution/Bonus Calculator. I really just want to know if I actually coded the array correctly. I've found the same project on here but I wasn't even really sure if what they had up was correct. I have a pretty solid idea of how to get through this I'm just feeling a bit overwhelmed. Any input or critizcism is appreciated. If you notice any other errors please point them out. I'm not looking for the answer I'm just looking for the path to get there on my own merit. Here's what I have so far:
Replies To: VB 10 Class Project/Single Array Usage
#2
Re: VB 10 Class Project/Single Array Usage
Posted 11 March 2012 - 05:54 PM
What IDE are you using this looks like VB.NET please post this in the VB.NET section.
These two languages are very different
Btw your array looks right.
These two languages are very different
Btw your array looks right.
This post has been edited by Toadill: 11 March 2012 - 06:04 PM
#3
Re: VB 10 Class Project/Single Array Usage
Posted 11 March 2012 - 06:04 PM
How do I remove this post? Sorry new around here.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|