SlideShare a Scribd company logo
1 of 90
0
n
Kinross Wolaroi School
Software Design Development
YR 12 2016 MAJOR SDD
PROJECT
Cameron Rasmussen
1
Contents
Part 1- Defining and Understanding the Problem 2
Problem Statement 2
Overview of Software and Hardware 2
Discussion of Development Approach 2
Part 2- Planning and Designing the Solution 3
Gnatt Charts 3
System Documentation Overview and Justification 6
Design Tools 6
IPO Chart 6
Context Diagram 8
User Interface Designs 9
Storyboard 16
Data Flow Diagrams 17
Data Dictionaries 18
Structure Chart 19
System Flowchart 19
Part 3- Implementing the Solution 20
Algorithms 20
Source Code 27
User Interface Development 79
User Manual 87
Part 4- Testing and Maintaining the solution 87
Test Plan and Report 87
Maintenance Overview 88
Part 5- Social and Ethical Issues 88
Social and Ethical Issues Overview 88
Justification of Social and Ethical Issues in relation to Major Project 89
Documentation and Project work 89
Learning Journal 89
Project Work, Collaboration, Communication, Organisation and Effort 89
2
Part 1- Defining and Understandingthe Problem
Problem Statement
At first thinking, I wanted to create a media player. But when I was watching the previous cricket test
matches Australia vs. New Zealand, I decided that I wanted to make a program a digital scorecard,
from new users to experienced users of scoring. My hypothetical client has asked me to design and
produce a functional program to take score of the cricket used from scoring books and other cricket
scoring programs to be used to score any type of format of game, from 20/20 to 1 day to test
match. The program will require for me to create a part of it where players can be created. What I
might find challenging is that the score must be placed as a total score, bowling score and batting
score which I may find difficult. My program will require different symbols for certain areas of the
program.
Overview of Software and Hardware
Hardware used will be the computer to be used in Visual Basic, with a computers at school and
computer at home, I will be able to work and back the files up on each computer if there's a
corrupted program, I am able to go back and used the last saved file to continue on from there.
CASE tools towards my project will be a driving factor. The data dictionary will help what is the type
and what it does, the system modelling will assist in the organisation of the program and where will
each particular part will be placed and what will each function do. The source code must be correct
with no errors by the end of the project with each sub in the program to be explained in what the
particular area does. Documenting the project through screenshots is one method I will be using
and also documenting my progress through Google Blogger blogging every week about my
progress and achievements of the week and what I'm having difficulties I may have throughout the
project. When tracking the errors, I will debug, using break point to see what the particular code is
doing at the runtime. Testing data will assist in what is being tested in the scorecard which will help
me to what section is doing what.
Discussion of Development Approach
Structured programming is a programming paradigm aimed at improving the clarity, quality, and
development time of a computer program by making extensive use of subroutines, block structures
and for and while loops. A third area sometimes targeted for improvement is organizational efficacy,
which involves the process of setting organizational goals and objectives. Performance improvement
at the operational or individual employee level usually involves processes such as statistical quality
control. Also called a decision, one of the three basic logic structures in computer programming. The
other two logic structures are sequence and loop. In a selection structure, a question is asked, and
depending on the answer, the program takes one of two courses of action, after which the program
moves on to the next event. As the strucured appraoch has been used to my project., my project has
gone back and forth, starting obviously at planning to design then implementing, maintaining. I had
to go back alot to rechange my diagrams and tables as some stuff in the project. The project takes
back and forth forcing you to make those key changes. This is only a prototype as I would like to do
this with plenty more time but a deadline is required. Compared to other projects mine is a cheap
budget compared to projects in large companies developing games, software etc. The larger the
project the more people working in the project. The prototype approach would be best suited as
another approach as it quick and not alot of documenting is required for the developer.
3
Part 2- Planning and Designing the Solution
Gnatt Charts
Gnatt Chart Stage 1
4
Gnatt Chart Stage 2
5
Gnatt Chart Stage 3
6
System Documentation Overview and Justification
The importance of having system documentation is to have a relative idea of how the program will
be set out. The design tools I have used for the project are the following: IPO Chart, Context
Diagram, User Interface designs, Data flow Diagram, Storyboards, Data Dictionairies, structure chart
and systems flowchart. These tools are important as these are the tools that keep you on track of the
project and always can be reffered to by seeing what must be what. For example in the IPO chart im
able to see what should be doing what. A button is clicked that would maybe load a form and the
output that its loads the form. This is on of the reasons why design tools are vital.
Design Tools
IPO Chart
Input Process Output
frmSplashScreen Load to Login form Loads login Form
Logging in Username and login details
Create new login details
If details not entered
Loads Main Menu form
Login details saved to fail
"Please create user and
password"
Btnexit Exiting the program Program closed
btnHelp Loads Help form Help form loads
Btncreategame Load creategame form Create game form Loaded
btnplayers Loads players form Players Form loaded
btnviewstats Loads view stats form View Stats Loaded
txtsearch Search "" team name
Search text box "" not typed ion
Displays teams with that name
"Please type in a teams game"
btnsearch Click btn search searching
criteria
Results displayed
btnviwall All results being displayed All gameresults displayed in
lstgames
Cmdsortdate Sorts date in ascending or
descending order
Date sorted in ascending or
descneding order
Btnback Main menu form loading
closing view games form
Main menu form open, view
games form closed
Ascending Click ascending putting results Results displayed in ascending
7
in ascending order order
Descending Click descneding putting results
in descneding order
Results displayed in ascending
order
lstgames Results displayed in listbox Results displayed in listbox
Btnsubmit Submits player or game info to
file
Game or player info saved to
file
cmbtype Displays different player
characteristic
Loads palyer characteristic
cmbadt Displays domestic t20 sides Domestic t20 sides displayed
cmbipl Displays IPL teams IPL teams displayed
cmbit20 Displays International T20 sides International T20 sides
displayed
cmbiodi Displays International ODI sides International ODI sides
displayed
cmbtest Displays International Test sides International TEST sides
displayed
cmbgametype Select game type Game type selected
dtpdate Select date Date Selected
Cmbteams Select teams Teams selected
Cmbbestbatters Choose best batters Best batters chosen
cmbbestbowlers Choose best bowlers Best bowlers chosen
8
Context Diagram
9
User Interface Designs
Splash Screen
10
Login
11
Help
12
Main menu
13
Create Player
14
Create Game
15
View Results
16
Storyboard
17
Data Flow Diagrams
18
Data Dictionaries
Data Item Data Type Format Description Example
Username String XXXNNN Given for user
deatails
Yallah
Password String XXXNNN Password for
extra security
purposes
Hommus
Date Floating Point yyyy-mm-dd 2016/09/09
Game Type String XXXNNN Type of format
played
T20
Team String XXXNNN Teams Selected
for game
Sydney Thunder,
Sydney Sixers
Best Batter String XXXNNN Best batter of
game
Michael Hussey
Best Bowler String XXXNNN Best bowler of
game
Jacques Kallis
Runs Integer 11111 Runs from best
batter
123
Bowling Figures Integer 22222 Best figures from
best bowler
3/20
Australian
Domestic team
String XXXNNN Team selected for
the player
Perath Scorchers
IPL Team String XXXNNN Team selected for
the player
Mumbai Indians
International T20
team
String XXXNNN Team selected for
the player
Australia T20
International ODI
team
String XXXNNN Team selected for
the player
Australia ODI
International
T20Test
String XXXNNN Team selected for
the player
Australia Test
USer deatils deatails Data written to
Login file when
new users login
Game Results Record Data written to
19
Game result file
when games are
created
Structure Chart
System Flowchart
20
Part 3- Implementing the Solution
Algorithms
Flowchart
Create Game
21
Create Player
22
Login
23
MainMenu
Search
24
SortDate
25
Splashscreen
ViewAll
26
Pseudocode
Search
Begin Linear Search
Let i = 1
Let Found It = false
Get Team NAme
WHILE FoundIt is false AND i <= number of names
IF Team(i) < > RequiredTeam THEN
i = i + 1
ELSE
Let FoundIt = true
ENDIF
ENDWHILE
IF FoundIt Not THEN
Display “Required Team Not found
SortDate
Begin SelectionSortDate
Let EndUnsorted = number of Dates in the array
WHILE EndUnsorted > 1
Let i = 1
Let Max = Date (i)
Let PosMax = i
WHILE i <= EndUnsorted
Increment i
IF Date (i) > Max THEN
Let Max = Date (i)
Let PosMax = i
27
ENDIF
ENDWHILE
Swap (Date (PosMax), Date (EndUnsorted))
Decrement EndUnsorted
ENDWHILE
END SelectionSortDate
Source Code
Module1
Imports System.IO
Module Module1
Public Structure Login
Dim ID As Integer
Dim username As String
Dim password As String
End Structure
Public filepath As String = Application.StartupPath
Public arrlogin(0) As Login
Public Sub LoadLoginFile()
28
'Dim oFile as System.IO.File
Dim oRead As System.IO.StreamReader
Dim LineIn As String
Dim id As Integer = 0
Dim tmp
oRead = File.OpenText(filepath & "Login.txt")
While oRead.Peek <> -1
LineIn = oRead.ReadLine()
If Mid(LineIn, 1, 1) <> "" Then
tmp = Split(LineIn, "|")
ReDim Preserve arrlogin(UBound(arrlogin) + 1)
arrlogin(CInt(tmp(0))).ID = tmp(0)
arrlogin(tmp(0)).username = tmp(1)
arrlogin(tmp(0)).password = tmp(2)
End If
End While
oRead.Close()
'Msgbox("File Loaded") 'stub
End Sub
Public Sub SaveLoginfile()
Dim sep As Char = "|"
Dim writeline As String = ""
For i = 0 To UBound(arrlogin)
If arrlogin(i).username <> "" Then
writeline &= arrlogin(i).ID & sep & arrlogin(i).username & sep &
arrlogin(i).password & vbCrLf
End If
Next
File.WriteAllText(filepath & "Login.txt", writeline)
End Sub
Public Sub CreateLogin(ByVal username As String, ByVal password As String)
'add current login details to login array
Dim NextID As Integer = FindNextLoginID()
arrlogin(NextID).ID = NextID
arrlogin(NextID).username = username
arrlogin(NextID).password = password
End Sub
Private Function FindNextLoginID() ' sets id for next record + 1
' sets id for next record + 1
Dim x As Integer = 0
For i = 0 To UBound(arrlogin)
If arrlogin(i).ID > x Then
x = arrlogin(i).ID
End If
Next
FindNextLoginID = x + 1
End Function
'Mod data for booking
Public Structure Players
Dim ID As Integer
Dim Name As String
Dim Surname As String
Dim Type As String
Dim AustralianDomesticTeam As String
Dim IPLTeam As String
Dim InternationalT20Team As String
Dim InternationalODITeam As String
Dim InternationalTestTeam As String
Dim BattingAverage As String
Dim BowlingAverage As String
End Structure
Public arrPlayers(0) As Players
29
Public Sub LoadPlayersFile()
'Dim oFile as System.IO.File
Dim oRead As System.IO.StreamReader
Dim LineIn As String
Dim id As Integer = 0
Dim tmp
oRead = File.OpenText(filepath & "Players.txt")
While oRead.Peek <> -1
LineIn = oRead.ReadLine()
If Mid(LineIn, 1, 1) <> "" Then
tmp = Split(LineIn, "|")
ReDim Preserve arrPlayers(UBound(arrPlayers) + 1)
arrPlayers(CInt(tmp(0))).ID = tmp(0)
arrPlayers(tmp(0)).Name = tmp(1)
arrPlayers(tmp(0)).Surname = tmp(2)
arrPlayers(tmp(0)).Type = tmp(3)
arrPlayers(tmp(0)).AustralianDomesticTeam = tmp(4)
arrPlayers(tmp(0)).IPLTeam = tmp(5)
arrPlayers(tmp(0)).InternationalT20Team = tmp(6)
arrPlayers(tmp(0)).InternationalODITeam = tmp(7)
arrPlayers(tmp(0)).InternationalTestTeam = tmp(8)
arrPlayers(tmp(0)).BattingAverage = tmp(9)
arrPlayers(tmp(0)).BowlingAverage = tmp(10)
End If
End While
oRead.Close()
'Msgbox("File Loaded") 'stub
End Sub
Public Sub SavePlayersfile()
Dim sep As Char = "|"
Dim writeline As String = ""
For i = 0 To UBound(arrPlayers)
If arrPlayers(i).Name <> "" Then
writeline &= arrPlayers(i).ID & sep & arrPlayers(i).Name & sep &
arrPlayers(i).Surname & sep & arrPlayers(i).Type & sep & arrPlayers(i).AustralianDomesticTeam &
sep & arrPlayers(i).IPLTeam & sep & arrPlayers(i).InternationalT20Team & sep &
arrPlayers(i).InternationalODITeam & sep & arrPlayers(i).InternationalTestTeam & sep &
arrPlayers(i).BattingAverage & sep & arrPlayers(i).BowlingAverage & vbCrLf
End If
Next
File.WriteAllText(filepath & "Players.txt", writeline)
End Sub
Private Function FindNextPlayerID() ' sets id for next record + 1
' sets id for next record + 1
Dim x As Integer = 0
For i = 0 To UBound(arrPlayers)
If arrPlayers(i).ID > x Then
x = arrPlayers(i).ID
End If
Next
FindNextPlayerID = x + 1
End Function
Public Sub CreatePlayer(ByVal Name As String, ByVal Surname As String, ByVal Type As String,
ByVal AustralianDomesticTeam As String, ByVal IPLTeam As String, ByVal InternationalT20Team As
String, ByVal InternationalODITeam As String, ByVal InternationalTestTeam As String, ByVal
BattingAverage As String, ByVal BowlingAverage As String)
'add current Player details to Players array
Dim NextID As Integer = FindNextPlayerID()
arrPlayers(NextID).ID = NextID
arrPlayers(NextID).Name = Name
arrPlayers(NextID).Surname = Surname
arrPlayers(NextID).Type = Type
30
arrPlayers(NextID).AustralianDomesticTeam = AustralianDomesticTeam
arrPlayers(NextID).IPLTeam = IPLTeam
arrPlayers(NextID).InternationalT20Team = InternationalT20Team
arrPlayers(NextID).InternationalODITeam = InternationalODITeam
arrPlayers(NextID).InternationalTestTeam = InternationalTestTeam
arrPlayers(NextID).BattingAverage = BattingAverage
arrPlayers(NextID).BowlingAverage = BowlingAverage
MsgBox("Player created", MsgBoxStyle.Information)
End Sub
Private Function FindNextIDPlayers() 'sets id for next record + 1
Dim x As Integer = 0
For i = 0 To UBound(arrPlayers)
If arrPlayers(i).ID > x Then
x = arrPlayers(i).ID
End If
Next
FindNextIDPlayers = x + 1
End Function
Public Structure Game
Dim ID As Integer
Dim DateGame As String
Dim Type As String
Dim Team1 As String
Dim Team2 As String
Dim Team1innings As String
Dim Bestbatting1 As String
Dim BattingRuns1 As String
Dim Bestbowling2 As String
Dim BowlingFigures2 As String
Dim Team2innings As String
Dim Bestbatting2 As String
Dim BattingRuns2 As String
Dim Bestbowling1 As String
Dim Bowlingfigures As String
End Structure
Public arrGames(0) As Game
Public Sub LoadGamesFile()
'Dim oFile as System.IO.File
Dim oRead As System.IO.StreamReader
Dim LineIn As String
Dim id As Integer = 0
Dim tmp
'
oRead = File.OpenText(filepath & "GameResult.txt")
While oRead.Peek <> -1
LineIn = oRead.ReadLine()
If Mid(LineIn, 1, 1) <> "" Then
tmp = Split(LineIn, "|")
ReDim Preserve arrGames(UBound(arrGames) + 1)
arrGames(CInt(tmp(0))).ID = tmp(0)
arrGames(CInt(tmp(0))).DateGame = tmp(1)
arrGames(CInt(tmp(0))).Type = tmp(2)
arrGames(CInt(tmp(0))).Team1 = tmp(3)
arrGames(CInt(tmp(0))).Team2 = tmp(4)
arrGames(CInt(tmp(0))).Team1innings = tmp(5)
arrGames(CInt(tmp(0))).Bestbatting1 = tmp(6)
arrGames(CInt(tmp(0))).BattingRuns1 = tmp(7)
arrGames(CInt(tmp(0))).Bestbowling2 = tmp(8)
arrGames(CInt(tmp(0))).BowlingFigures2 = tmp(9)
arrGames(CInt(tmp(0))).Team2innings = tmp(10)
arrGames(CInt(tmp(0))).Bestbatting2 = tmp(11)
arrGames(CInt(tmp(0))).BattingRuns2 = tmp(12)
31
arrGames(CInt(tmp(0))).Bestbowling1 = tmp(13)
arrGames(CInt(tmp(0))).Bowlingfigures = tmp(14)
End If
End While
oRead.Close()
'Msgbox("File Loaded") 'stub
End Sub
Public Sub SaveGamesfile()
Dim sep As Char = "|"
Dim writeline As String = ""
For i = 0 To UBound(arrGames)
If arrGames(i).DateGame <> "" Then
writeline &= arrGames(i).ID & sep & arrGames(i).DateGame & sep & arrGames(i).Type
& sep & arrGames(i).Team1 & sep & arrGames(i).Team2 & sep & arrGames(i).Team1innings & sep &
arrGames(i).Bestbatting1 & sep & arrGames(i).BattingRuns1 & sep & arrGames(i).Bestbowling2 & sep
& arrGames(i).BowlingFigures2 & sep & arrGames(i).Team2innings & sep & arrGames(i).Bestbatting2 &
sep & arrGames(i).BattingRuns2 & sep & arrGames(i).Bestbowling1 & sep &
arrGames(i).BowlingFigures2 & vbCrLf
End If
Next
File.WriteAllText(filepath & "GameResult.txt", writeline)
End Sub
Private Function FindNextGameID() ' sets id for next record + 1
' sets id for next record + 1
Dim x As Integer = 0
For i = 0 To UBound(arrGames)
If arrGames(i).ID > x Then
x = arrGames(i).ID
End If
Next
FindNextGameID = x + 1
End Function
Public Sub CreateGame(ByVal DateGame As Date, ByVal Type As String, ByVal Team1 As String,
ByVal Team2 As String, ByVal Team1innings As String, ByVal Bestbatting1 As String, ByVal
BattingRuns1 As String, ByVal Bestbowling2 As String, ByVal BowlingFigures2 As String, ByVal
Team2innings As String, ByVal Bestbatting2 As String, ByVal BattingRuns2 As String, ByVal
Bestbowling1 As String, Bowlingfigures As String)
'add current result details to gameresult array
LoadGamesFile()
Dim NextID As Integer = FindNextGameID()
arrGames(NextID).ID = NextID
arrGames(NextID).DateGame = Format("yyyy-MM-d")
arrGames(NextID).Team1 = Team1
arrGames(NextID).Team2 = Team2
arrGames(NextID).Team1innings = Team1innings
arrGames(NextID).Bestbatting1 = Bestbatting1
arrGames(NextID).BattingRuns1 = BattingRuns1
arrGames(NextID).Bestbowling2 = Bestbowling2
arrGames(NextID).BowlingFigures2 = BowlingFigures2
arrGames(NextID).Team2innings = Team2innings
arrGames(NextID).Bestbatting2 = Bestbatting2
arrGames(NextID).BattingRuns2 = BattingRuns2
arrGames(NextID).Bestbowling1 = Bestbowling1
arrGames(NextID).Bowlingfigures = Bowlingfigures
MsgBox("Game created", MsgBoxStyle.Information)
End Sub
End Module
frmSplashScreen
32
Public Class Splash
Dim SecondCount As Integer = 0
Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
End Sub
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
SecondCount = 0
Me.Timer1.Interval = 1 * 700
Me.Timer1.Enabled = True
End Sub
Private Sub Time1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
SecondCount += 1
If SecondCount = 3 Then
Me.Timer1.Enabled = False
Login.Show()
Me.Hide()
End If
End Sub
End Class
frmLogin
Public Class Login
Dim Uname As String
Dim Pass As String
Private Sub Login_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
'Open logindata text file and read records into array
LoadLoginFile()
End Sub
Private Sub btnlogin_Click(sender As System.Object, e As System.EventArgs) Handles
btnlogin.Click
'Msgbox("go to login section")
Dim searchUname As String
Dim searchpassword As String
Dim found As Boolean = False
searchUname = txtuser.Text
searchpassword = txtpass.Text
If txtuser.Text = "" Then
MsgBox("Please enter a username")
Exit Sub
Else
For i = 0 To UBound(arrlogin)
If arrlogin(i).username = searchUname And arrlogin(i).password = searchpassword
Then
found = True
MsgBox("login successful")
Main_Menu.Show()
Me.Hide()
End If
Next
End If
If found = False Then
33
MsgBox("Login unsuccessful")
txtuser.Text = ""
txtpass.Text = ""
Exit Sub
End If
End Sub
Private Sub btnexit_Click(sender As System.Object, e As System.EventArgs) Handles
btnexit.Click
End
End Sub
Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles
btnhelp.Click
Help.Show()
End Sub
Private Sub btnok_Click(sender As System.Object, e As System.EventArgs) Handles btnok.Click
If txtnewuser.Text = "" Then
MsgBox("You must ensure a new username is entered")
ElseIf txtnewpass.Text = txtnewpassconfirm.Text Then
CreateLogin(txtnewuser.Text, txtnewpass.Text)
SaveLoginfile()
grpnewuser.Visible = False
txtnewuser.Text = ""
txtnewpass.Text = ""
txtnewpassconfirm.Text = ""
MsgBox("New User created", MsgBoxStyle.Information)
Else
MsgBox("Please ensure passwords match")
txtnewpass.Text = ""
txtnewpassconfirm.Text = ""
grpnewuser.Visible = False
End If
End Sub
End Class
frmMainMenu
Public Class Main_Menu
Private Sub Main_Menu_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
End Sub
Private Sub btnexit_Click(sender As System.Object, e As System.EventArgs) Handles
btnexit.Click
End
End Sub
Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles
btnhelp.Click
Help.Show()
End Sub
Private Sub btncreategame_Click(sender As System.Object, e As System.EventArgs) Handles
btncreategame.Click
Game.Show()
Me.Hide()
End Sub
Private Sub btnplayers_Click(sender As System.Object, e As System.EventArgs) Handles
btnplayers.Click
CreatePlayers.Show()
Me.Hide()
End Sub
Private Sub btnviewstats_Click(sender As System.Object, e As System.EventArgs) Handles
btnviewstats.Click
34
ViewGames.Show()
Me.Hide()
End Sub
End Class
frmCreatePlayers
Public Class CreatePlayers
Dim GivenName As String
Dim Surname As String
Dim Type As String
Dim AustralianDomesticTeam As String
Dim IPLTeam As String
Dim InternationalT20Team As String
Dim InternationalODITeam As String
Dim InternationalTestTeam As String
Dim BattingAverage As String
Dim BowlingAverage As String
Private Sub CreatePlayers_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
LoadPlayersFile()
End Sub
Private Sub btnsubmit_Click(sender As System.Object, e As System.EventArgs) Handles
btnsubmit.Click
CreatePlayer(txtsurname.Text, txtname.Text, cmbtype.Text, cmbadt.Text, cmbipl.Text,
cmbit20.Text, cmbiodi.Text, cmbtest.Text, txtbattingaverage.Text, txtbowlingaverage.Text)
SavePlayersfile()
Main_Menu.Show()
Me.Hide()
End Sub
Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles
btnhelp.Click
Help.Show()
End Sub
End Class
frmCreateGame
Public Class Game
Private Sub Game_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
LoadGamesFile()
cmbgametype.Items.Add("T20")
cmbgametype.Items.Add("ODI")
cmbgametype.Items.Add("Test")
End Sub
Private Sub btnsubmit_Click(sender As System.Object, e As System.EventArgs) Handles
btnsubmit.Click
CreateGame(dtpdate.Text, cmbgametype.Text, cmbteam1.Text, cmbteam2.Text,
txtbattingtotal1.Text, cmbbestbatter1.Text, txtbestbatterruns1.Text, cmbbestbowler2.Text,
txtbestbowlerfigure2.Text, txtbattingtotal2.Text, cmbbestbatter2.Text, txtbestbatterruns2.Text,
cmbbestbowler.Text, txtbestbowlingfigure1.Text)
SaveGamesfile()
Main_Menu.Show()
Me.Hide()
End Sub
Private Sub cmbgametype_SelectedIndexChanged(sender As Object, e As EventArgs) Handles
cmbgametype.SelectedIndexChanged
35
Try
If cmbgametype.SelectedIndex = 0 Then
cmbteam1.Items.Clear()
cmbteam1.Items.Add("Sydney Sixers")
cmbteam1.Items.Add("Sydney Thunder")
cmbteam1.Items.Add("Brisbane Heat")
cmbteam1.Items.Add("Melbourne Stars")
cmbteam1.Items.Add("Melbourne Renegades")
cmbteam1.Items.Add("Perth Scorchers")
cmbteam1.Items.Add("Adelaide Strikers")
cmbteam1.Items.Add("Hobart Hurricanes")
cmbteam1.Items.Add("Kolkata Knight Riders")
cmbteam1.Items.Add("Mumbai Indians")
cmbteam1.Items.Add("Sunrisers Hyperbad")
cmbteam1.Items.Add("Dehli Daredevils")
cmbteam1.Items.Add("Gujarat Lions")
cmbteam1.Items.Add("Pune Supergiants")
cmbteam1.Items.Add("Royal Challengers Bangalore")
cmbteam1.Items.Add("Kings XI Punjab")
cmbteam1.Items.Add("Australia T20")
cmbteam1.Items.Add("South Africa T20")
cmbteam1.Items.Add("Sri Lanka T20")
cmbteam1.Items.Add("England T20")
cmbteam1.Items.Add("Bangledesh T20")
cmbteam1.Items.Add("New Zealand T20")
cmbteam1.Items.Add("Pakistan T20")
cmbteam1.Items.Add("Zimbabwe T20")
cmbteam1.Items.Add("West Indies T20")
cmbteam1.Items.Add("India T20")
cmbteam2.Items.Clear()
cmbteam2.Items.Add("Sydney Sixers")
cmbteam2.Items.Add("Sydney Thunder")
cmbteam2.Items.Add("Brisbane Heat")
cmbteam2.Items.Add("Melbourne Stars")
cmbteam2.Items.Add("Melbourne Renegades")
cmbteam2.Items.Add("Perth Scorchers")
cmbteam2.Items.Add("Adelaide Strikers")
cmbteam2.Items.Add("Kolkata Knight Riders")
cmbteam2.Items.Add("Mumbai Indians")
cmbteam2.Items.Add("Sunrisers Hyperbad")
cmbteam2.Items.Add("Dehli Daredevils")
cmbteam2.Items.Add("Gujarat Lions")
cmbteam2.Items.Add("Pune Supergiants")
cmbteam2.Items.Add("Royal Challengers Bangalore")
cmbteam2.Items.Add("Kings XI Punjab")
cmbteam2.Items.Add("Australia T20")
cmbteam2.Items.Add("South Africa T20")
cmbteam2.Items.Add("Sri Lanka T20")
cmbteam2.Items.Add("England T20")
cmbteam2.Items.Add("Bangledesh T20")
cmbteam2.Items.Add("New Zealand")
cmbteam2.Items.Add("Pakistan T20")
cmbteam2.Items.Add("Zimbabwe T20")
cmbteam2.Items.Add("West Indies T20")
cmbteam2.Items.Add("India T20")
ElseIf cmbgametype.SelectedIndex = 1 Then
cmbteam1.Items.Clear()
cmbteam1.Items.Add("Australia ODI")
cmbteam1.Items.Add("South Africa ODI")
cmbteam1.Items.Add("Sri Lanka ODI")
cmbteam1.Items.Add("England ODI")
cmbteam1.Items.Add("Bangledesh ODI")
cmbteam1.Items.Add("New Zealand ODI")
36
cmbteam1.Items.Add("Pakistan ODI")
cmbteam1.Items.Add("Zimbabwe ODI")
cmbteam1.Items.Add("West Indies ODI")
cmbteam1.Items.Add("India ODI")
cmbteam2.Items.Clear()
cmbteam2.Items.Add("Australia ODI")
cmbteam2.Items.Add("South Africa ODI")
cmbteam2.Items.Add("Sri Lanka ODI")
cmbteam2.Items.Add("England ODI")
cmbteam2.Items.Add("Bangledesh ODI")
cmbteam2.Items.Add("New Zealand ODI")
cmbteam2.Items.Add("Pakistan ODI")
cmbteam2.Items.Add("Zimbabwe ODI")
cmbteam2.Items.Add("West Indies ODI")
cmbteam2.Items.Add("India ODI")
ElseIf cmbgametype.SelectedIndex = 2 Then
cmbteam1.Items.Clear()
cmbteam1.Items.Add("Australia Test")
cmbteam1.Items.Add("South Africa Test")
cmbteam1.Items.Add("Sri Lanka Test")
cmbteam1.Items.Add("England Test")
cmbteam1.Items.Add("Bangledesh Test")
cmbteam1.Items.Add("New Zealand Test")
cmbteam1.Items.Add("Pakistan Test")
cmbteam1.Items.Add("Zimbabwe Test")
cmbteam1.Items.Add("West Indies Test")
cmbteam1.Items.Add("India Test")
cmbteam2.Items.Clear()
cmbteam2.Items.Add("Australia Test")
cmbteam2.Items.Add("South Africa Test")
cmbteam2.Items.Add("Sri Lanka Test")
cmbteam2.Items.Add("England Test")
cmbteam2.Items.Add("Bangledesh Test")
cmbteam2.Items.Add("New Zealand Test")
cmbteam2.Items.Add("Pakistan Test")
cmbteam2.Items.Add("Zimbabwe Test")
cmbteam2.Items.Add("West Indies Test")
cmbteam2.Items.Add("India Test")
End If
Catch ex As Exception
End Try
End Sub
Private Sub cmbteam1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles
cmbteam1.SelectedIndexChanged
Try
If cmbteam1.SelectedItem = "Sydney Sixers" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Moses Henriques")
cmbbestbowler.Items.Add("Moses Henriques")
cmbbestbatter1.Items.Add("Sean Abbott")
cmbbestbowler.Items.Add("Sean Abbott")
cmbbestbatter1.Items.Add("Doug Bollinger")
cmbbestbowler.Items.Add("Doug Bollinger")
cmbbestbatter1.Items.Add("Jackson Bird")
cmbbestbowler.Items.Add("Jackson Bird")
37
cmbbestbatter1.Items.Add("Johan Botha")
cmbbestbowler.Items.Add("Johan Botha")
cmbbestbatter1.Items.Add("Ed Cowan")
cmbbestbowler.Items.Add("Ed Cowan")
cmbbestbatter1.Items.Add("Brad Haddin")
cmbbestbowler.Items.Add("Brad Haddin")
cmbbestbatter1.Items.Add("Michael Lumb")
cmbbestbowler.Items.Add("Michael Lumb")
cmbbestbatter1.Items.Add("Nic Maddinson")
cmbbestbowler.Items.Add("Nic Maddinson")
cmbbestbatter1.Items.Add("Jordan Silk")
cmbbestbowler.Items.Add("Jordan Silk")
cmbbestbatter1.Items.Add("Ryan Carters")
cmbbestbowler.Items.Add("Ryan Carters")
ElseIf cmbteam1.SelectedItem = "Sydney Thunder" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Michael Hussey")
cmbbestbowler.Items.Add("Michael Hussey")
cmbbestbowler.Items.Add("Usman Khawaja")
cmbbestbatter1.Items.Add("Usman Khawaja")
cmbbestbowler.Items.Add("Jacques Kallis")
cmbbestbatter1.Items.Add("Jacques Kallis")
cmbbestbowler.Items.Add("Shane Watson")
cmbbestbatter1.Items.Add("Shane Watson")
cmbbestbowler.Items.Add("Aiden Blizzard")
cmbbestbatter1.Items.Add("Aiden Blizzard")
cmbbestbatter1.Items.Add("Chris Hartley")
cmbbestbowler.Items.Add("Chris Hartley")
cmbbestbatter1.Items.Add("Chris Green")
cmbbestbowler.Items.Add("Chris Green")
cmbbestbatter1.Items.Add("Fawad Ahmed")
cmbbestbowler.Items.Add("Fawad Ahmed")
cmbbestbatter1.Items.Add("Clint McKay")
cmbbestbowler.Items.Add("Clint Mckay")
cmbbestbatter1.Items.Add("Ben Rorhrer")
cmbbestbowler.Items.Add("Ben Rorhrer")
cmbbestbatter1.Items.Add("Andre Russell")
cmbbestbowler.Items.Add("Andre Russell")
ElseIf cmbteam1.SelectedItem = "Brisbane Heat" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("James Pierson")
cmbbestbowler.Items.Add("James Pierson")
cmbbestbowler.Items.Add("Nathan Reardon")
cmbbestbatter1.Items.Add("Nathan Reardon")
cmbbestbowler.Items.Add("Chris Lynn")
cmbbestbatter1.Items.Add("Chris Lynn")
cmbbestbowler.Items.Add("James Hopes")
cmbbestbatter1.Items.Add("James Hopes")
cmbbestbowler.Items.Add("Ben Cutting")
cmbbestbatter1.Items.Add("Ben Cutting")
cmbbestbowler.Items.Add("Joe Burns")
cmbbestbatter1.Items.Add("Joe Burns")
cmbbestbowler.Items.Add("Luke Feldman")
cmbbestbatter1.Items.Add("Luke Feldman")
cmbbestbowler.Items.Add("Jason Floros")
cmbbestbatter1.Items.Add("Jason Floros")
cmbbestbowler.Items.Add("Andrew Fekete")
cmbbestbatter1.Items.Add("Andrew Fekete")
38
cmbbestbowler.Items.Add("Samuel Badree")
cmbbestbatter1.Items.Add("Samuel Badree")
cmbbestbowler.Items.Add("Alex Doolan")
cmbbestbatter1.Items.Add("Alex Doolan")
ElseIf cmbteam1.SelectedItem = "Melbourne Stars" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Hussey")
cmbbestbowler.Items.Add("David Hussey")
cmbbestbowler.Items.Add("Luke Wright")
cmbbestbatter1.Items.Add("Luke Wright")
cmbbestbowler.Items.Add("Marcus Stoinis")
cmbbestbatter1.Items.Add("Marcus Stoinis")
cmbbestbowler.Items.Add("Kevin Pietersen")
cmbbestbatter1.Items.Add("Kevin Pietersen")
cmbbestbowler.Items.Add("Glenn Maxwell")
cmbbestbatter1.Items.Add("Glenn Maxwell")
cmbbestbowler.Items.Add("Rob Quiney")
cmbbestbatter1.Items.Add("Rob Quiney")
cmbbestbowler.Items.Add("James Faulkner")
cmbbestbatter1.Items.Add("James Faulkner")
cmbbestbowler.Items.Add("Peter Handscomb")
cmbbestbatter1.Items.Add("Peter Handscomb")
cmbbestbowler.Items.Add("John Hastings")
cmbbestbatter1.Items.Add("John Hastings")
cmbbestbowler.Items.Add("Samuel Badree")
cmbbestbatter1.Items.Add("Ben Hilfenhaus")
cmbbestbowler.Items.Add("Adam Zampa")
cmbbestbatter1.Items.Add("Adam Zampa")
ElseIf cmbteam1.SelectedItem = "Melbourne Renegades" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Aaron Finch")
cmbbestbowler.Items.Add("Aaron Finch")
cmbbestbowler.Items.Add("Chris Gayle")
cmbbestbatter1.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Cameron White")
cmbbestbatter1.Items.Add("Cameron White")
cmbbestbowler.Items.Add("Matthew Wade")
cmbbestbatter1.Items.Add("Matthew Wade")
cmbbestbowler.Items.Add("Tom Beaton")
cmbbestbatter1.Items.Add("Tom Beaton")
cmbbestbowler.Items.Add("Dwayne Bravo")
cmbbestbatter1.Items.Add("Dwayne Bravo")
cmbbestbowler.Items.Add("James Faulkner")
cmbbestbatter1.Items.Add("Xavier Doherty")
cmbbestbowler.Items.Add("Xavier Doherty")
cmbbestbatter1.Items.Add("Callum Ferguson")
cmbbestbowler.Items.Add("Peter Siddle")
cmbbestbatter1.Items.Add("Peter Siddle")
cmbbestbowler.Items.Add("Chris Tremain")
cmbbestbatter1.Items.Add("Chris Tremain")
cmbbestbowler.Items.Add("Nathan Rimmington")
cmbbestbatter1.Items.Add("Nathan Rimminington")
ElseIf cmbteam1.SelectedItem = "Perth Scorchers" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Michael Carberry")
cmbbestbowler.Items.Add("Michael Carberry")
cmbbestbowler.Items.Add("Michael Klinger")
39
cmbbestbatter1.Items.Add("Michael Klinger")
cmbbestbowler.Items.Add("Shaun Marsh")
cmbbestbatter1.Items.Add("Shaun Marsh")
cmbbestbowler.Items.Add("Mitchell Marsh")
cmbbestbatter1.Items.Add("Mitchell Marsh")
cmbbestbowler.Items.Add("Marcus Harris")
cmbbestbatter1.Items.Add("Marcus Harris")
cmbbestbowler.Items.Add("David Willey")
cmbbestbatter1.Items.Add("David Willey")
cmbbestbowler.Items.Add("Ashton Agar")
cmbbestbatter1.Items.Add("Ashton Agar")
cmbbestbowler.Items.Add("Brad Hogg")
cmbbestbatter1.Items.Add("Brad Hogg")
cmbbestbowler.Items.Add("Jason Behrendoff")
cmbbestbatter1.Items.Add("Jason Behrendoff")
cmbbestbowler.Items.Add("Adam Voges")
cmbbestbatter1.Items.Add("Adam Voges")
cmbbestbowler.Items.Add("Nathan Coulter Nile")
cmbbestbatter1.Items.Add("Nathan Coulter Nile")
ElseIf cmbteam1.SelectedItem = "Adelaide Strikers" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Brad Hodge")
cmbbestbowler.Items.Add("Brad Hodge")
cmbbestbowler.Items.Add("Craig Simmons")
cmbbestbatter1.Items.Add("Craig Simmons")
cmbbestbowler.Items.Add("Tim Ludeman")
cmbbestbatter1.Items.Add("Tim Ludeman")
cmbbestbowler.Items.Add("Travis Head")
cmbbestbatter1.Items.Add("Travis Head")
cmbbestbowler.Items.Add("Alex Ross")
cmbbestbatter1.Items.Add("Alex Ross")
cmbbestbowler.Items.Add("Miehala Jayawardne")
cmbbestbatter1.Items.Add("Miehala Jayawardne")
cmbbestbowler.Items.Add("Ben Laughlin")
cmbbestbatter1.Items.Add("Ben Laughlin")
cmbbestbowler.Items.Add("Kane Richardson")
cmbbestbatter1.Items.Add("Kane Richardson")
cmbbestbowler.Items.Add("Gary Putland")
cmbbestbatter1.Items.Add("Gary Putland")
cmbbestbowler.Items.Add("Kelvin Smith")
cmbbestbatter1.Items.Add("Kelvin Smith")
cmbbestbowler.Items.Add("Keiron Pollard")
cmbbestbatter1.Items.Add("Keiron Pollard")
ElseIf cmbteam1.SelectedItem = "Hobart Hurricanes" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Tim Paine")
cmbbestbowler.Items.Add("Tim Paine")
cmbbestbowler.Items.Add("Ben Dunk")
cmbbestbatter1.Items.Add("Ben Dunk")
cmbbestbowler.Items.Add("Kumar Sangakara")
cmbbestbatter1.Items.Add("Kumar Sangakara")
cmbbestbowler.Items.Add("George Bailey")
cmbbestbatter1.Items.Add("George Bailey")
cmbbestbowler.Items.Add("Dan Chrisitian")
cmbbestbatter1.Items.Add("Dan Christian")
cmbbestbowler.Items.Add("Darren Sammy")
cmbbestbatter1.Items.Add("Darren Sammy")
cmbbestbowler.Items.Add("Clive Rose")
cmbbestbatter1.Items.Add("Clive Rose")
cmbbestbowler.Items.Add("Shaun Tait")
40
cmbbestbatter1.Items.Add("Shaun Tait")
cmbbestbowler.Items.Add("Simon Milenko")
cmbbestbatter1.Items.Add("Simon Milenko")
cmbbestbowler.Items.Add("Jake Reed")
cmbbestbatter1.Items.Add("Jake Reed")
cmbbestbowler.Items.Add("Sam Rainbird")
cmbbestbatter1.Items.Add("Sam Rainbird")
' Kolkata Knight Riders
ElseIf cmbteam1.SelectedItem = "Kolkata Knight Riders" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Guatam Ghambir")
cmbbestbowler.Items.Add("Guatam Ghambir")
cmbbestbowler.Items.Add("Sheldon Jackson")
cmbbestbatter1.Items.Add("Sheldon Jackson")
cmbbestbowler.Items.Add("Chris Lynn")
cmbbestbatter1.Items.Add("Chris Lynn")
cmbbestbowler.Items.Add("Sunil Narine")
cmbbestbatter1.Items.Add("Sunil Narine")
cmbbestbowler.Items.Add("Andre Russell")
cmbbestbatter1.Items.Add("Andre Russell")
cmbbestbowler.Items.Add("Piyush Chawla")
cmbbestbatter1.Items.Add("Piyush Chawla")
cmbbestbowler.Items.Add("Shakib Al Hasan")
cmbbestbatter1.Items.Add("Jason Holder")
cmbbestbowler.Items.Add("Jason Holder")
cmbbestbatter1.Items.Add("John Hastings")
cmbbestbowler.Items.Add("John Hastings")
cmbbestbatter1.Items.Add("Morne Morkel")
cmbbestbowler.Items.Add("Brad Hogg")
cmbbestbatter1.Items.Add("Brad Hogg")
cmbbestbowler.Items.Add("Morne Morkel")
cmbbestbatter1.Items.Add("Shakib Al Hasan")
' Mumbai Indians
ElseIf cmbteam1.SelectedItem = "Mumbai Indians" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Rohit Sharma")
cmbbestbowler.Items.Add("Rohit Sharma")
cmbbestbowler.Items.Add("Corey Anderson")
cmbbestbatter1.Items.Add("Corey Anderson")
cmbbestbowler.Items.Add("Vinay Kumar")
cmbbestbatter1.Items.Add("Vinay Kumar")
cmbbestbowler.Items.Add("Jos Butler")
cmbbestbatter1.Items.Add("Jos Butler")
cmbbestbowler.Items.Add("Nitish Rana")
cmbbestbatter1.Items.Add("Nitish Rana")
cmbbestbowler.Items.Add("Keiron Pollard")
cmbbestbatter1.Items.Add("Keiron Pollard")
cmbbestbowler.Items.Add("Harbhajan Singh")
cmbbestbatter1.Items.Add("Harbhajan Singh")
cmbbestbowler.Items.Add("Jasprit Bumrah")
cmbbestbatter1.Items.Add("Jasprit Bumrah")
cmbbestbowler.Items.Add("Lasith Malinga")
cmbbestbatter1.Items.Add("Lasith Malinga")
cmbbestbowler.Items.Add("Tim Southee")
cmbbestbatter1.Items.Add("Tim Southee")
cmbbestbowler.Items.Add("Jitesh Sharma")
cmbbestbatter1.Items.Add("Jitesh Sharma")
41
' Sunrisers Hyperbad
ElseIf cmbteam1.SelectedItem = "Sunrisers Hyperbad" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Warner")
cmbbestbowler.Items.Add("David Warner")
cmbbestbowler.Items.Add("Eoin Morgan")
cmbbestbatter1.Items.Add("Eoin Morgan")
cmbbestbowler.Items.Add("Kane Williamson")
cmbbestbatter1.Items.Add("Kane Williamson")
cmbbestbowler.Items.Add("Yuvraj Singh")
cmbbestbatter1.Items.Add("Yuvjraj Singh")
cmbbestbowler.Items.Add("Moses Henriques")
cmbbestbatter1.Items.Add("Moses Henriques")
cmbbestbowler.Items.Add("Ricky Bhui")
cmbbestbatter1.Items.Add("Ricky Bhui")
cmbbestbowler.Items.Add("Ashish Nehra")
cmbbestbatter1.Items.Add("Ashish Nehra")
cmbbestbowler.Items.Add("Ben Cutting")
cmbbestbatter1.Items.Add("Ben Cutting")
cmbbestbowler.Items.Add("Trent Boult")
cmbbestbatter1.Items.Add("Trent Boult")
cmbbestbowler.Items.Add("Vijay Shankar")
cmbbestbatter1.Items.Add("Vijay Shankar")
cmbbestbowler.Items.Add("Shikhar Dhawan")
cmbbestbatter1.Items.Add("Shikhar Dhawan")
' Dehli Daredevils
ElseIf cmbteam1.SelectedItem = "Dehli Daredevlis" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Quinton De Kock")
cmbbestbowler.Items.Add("Quinton De Kock")
cmbbestbowler.Items.Add("Amit Mishra")
cmbbestbatter1.Items.Add("Amit Mishra")
cmbbestbowler.Items.Add("JP Duminy")
cmbbestbatter1.Items.Add("JP Duminy")
cmbbestbowler.Items.Add("Travis Head")
cmbbestbatter1.Items.Add("Travis Head")
cmbbestbowler.Items.Add("Mohammed Shami")
cmbbestbatter1.Items.Add("Mohammed Shami")
cmbbestbowler.Items.Add("Zaheer Khan")
cmbbestbatter1.Items.Add("Zaheer Khan")
cmbbestbowler.Items.Add("Carlos Braithwaite")
cmbbestbatter1.Items.Add("Carlos Braithwaite")
cmbbestbowler.Items.Add("Nathan Coulter Nile")
cmbbestbatter1.Items.Add("Nathan Coulter Nile")
cmbbestbowler.Items.Add("Joel Paris")
cmbbestbatter1.Items.Add("Joel Paris")
cmbbestbowler.Items.Add("Pawan Suyal")
cmbbestbatter1.Items.Add("Pawan Suyal")
cmbbestbowler.Items.Add("Albie Morkel")
cmbbestbatter1.Items.Add("Albie Morkel")
'Gujarat Lions
ElseIf cmbteam1.SelectedItem = "Gujarat Lions" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Brendon McCullum")
cmbbestbowler.Items.Add("Brendon McCullum")
42
cmbbestbowler.Items.Add("Aaron Finch")
cmbbestbatter1.Items.Add("Aaron Finch")
cmbbestbowler.Items.Add("Suresh Raina")
cmbbestbatter1.Items.Add("Suresh Raina")
cmbbestbowler.Items.Add("Dwayne Smith")
cmbbestbatter1.Items.Add("Dwayne Smith")
cmbbestbowler.Items.Add("Ishan Kishan")
cmbbestbatter1.Items.Add("Ishan Kishan")
cmbbestbowler.Items.Add("James Faulkner")
cmbbestbatter1.Items.Add("James Faulkner")
cmbbestbowler.Items.Add("Aksh Deep Nath")
cmbbestbatter1.Items.Add("Aksh Deep Nath")
cmbbestbowler.Items.Add("Andrew Tye")
cmbbestbatter1.Items.Add("Andrew Tye")
cmbbestbowler.Items.Add("Dale Steyn")
cmbbestbatter1.Items.Add("Dale Steyn")
cmbbestbowler.Items.Add("Umang Sharma")
cmbbestbatter1.Items.Add("Umang Sharm")
cmbbestbowler.Items.Add("Praveen Kumar")
cmbbestbatter1.Items.Add("Praveen Kumar")
'Pune Supergiants
ElseIf cmbteam1.SelectedItem = "Pune Supergiants" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("MS Dhoni")
cmbbestbowler.Items.Add("MS Dhoni")
cmbbestbowler.Items.Add("Faf du plesis")
cmbbestbatter1.Items.Add("Faf du Plesis")
cmbbestbowler.Items.Add("Kevin Pietersen")
cmbbestbatter1.Items.Add("Kevin Pietersen")
cmbbestbowler.Items.Add("Steve Smith")
cmbbestbatter1.Items.Add("Steve Smith")
cmbbestbowler.Items.Add("Mitchell Marsh")
cmbbestbatter1.Items.Add("Mitchell Marsh")
cmbbestbowler.Items.Add("RP Singh")
cmbbestbatter1.Items.Add("RP Singh")
cmbbestbowler.Items.Add("Peter Handscomb")
cmbbestbatter1.Items.Add("Peter Handscomb")
cmbbestbowler.Items.Add("Ishwar Pandey")
cmbbestbatter1.Items.Add("Ishwar Pandey")
cmbbestbowler.Items.Add("Ankit Sharma")
cmbbestbatter1.Items.Add("Ankit Sharma")
cmbbestbowler.Items.Add("Adam Zampa")
cmbbestbatter1.Items.Add("Adam Zampa")
cmbbestbowler.Items.Add("Scott Boland")
cmbbestbatter1.Items.Add("Scott Boland")
'Royal Challengers Bangalore
ElseIf cmbteam1.SelectedItem = "Royal Challengers Bangalore" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Virat Kohli")
cmbbestbatter1.Items.Add("Virat Kohli")
cmbbestbowler.Items.Add("AB Devilliers")
cmbbestbatter1.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("Shane Watson")
cmbbestbatter1.Items.Add("Shane Watson")
cmbbestbowler.Items.Add("Safraz Khan")
cmbbestbatter1.Items.Add("Safraz Khan")
43
cmbbestbowler.Items.Add("Harshal Patel")
cmbbestbatter1.Items.Add("Harshal Patel")
cmbbestbowler.Items.Add("Praveen Dubbey")
cmbbestbatter1.Items.Add("Praveen Dubbey")
cmbbestbowler.Items.Add("Ashkay Karnewar")
cmbbestbatter1.Items.Add("Ashkay Karnewar")
cmbbestbowler.Items.Add("Vikramjeet Malik")
cmbbestbatter1.Items.Add("Vikramjeet Malik")
cmbbestbowler.Items.Add("Kane Richardson")
cmbbestbatter1.Items.Add("Kane Richardson")
cmbbestbowler.Items.Add("Mitchell Starc")
cmbbestbatter1.Items.Add("Mitchell Starc")
' Kings XI Punjab
ElseIf cmbteam1.SelectedItem = "Kings XI Punjab" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Miller")
cmbbestbowler.Items.Add("David Miller")
cmbbestbowler.Items.Add("Marcus Stoinis")
cmbbestbatter1.Items.Add("Marcus Stoinis")
cmbbestbowler.Items.Add("Shaun Marsh")
cmbbestbatter1.Items.Add("Shaun Marsh")
cmbbestbowler.Items.Add("Glenn Maxwell")
cmbbestbatter1.Items.Add("Glenn Maxwell")
cmbbestbowler.Items.Add("Shardul Thakur")
cmbbestbatter1.Items.Add("Shardul Thakur")
cmbbestbowler.Items.Add("Murali Vijay")
cmbbestbatter1.Items.Add("Murali Vijay")
cmbbestbowler.Items.Add("Akshar Patel")
cmbbestbatter1.Items.Add("Akshar Patel")
cmbbestbowler.Items.Add("Anureet Singh")
cmbbestbatter1.Items.Add("Anureet Singh")
cmbbestbowler.Items.Add("Mitchell Johnson")
cmbbestbatter1.Items.Add("Mitchell Johnson")
cmbbestbowler.Items.Add("Kyle Abbott")
cmbbestbatter1.Items.Add("Kyle Abott")
cmbbestbowler.Items.Add("Pradeep Sahu")
cmbbestbatter1.Items.Add("Pradeep Sahu")
'Australia T20
ElseIf cmbteam1.SelectedItem = "Australia T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Warner")
cmbbestbowler.Items.Add("David Warner")
cmbbestbowler.Items.Add("Usman Khawaja")
cmbbestbatter1.Items.Add("Usman Khawaja")
cmbbestbowler.Items.Add("Shane Watson")
cmbbestbatter1.Items.Add("Shane Watson")
cmbbestbowler.Items.Add("Glenn Maxwell")
cmbbestbatter1.Items.Add("Glenn Maxwell")
cmbbestbowler.Items.Add("Steve Smith")
cmbbestbatter1.Items.Add("Steve Smith")
cmbbestbowler.Items.Add("Peter Nevill")
cmbbestbatter1.Items.Add("Peter Nevill")
cmbbestbowler.Items.Add("John Hastings")
cmbbestbatter1.Items.Add("John Hastings")
cmbbestbowler.Items.Add("James Faulkner")
cmbbestbatter1.Items.Add("James Faulkner")
cmbbestbowler.Items.Add("Adam Zampa")
cmbbestbatter1.Items.Add("Adam Zampa")
44
cmbbestbowler.Items.Add("Nathan Coulter Nile")
cmbbestbatter1.Items.Add("Nathan Coulter Nile")
cmbbestbowler.Items.Add("Josh Hazlewood")
cmbbestbatter1.Items.Add("Josh Hazlewood")
'South Africa T20
ElseIf cmbteam1.SelectedItem = "South Africa T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("Hashim Amla")
cmbbestbatter1.Items.Add("Hashim Amla")
cmbbestbowler.Items.Add("David Miller")
cmbbestbatter1.Items.Add("David Miller")
cmbbestbowler.Items.Add("Faf Du Plesis")
cmbbestbatter1.Items.Add("Faf Du Plesis")
cmbbestbowler.Items.Add("Quinton De Kock")
cmbbestbatter1.Items.Add("Quinton De Kock")
cmbbestbowler.Items.Add("Farhaan Behardien")
cmbbestbatter1.Items.Add("Farhaan Behardien")
cmbbestbowler.Items.Add("Kyle Abbott")
cmbbestbatter1.Items.Add("Kyle Abbott")
cmbbestbowler.Items.Add("David Wiese")
cmbbestbatter1.Items.Add("David Wiese")
cmbbestbowler.Items.Add("Chris Morris")
cmbbestbatter1.Items.Add("Chris Morris")
cmbbestbowler.Items.Add("Imran Tahir")
cmbbestbatter1.Items.Add("Imran Tahir")
cmbbestbowler.Items.Add("Dale Steyn")
cmbbestbatter1.Items.Add("Dale Steyn")
' Sri Lanka T20
ElseIf cmbteam1.SelectedItem = "Sri Lanka T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Angelo Matthews")
cmbbestbowler.Items.Add("Angelo Matthews")
cmbbestbowler.Items.Add("Dinesh Chandimal")
cmbbestbatter1.Items.Add("Dinesh Chandimal")
cmbbestbowler.Items.Add("Shehan Jaysuria")
cmbbestbatter1.Items.Add("Shehan Jaysuria")
cmbbestbowler.Items.Add("Tillakaratne Dishlan")
cmbbestbatter1.Items.Add("Tillakaratne Dishlan")
cmbbestbowler.Items.Add("Milinda Siriwandana")
cmbbestbatter1.Items.Add("Milinda Siriwandana")
cmbbestbowler.Items.Add("Rangana Herath")
cmbbestbatter1.Items.Add("Rangana Herath")
cmbbestbowler.Items.Add("Suranaga Lakmal")
cmbbestbatter1.Items.Add("Suranaga Lakmal")
cmbbestbowler.Items.Add("Nuwan Kulasekara")
cmbbestbatter1.Items.Add("Nuwan Kulasekara")
cmbbestbowler.Items.Add("Lahiru Thirimanne")
cmbbestbatter1.Items.Add("Lahiru Thirimanne")
cmbbestbowler.Items.Add("Dasun Shanaka")
cmbbestbatter1.Items.Add("Dasun Shanaka")
cmbbestbowler.Items.Add("Lasith Malinga")
cmbbestbatter1.Items.Add("Lasith Malinga")
' England T20
ElseIf cmbteam1.SelectedItem = "England T20" Then
45
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Alex Hales")
cmbbestbatter1.Items.Add("Alex Hales")
cmbbestbowler.Items.Add("Joe Root")
cmbbestbatter1.Items.Add("Joe Root")
cmbbestbowler.Items.Add("Eoin Morgan")
cmbbestbatter1.Items.Add("Eoin Morgan")
cmbbestbowler.Items.Add("Ben Stokes")
cmbbestbatter1.Items.Add("Ben Stokes")
cmbbestbowler.Items.Add("Jason Roy")
cmbbestbatter1.Items.Add("Jason Roy")
cmbbestbowler.Items.Add("Sam Billings")
cmbbestbatter1.Items.Add("Sam Billings")
cmbbestbowler.Items.Add("David Willey")
cmbbestbatter1.Items.Add("David Willey")
cmbbestbowler.Items.Add("Chris Jordan")
cmbbestbatter1.Items.Add("Chris Jordan")
cmbbestbowler.Items.Add("Liam Plunkett")
cmbbestbatter1.Items.Add("Liam Plunkett")
cmbbestbowler.Items.Add("Adil Rashid")
cmbbestbatter1.Items.Add("Adil Rashid")
'Bangledesh T20
ElseIf cmbteam1.SelectedItem = "Bangledesh T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Mashrafe Mortaza")
cmbbestbowler.Items.Add("Mashrafe Mortaza")
cmbbestbowler.Items.Add("Abu Hider")
cmbbestbatter1.Items.Add("Abu Hider")
cmbbestbowler.Items.Add("Mahmullah")
cmbbestbatter1.Items.Add("Mahmullah")
cmbbestbowler.Items.Add("Mushfiqur Rahim")
cmbbestbatter1.Items.Add("Mushfiqur Rahim")
cmbbestbowler.Items.Add("Nasir Hossain")
cmbbestbatter1.Items.Add("Nasir Hossain")
cmbbestbowler.Items.Add("Sabhir Rahman")
cmbbestbatter1.Items.Add("Sabhir Rahman")
cmbbestbowler.Items.Add("Tanim Iqbal")
cmbbestbatter1.Items.Add("Tanim Iqbal")
cmbbestbowler.Items.Add("Saqlain Sajib")
cmbbestbatter1.Items.Add("Saqlain Sajib")
cmbbestbowler.Items.Add("Al-Amin Hossain")
cmbbestbatter1.Items.Add("Al-Amin Hossaimn")
cmbbestbowler.Items.Add("Nurul Hasan")
cmbbestbatter1.Items.Add("Nurul Hasan")
cmbbestbowler.Items.Add("Muktar Ali")
cmbbestbatter1.Items.Add("Muktar Ali")
'New Zealand T20
ElseIf cmbteam1.SelectedItem = "New Zealand T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Kane Williamson")
cmbbestbatter1.Items.Add("Kane Williamson")
cmbbestbowler.Items.Add("Ross Taylor")
46
cmbbestbatter1.Items.Add("Ross Taylor")
cmbbestbowler.Items.Add("Henry Nicholls")
cmbbestbatter1.Items.Add("Henry Nicholls")
cmbbestbowler.Items.Add("Corey Anderson")
cmbbestbatter1.Items.Add("Corey Anderson")
cmbbestbowler.Items.Add("Luke Ronchi")
cmbbestbatter1.Items.Add("Luke Ronchi")
cmbbestbowler.Items.Add("Grant Elliot")
cmbbestbatter1.Items.Add("Grant Elliot")
cmbbestbowler.Items.Add("Nathan McCullum")
cmbbestbatter1.Items.Add("Nathan McCullum")
cmbbestbowler.Items.Add("Ish Sodhi")
cmbbestbatter1.Items.Add("Ish Sodhi")
cmbbestbowler.Items.Add("Tim Southee")
cmbbestbatter1.Items.Add("Tim Southee")
cmbbestbowler.Items.Add("Trent Boult")
cmbbestbatter1.Items.Add("Trent Boult")
'Pakistan T20
ElseIf cmbteam1.SelectedItem = "Pakistan T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Anwar Ali")
cmbbestbowler.Items.Add("Anwar Ali")
cmbbestbowler.Items.Add("Mohammed Hafeez")
cmbbestbatter1.Items.Add("Mohammed Hafeez")
cmbbestbowler.Items.Add("Khalid Latif")
cmbbestbatter1.Items.Add("Khalid latif")
cmbbestbowler.Items.Add("Shoaib Malik")
cmbbestbatter1.Items.Add("Shoaib Malik")
cmbbestbowler.Items.Add("Shahid Afridi")
cmbbestbatter1.Items.Add("Shahid Afridi")
cmbbestbowler.Items.Add("Ahmed Shezad")
cmbbestbatter1.Items.Add("Ahmed Shezad")
cmbbestbowler.Items.Add("Imad Wasim")
cmbbestbatter1.Items.Add("Imad Wasim")
cmbbestbowler.Items.Add("Mohammed Ifran")
cmbbestbatter1.Items.Add("Mohammed Ifran")
cmbbestbowler.Items.Add("Mohammed Sami")
cmbbestbatter1.Items.Add("Mohammed Sami")
cmbbestbowler.Items.Add("Mohammed Amir")
cmbbestbatter1.Items.Add("Mohammed Amir")
cmbbestbowler.Items.Add("Umar Akmal")
cmbbestbatter1.Items.Add("Umar Akmal")
'Zimbabwe T20
ElseIf cmbteam1.SelectedItem = "Zimbabwe T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Hamilton Masakadaza")
cmbbestbowler.Items.Add("Hamilton Masakadaza")
cmbbestbowler.Items.Add("Chamu Chibhabha")
cmbbestbatter1.Items.Add("Chamu Chibhabha")
cmbbestbowler.Items.Add("Tendai Chisoro")
cmbbestbatter1.Items.Add("Tendai Chisoro")
cmbbestbowler.Items.Add("Peter Moor")
cmbbestbatter1.Items.Add("Peter Moor")
cmbbestbowler.Items.Add("Richard Mutumbami")
cmbbestbatter1.Items.Add("Richard Mutumbami")
cmbbestbowler.Items.Add("Vusi Sibanda")
cmbbestbatter1.Items.Add("Vusi Sibanda")
cmbbestbowler.Items.Add("Donald Tiripano")
47
cmbbestbatter1.Items.Add("Donald Tiripano")
cmbbestbowler.Items.Add("Sean Williams")
cmbbestbatter1.Items.Add("Sean Williams")
cmbbestbowler.Items.Add("Tendai Chatara")
cmbbestbatter1.Items.Add("Tendai Chatara")
cmbbestbowler.Items.Add("Elton Chigumbura")
cmbbestbatter1.Items.Add("Elton Chigumbura")
cmbbestbowler.Items.Add("Sikandar Raza")
cmbbestbatter1.Items.Add("Sikandar Raza")
'West Indies T20
ElseIf cmbteam1.SelectedItem = "West Indies T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Carlos Braithwaite")
cmbbestbatter1.Items.Add("Carlos Braithwaite")
cmbbestbowler.Items.Add("Marlon Samuels")
cmbbestbatter1.Items.Add("Marlon Samuels")
cmbbestbowler.Items.Add("Dwayne Bravo")
cmbbestbatter1.Items.Add("Dwayne Bravo")
cmbbestbowler.Items.Add("Andre Russell")
cmbbestbatter1.Items.Add("Andre Russell")
cmbbestbowler.Items.Add("Danesh Ramdin")
cmbbestbatter1.Items.Add("Danesh Ramdin")
cmbbestbowler.Items.Add("Darren Sammy")
cmbbestbatter1.Items.Add("Darren Sammy")
cmbbestbowler.Items.Add("Jason Holder")
cmbbestbatter1.Items.Add("Jason Holder")
cmbbestbowler.Items.Add("Sulieman Benn")
cmbbestbatter1.Items.Add("Sulieman Benn")
cmbbestbowler.Items.Add("Johnson Charles")
cmbbestbatter1.Items.Add("Johnson Charles")
cmbbestbowler.Items.Add("Jerome Taylor")
cmbbestbatter1.Items.Add("Jerome Taylor")
'India T20
ElseIf cmbteam1.SelectedItem = "India T20" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Rohit Sharma")
cmbbestbatter1.Items.Add("Rohit Sharma")
cmbbestbowler.Items.Add("Virat Kholi")
cmbbestbatter1.Items.Add("Virat Kohli")
cmbbestbowler.Items.Add("Yujraj Singh")
cmbbestbatter1.Items.Add("Yujraj Singh")
cmbbestbowler.Items.Add("MS Dhoni")
cmbbestbatter1.Items.Add("MS Dhoni")
cmbbestbowler.Items.Add("Suresh Raina")
cmbbestbatter1.Items.Add("Suresh Raina")
cmbbestbowler.Items.Add("Ajinkya Rahane")
cmbbestbatter1.Items.Add("Ajinkya Rahane")
cmbbestbowler.Items.Add("Manish Pandey")
cmbbestbatter1.Items.Add("Manish Pandey")
cmbbestbowler.Items.Add("Harbhajan Singh")
cmbbestbatter1.Items.Add("Harbhajan Singh")
cmbbestbowler.Items.Add("Jasprit Bumrah")
cmbbestbatter1.Items.Add("Jasprit Bumrah")
cmbbestbowler.Items.Add("Ravichandran Ashwin")
48
cmbbestbatter1.Items.Add("Ravichandran Ashwin")
'Australia ODI
ElseIf cmbteam1.SelectedItem = "Australia ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Warner")
cmbbestbowler.Items.Add("David Warner")
cmbbestbowler.Items.Add("Aaron Finch")
cmbbestbatter1.Items.Add("Aaron Finch")
cmbbestbowler.Items.Add("Shane Watson")
cmbbestbatter1.Items.Add("Shane Watson")
cmbbestbowler.Items.Add("Glenn Maxwell")
cmbbestbatter1.Items.Add("Glenn Maxwell")
cmbbestbowler.Items.Add("Steve Smith")
cmbbestbatter1.Items.Add("Steve Smith")
cmbbestbowler.Items.Add("Brad Haddin")
cmbbestbatter1.Items.Add("Brad Haddin")
cmbbestbowler.Items.Add("Michael Clarke")
cmbbestbatter1.Items.Add("Michael Clarke")
cmbbestbowler.Items.Add("James Faulkner")
cmbbestbatter1.Items.Add("James Faulkner")
cmbbestbowler.Items.Add("Mitchell Marsh")
cmbbestbatter1.Items.Add("Mitchell Marsh")
cmbbestbowler.Items.Add("Mitchell Starc")
cmbbestbatter1.Items.Add("Mitchell Starc")
cmbbestbowler.Items.Add("Josh Hazlewood")
cmbbestbatter1.Items.Add("Josh Hazlewood")
'South Africa ODI
ElseIf cmbteam1.SelectedItem = "South Africa ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("Hashim Amla")
cmbbestbatter1.Items.Add("Hashim Amla")
cmbbestbowler.Items.Add("David Miller")
cmbbestbatter1.Items.Add("David Miller")
cmbbestbowler.Items.Add("Faf Du Plesis")
cmbbestbatter1.Items.Add("Faf Du Plesis")
cmbbestbowler.Items.Add("Quinton De Kock")
cmbbestbatter1.Items.Add("Quinton De Kock")
cmbbestbowler.Items.Add("JP Duminy")
cmbbestbatter1.Items.Add("JP Duminy")
cmbbestbowler.Items.Add("Kyle Abbott")
cmbbestbatter1.Items.Add("Kyle Abbott")
cmbbestbowler.Items.Add("Rilee Rossuow")
cmbbestbatter1.Items.Add("Rilee Rossuow")
cmbbestbowler.Items.Add("Morne Morkel")
cmbbestbatter1.Items.Add("Morne Morkel")
cmbbestbowler.Items.Add("Imran Tahir")
cmbbestbatter1.Items.Add("Imran Tahir")
cmbbestbowler.Items.Add("Dale Steyn")
cmbbestbatter1.Items.Add("Dale Steyn")
' Sri Lanka ODI
ElseIf cmbteam1.SelectedItem = "Sri Lanka ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
49
cmbbestbatter1.Items.Add("Angelo Matthews")
cmbbestbowler.Items.Add("Angelo Matthews")
cmbbestbowler.Items.Add("Dushmantha Chameera")
cmbbestbatter1.Items.Add("Dushmantha Chameera")
cmbbestbowler.Items.Add("Lahiru Thirimanne")
cmbbestbatter1.Items.Add("Lahiru Thirimanne")
cmbbestbowler.Items.Add("Tillakaratne Dishlan")
cmbbestbatter1.Items.Add("Tillakaratne Dishlan")
cmbbestbowler.Items.Add("Mahela Jayawardene")
cmbbestbatter1.Items.Add("Mahela Jayawardene")
cmbbestbowler.Items.Add("Kumar Sangakara")
cmbbestbatter1.Items.Add("Kumar Sangakara")
cmbbestbowler.Items.Add("Tharindu Kaushal")
cmbbestbatter1.Items.Add("Tharindu Kaushal")
cmbbestbowler.Items.Add("Thisara Perera")
cmbbestbatter1.Items.Add("Thisara Perera")
cmbbestbowler.Items.Add("Kusal Perera")
cmbbestbatter1.Items.Add("Kusal Perera")
cmbbestbowler.Items.Add("Upul Tharanga")
cmbbestbatter1.Items.Add("Upul Tharanga")
cmbbestbowler.Items.Add("Lasith Malinga")
cmbbestbatter1.Items.Add("Lasith Malinga")
' England ODI
ElseIf cmbteam1.SelectedItem = "England ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Alex Hales")
cmbbestbatter1.Items.Add("Alex Hales")
cmbbestbowler.Items.Add("Joe Root")
cmbbestbatter1.Items.Add("Joe Root")
cmbbestbowler.Items.Add("Eoin Morgan")
cmbbestbatter1.Items.Add("Eoin Morgan")
cmbbestbowler.Items.Add("Ben Stokes")
cmbbestbatter1.Items.Add("Ben Stokes")
cmbbestbowler.Items.Add("Jason Roy")
cmbbestbatter1.Items.Add("Jason Roy")
cmbbestbowler.Items.Add("James Anderson")
cmbbestbatter1.Items.Add("James Anderson")
cmbbestbowler.Items.Add("Ravi Bopara")
cmbbestbatter1.Items.Add("Ravi Bopara")
cmbbestbowler.Items.Add("Chris Jordan")
cmbbestbatter1.Items.Add("Chris Jordan")
cmbbestbowler.Items.Add("Stuart Broad")
cmbbestbatter1.Items.Add("Stuart Broad")
cmbbestbowler.Items.Add("Stuart Finn")
cmbbestbatter1.Items.Add("Stuart Finn")
'Bangledesh ODI
ElseIf cmbteam1.SelectedItem = "Bangledesh ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Imrul Keyes")
cmbbestbowler.Items.Add("Imrul Keyes")
cmbbestbowler.Items.Add("Mahmudullah")
cmbbestbatter1.Items.Add("Mahmudullah")
cmbbestbowler.Items.Add("Arafat Sunny")
cmbbestbatter1.Items.Add("Arafat Sunny")
cmbbestbowler.Items.Add("Mashrafe Mortaza")
cmbbestbatter1.Items.Add("Mashrafe Mortaza")
50
cmbbestbowler.Items.Add("Sabbir Rahman")
cmbbestbatter1.Items.Add("Sabbir Rahman")
cmbbestbowler.Items.Add("Mushfiqur Rahim")
cmbbestbatter1.Items.Add("Mushfiqur Rahim")
cmbbestbowler.Items.Add("Tanim Iqbal")
cmbbestbatter1.Items.Add("Tanim Iqbal")
cmbbestbowler.Items.Add("Sabbir Hossain")
cmbbestbatter1.Items.Add("Sabbir Hossain")
cmbbestbowler.Items.Add("Nasir Hossain")
cmbbestbatter1.Items.Add("Nasir Hossain")
cmbbestbowler.Items.Add("Tajul Islam")
cmbbestbatter1.Items.Add("Tajul Islam")
cmbbestbowler.Items.Add("Taskin Ahmed")
cmbbestbatter1.Items.Add("Taskin Ahmed")
'New Zealand ODI
ElseIf cmbteam1.SelectedItem = "New Zealand ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Kane Williamson")
cmbbestbatter1.Items.Add("Kane Williamson")
cmbbestbowler.Items.Add("Ross Taylor")
cmbbestbatter1.Items.Add("Ross Taylor")
cmbbestbowler.Items.Add("Brendon McCullum")
cmbbestbatter1.Items.Add("Brendon McCullum")
cmbbestbowler.Items.Add("Corey Anderson")
cmbbestbatter1.Items.Add("Corey Anderson")
cmbbestbowler.Items.Add("Luke Ronchi")
cmbbestbatter1.Items.Add("Luke Ronchi")
cmbbestbowler.Items.Add("Grant Elliot")
cmbbestbatter1.Items.Add("Grant Elliot")
cmbbestbowler.Items.Add("Nathan McCullum")
cmbbestbatter1.Items.Add("Nathan McCullum")
cmbbestbowler.Items.Add("Daniel Vettori")
cmbbestbatter1.Items.Add("Daniel Vettori")
cmbbestbowler.Items.Add("Tim Southee")
cmbbestbatter1.Items.Add("Tim Southee")
cmbbestbowler.Items.Add("Trent Boult")
cmbbestbatter1.Items.Add("Trent Boult")
'Pakistan ODI
ElseIf cmbteam1.SelectedItem = "Pakistan ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Misbah-ul-Haq")
cmbbestbowler.Items.Add("Misbah-ul-Haq")
cmbbestbowler.Items.Add("Safraz Ahmed")
cmbbestbatter1.Items.Add("Safraz Ahmed")
cmbbestbowler.Items.Add("Umar Akmal")
cmbbestbatter1.Items.Add("Umar Akmal")
cmbbestbowler.Items.Add("Haris Sohail")
cmbbestbatter1.Items.Add("Haris Sohail")
cmbbestbowler.Items.Add("Shahid Afridi")
cmbbestbatter1.Items.Add("Shahid Afridi")
cmbbestbowler.Items.Add("Rahat Ali")
cmbbestbatter1.Items.Add("Rahat Ali")
cmbbestbowler.Items.Add("Eshan Adil")
cmbbestbatter1.Items.Add("Eshan Adil")
cmbbestbowler.Items.Add("Sohail Khan")
cmbbestbatter1.Items.Add("Sohail Khan")
51
cmbbestbowler.Items.Add("Sohaib Maqsood")
cmbbestbatter1.Items.Add("Sohaib Maqsood")
cmbbestbowler.Items.Add("Wahab Riaz")
cmbbestbatter1.Items.Add("Wahab Riaz")
cmbbestbowler.Items.Add("Younis Khan")
cmbbestbatter1.Items.Add("Younis Khan")
'Zimbabwe ODI
ElseIf cmbteam1.SelectedItem = "Zimbabwe ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Elton Chigumbura")
cmbbestbowler.Items.Add("Elton Chigumbura")
cmbbestbowler.Items.Add("Regis Chakabva")
cmbbestbatter1.Items.Add("Regis Chakabva")
cmbbestbowler.Items.Add("Brendon Taylor")
cmbbestbatter1.Items.Add("Brendon Taylor")
cmbbestbowler.Items.Add("Craig Ervine")
cmbbestbatter1.Items.Add("Craig Ervine")
cmbbestbowler.Items.Add("Solomon Mire")
cmbbestbatter1.Items.Add("Solomon Mire")
cmbbestbowler.Items.Add("Chamu Chibhabha")
cmbbestbatter1.Items.Add("Chamu Chibhabha")
cmbbestbowler.Items.Add("Chamu Chibhabha")
cmbbestbatter1.Items.Add("Chamu Chibhabha")
cmbbestbowler.Items.Add("Sean Williams")
cmbbestbatter1.Items.Add("Sean Williams")
cmbbestbowler.Items.Add("Stuart Matiksikenyeri")
cmbbestbatter1.Items.Add("Stuart Matiksikenyeri")
cmbbestbowler.Items.Add("Hamilton Masakadaza")
cmbbestbatter1.Items.Add("Hamilton Masakadaza")
cmbbestbowler.Items.Add("Sikandar Raza")
cmbbestbatter1.Items.Add("Sikandar Raza")
'West Indies ODI
ElseIf cmbteam1.SelectedItem = "West Indies ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Chris Gayle")
cmbbestbowler.Items.Add("Dwayne Smith")
cmbbestbatter1.Items.Add("Dwayne Smith")
cmbbestbowler.Items.Add("Marlon Samuels")
cmbbestbatter1.Items.Add("Marlon Samuels")
cmbbestbowler.Items.Add("Danesh Ramdin")
cmbbestbatter1.Items.Add("Danesh Ramdin")
cmbbestbowler.Items.Add("Jason Holder")
cmbbestbatter1.Items.Add("Jason Holder")
cmbbestbowler.Items.Add("Andre Russell")
cmbbestbatter1.Items.Add("Andre Russell")
cmbbestbowler.Items.Add("Darren Sammy")
cmbbestbatter1.Items.Add("Darren Sammy")
cmbbestbowler.Items.Add("Nikita Simmons")
cmbbestbatter1.Items.Add("Nikita Simmons")
cmbbestbowler.Items.Add("Lendl Simmons")
cmbbestbatter1.Items.Add("Lendl Simmons")
cmbbestbowler.Items.Add("Kemar Roach")
cmbbestbatter1.Items.Add("Kemar Roach")
cmbbestbowler.Items.Add("Jerome Taylor")
cmbbestbatter1.Items.Add("Jerome Taylor")
52
'India ODI
ElseIf cmbteam1.SelectedItem = "India ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Rohit Sharma")
cmbbestbatter1.Items.Add("Rohit Sharma")
cmbbestbowler.Items.Add("Virat Kholi")
cmbbestbatter1.Items.Add("Virat Kohli")
cmbbestbowler.Items.Add("Suresh Raina")
cmbbestbatter1.Items.Add("Suresh Raina")
cmbbestbowler.Items.Add("MS Dhoni")
cmbbestbatter1.Items.Add("MS Dhoni")
cmbbestbowler.Items.Add("Axar Patel")
cmbbestbatter1.Items.Add("Axar Patel")
cmbbestbowler.Items.Add("Ajinkya Rahane")
cmbbestbatter1.Items.Add("Ajinkya Rahane")
cmbbestbowler.Items.Add("Ravindra Jadeja")
cmbbestbatter1.Items.Add("Ravindra Jadeja")
cmbbestbowler.Items.Add("Stuart Binny")
cmbbestbatter1.Items.Add("Stuart Binny")
cmbbestbowler.Items.Add("Mohammed Shami")
cmbbestbatter1.Items.Add("Mohammed Shami")
cmbbestbowler.Items.Add("Ravichandran Ashwin")
cmbbestbatter1.Items.Add("Ravichandran Ashwin")
'Australia Test
ElseIf cmbteam1.SelectedItem = "Australia ODI" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("David Warner")
cmbbestbowler.Items.Add("David Warner")
cmbbestbowler.Items.Add("Joe Burns")
cmbbestbatter1.Items.Add("Joe Burns")
cmbbestbowler.Items.Add("Usman Khwaja")
cmbbestbatter1.Items.Add("Shane Watson")
cmbbestbowler.Items.Add("Adam Voges")
cmbbestbatter1.Items.Add("Adam Voges")
cmbbestbowler.Items.Add("Steve Smith")
cmbbestbatter1.Items.Add("Steve Smith")
cmbbestbowler.Items.Add("Jackson Bird")
cmbbestbatter1.Items.Add("Jackson Bird")
cmbbestbowler.Items.Add("Peter Neville")
cmbbestbatter1.Items.Add("Peter Neville")
cmbbestbowler.Items.Add("Nathan Lyon")
cmbbestbatter1.Items.Add("Nathan Lyon")
cmbbestbowler.Items.Add("Mitchell Marsh")
cmbbestbatter1.Items.Add("Mitchell Marsh")
cmbbestbowler.Items.Add("Mitchell Starc")
cmbbestbatter1.Items.Add("Mitchell Starc")
cmbbestbowler.Items.Add("Josh Hazlewood")
cmbbestbatter1.Items.Add("Josh Hazlewood")
'South Africa Test
ElseIf cmbteam1.SelectedItem = "South Africa Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("AB Devilliers")
53
cmbbestbowler.Items.Add("AB Devilliers")
cmbbestbowler.Items.Add("Hashim Amla")
cmbbestbatter1.Items.Add("Hashim Amla")
cmbbestbowler.Items.Add("Stiaan van Zyl")
cmbbestbatter1.Items.Add("Stiaan van Zyl")
cmbbestbowler.Items.Add("Faf Du Plesis")
cmbbestbatter1.Items.Add("Faf Du Plesis")
cmbbestbowler.Items.Add("Dane Vilas")
cmbbestbatter1.Items.Add("Dane Vilas")
cmbbestbowler.Items.Add("JP Duminy")
cmbbestbatter1.Items.Add("JP Duminy")
cmbbestbowler.Items.Add("Kyle Abbott")
cmbbestbatter1.Items.Add("Kyle Abbott")
cmbbestbowler.Items.Add("Kagiso Rabada")
cmbbestbatter1.Items.Add("Kagiso Rabada")
cmbbestbowler.Items.Add("Morne Morkel")
cmbbestbatter1.Items.Add("Morne Morkel")
cmbbestbowler.Items.Add("Imran Tahir")
cmbbestbatter1.Items.Add("Imran Tahir")
cmbbestbowler.Items.Add("Dale Steyn")
cmbbestbatter1.Items.Add("Dale Steyn")
' Sri Lanka Test
ElseIf cmbteam1.SelectedItem = "Sri Lanka Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Dimuth Karunaratne")
cmbbestbowler.Items.Add("Dimuth Karunaratne")
cmbbestbowler.Items.Add("Lahiru Thirimanne")
cmbbestbatter1.Items.Add("Lahiru Thirimanne")
cmbbestbowler.Items.Add("Dinesh Chandimal")
cmbbestbatter1.Items.Add("Dinesh Chandimal")
cmbbestbowler.Items.Add("Kusal Perera")
cmbbestbatter1.Items.Add("Kusal Perera")
cmbbestbowler.Items.Add("Angelo Mathews")
cmbbestbatter1.Items.Add("Angelo Mathews")
cmbbestbowler.Items.Add("Milinda Siriwardana")
cmbbestbatter1.Items.Add("Milinda Siriwardana")
cmbbestbowler.Items.Add("Dasun Shanaka")
cmbbestbatter1.Items.Add("Dasun Shanaka")
cmbbestbowler.Items.Add("Suranga Lakmal")
cmbbestbatter1.Items.Add("Suranga Lakmal")
cmbbestbowler.Items.Add("Chaminda Bandara")
cmbbestbatter1.Items.Add("Chaminda Bandara")
cmbbestbowler.Items.Add("Nuwan Pradeep")
cmbbestbatter1.Items.Add("Nuwan Pradeep")
cmbbestbowler.Items.Add("Shaminda Eranga")
cmbbestbatter1.Items.Add("Shaminda Eranga")
' England Test
ElseIf cmbteam1.SelectedItem = "England Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Moeen Ali")
cmbbestbowler.Items.Add("Alex Hales")
cmbbestbatter1.Items.Add("Alex Hales")
cmbbestbowler.Items.Add("Joe Root")
cmbbestbatter1.Items.Add("Joe Root")
cmbbestbowler.Items.Add("Alistair Cook")
cmbbestbatter1.Items.Add("Alistair Cook")
cmbbestbowler.Items.Add("Ben Stokes")
54
cmbbestbatter1.Items.Add("Ben Stokes")
cmbbestbowler.Items.Add("Kevin Pietersen")
cmbbestbatter1.Items.Add("Kevin Pietersen")
cmbbestbowler.Items.Add("James Anderson")
cmbbestbatter1.Items.Add("James Anderson")
cmbbestbowler.Items.Add("Jos Butler")
cmbbestbatter1.Items.Add("Jos Butler")
cmbbestbowler.Items.Add("Ian Bell")
cmbbestbatter1.Items.Add("Ian Bell")
cmbbestbowler.Items.Add("Stuart Broad")
cmbbestbatter1.Items.Add("Stuart Broad")
cmbbestbowler.Items.Add("Stuart Finn")
cmbbestbatter1.Items.Add("Stuart Finn")
'Bangledesh Test
ElseIf cmbteam1.SelectedItem = "Bangledesh Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Mushfiqur Rahim")
cmbbestbowler.Items.Add("Mushfiqur Rahim")
cmbbestbowler.Items.Add("Tamim Iqbal")
cmbbestbatter1.Items.Add("Tamim Iqbal")
cmbbestbowler.Items.Add("Imrul Kayes")
cmbbestbatter1.Items.Add("Imrul Kayes")
cmbbestbowler.Items.Add("Mominul Haque")
cmbbestbatter1.Items.Add("Mominul Haque")
cmbbestbowler.Items.Add("Soumya Sarkar")
cmbbestbatter1.Items.Add("Soumya Sarkar")
cmbbestbowler.Items.Add("Shakib Al Hasan")
cmbbestbatter1.Items.Add("Shakib Al Hasan")
cmbbestbowler.Items.Add("Taijul Islam")
cmbbestbatter1.Items.Add("Taijul Islam")
cmbbestbowler.Items.Add("Shuvagata Hom")
cmbbestbatter1.Items.Add("Shuvagata Hom")
cmbbestbowler.Items.Add("Soumya Sarkar")
cmbbestbatter1.Items.Add("Soumya Sarkar")
cmbbestbowler.Items.Add("Mahmudullah")
cmbbestbatter1.Items.Add("Mahmudullah")
cmbbestbowler.Items.Add("Jubair Hossain")
cmbbestbatter1.Items.Add("Jubair Hossain")
'New Zealand Test
ElseIf cmbteam1.SelectedItem = "New Zealand Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Martin Guptill")
cmbbestbowler.Items.Add("Kane Williamson")
cmbbestbatter1.Items.Add("Kane Williamson")
cmbbestbowler.Items.Add("Ross Taylor")
cmbbestbatter1.Items.Add("Ross Taylor")
cmbbestbowler.Items.Add("Brendon McCullum")
cmbbestbatter1.Items.Add("Brendon McCullum")
cmbbestbowler.Items.Add("Corey Anderson")
cmbbestbatter1.Items.Add("Corey Anderson")
cmbbestbowler.Items.Add("Luke Ronchi")
cmbbestbatter1.Items.Add("Luke Ronchi")
cmbbestbowler.Items.Add("Grant Elliot")
cmbbestbatter1.Items.Add("Grant Elliot")
cmbbestbowler.Items.Add("Nathan McCullum")
cmbbestbatter1.Items.Add("Nathan McCullum")
55
cmbbestbowler.Items.Add("Daniel Vettori")
cmbbestbatter1.Items.Add("Daniel Vettori")
cmbbestbowler.Items.Add("Tim Southee")
cmbbestbatter1.Items.Add("Tim Southee")
cmbbestbowler.Items.Add("Trent Boult")
cmbbestbatter1.Items.Add("Trent Boult")
'Pakistan Test
ElseIf cmbteam1.SelectedItem = "Pakistan Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Misbah-ul-Haq")
cmbbestbowler.Items.Add("Misbah-ul-Haq")
cmbbestbowler.Items.Add("Safraz Ahmed")
cmbbestbatter1.Items.Add("Safraz Ahmed")
cmbbestbowler.Items.Add("Ahmed Shehzad")
cmbbestbatter1.Items.Add("Ahmed Shehzad")
cmbbestbowler.Items.Add("Haris Sohail")
cmbbestbatter1.Items.Add("Haris Sohail")
cmbbestbowler.Items.Add("Asad Shafiq")
cmbbestbatter1.Items.Add("Asad Shafiq")
cmbbestbowler.Items.Add("Imran Khan")
cmbbestbatter1.Items.Add("Imran Khan")
cmbbestbowler.Items.Add("Mohammad Hafeez")
cmbbestbatter1.Items.Add("Mohammad Hafeez")
cmbbestbowler.Items.Add("Rahat Ali")
cmbbestbatter1.Items.Add("Rahat Ali")
cmbbestbowler.Items.Add("Sohaib Maqsood")
cmbbestbatter1.Items.Add("Sohaib Maqsood")
cmbbestbowler.Items.Add("Wahab Riaz")
cmbbestbatter1.Items.Add("Wahab Riaz")
cmbbestbowler.Items.Add("Younis Khan")
cmbbestbatter1.Items.Add("Younis Khan")
'Zimbabwe Test
ElseIf cmbteam1.SelectedItem = "Zimbabwe Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Graeme Cremer")
cmbbestbowler.Items.Add("Graeme Cremer")
cmbbestbowler.Items.Add("Hamilton Masakadza")
cmbbestbatter1.Items.Add("Hamilton Masakadza")
cmbbestbowler.Items.Add("Chamu Chibhabha")
cmbbestbatter1.Items.Add("Chamu Chibhabha")
cmbbestbowler.Items.Add("Peter Moor")
cmbbestbatter1.Items.Add("Peter Moor")
cmbbestbowler.Items.Add("Richmond Mutumbami")
cmbbestbatter1.Items.Add("Richmond Mutumbami")
cmbbestbowler.Items.Add("Sean Williams")
cmbbestbatter1.Items.Add("Sean Williams")
cmbbestbowler.Items.Add("Tafadzwa Kamungozi")
cmbbestbatter1.Items.Add("Tafadzwa Kamungozi")
cmbbestbowler.Items.Add("Luke Jongwe")
cmbbestbatter1.Items.Add("Luke Jongwe")
cmbbestbowler.Items.Add("Tendai Chatara")
cmbbestbatter1.Items.Add("Tendai Chatara")
cmbbestbowler.Items.Add("Donald Tiripano")
cmbbestbatter1.Items.Add("Donald Tiripano")
cmbbestbowler.Items.Add("Tawanda Mupariwa")
cmbbestbatter1.Items.Add("Tawanda Mupariwa")
56
'West Indies Test
ElseIf cmbteam1.SelectedItem = "West Indies Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Carlos Brathwaite")
cmbbestbowler.Items.Add("Carlos Brathwaite")
cmbbestbowler.Items.Add("Jermaine Blackwood")
cmbbestbatter1.Items.Add("Jermaine Blackwood")
cmbbestbowler.Items.Add("Marlon Samuels")
cmbbestbatter1.Items.Add("Marlon Samuels")
cmbbestbowler.Items.Add("Danesh Ramdin")
cmbbestbatter1.Items.Add("Danesh Ramdin")
cmbbestbowler.Items.Add("Jason Holder")
cmbbestbatter1.Items.Add("Jason Holder")
cmbbestbowler.Items.Add("Darren Bravo")
cmbbestbatter1.Items.Add("Darren Bravo")
cmbbestbowler.Items.Add("Shane Dowrich")
cmbbestbatter1.Items.Add("Shane Dowrich")
cmbbestbowler.Items.Add("Shannon Gabriel")
cmbbestbatter1.Items.Add("Shannon Gabriel")
cmbbestbowler.Items.Add("Kraigg Braithwaite")
cmbbestbatter1.Items.Add("Kraigg Braithwaite")
cmbbestbowler.Items.Add("Kemar Roach")
cmbbestbatter1.Items.Add("Kemar Roach")
cmbbestbowler.Items.Add("Jerome Taylor")
cmbbestbatter1.Items.Add("Jerome Taylor")
'India Test
ElseIf cmbteam1.SelectedItem = "India Test" Then
cmbbestbatter1.Items.Clear()
cmbbestbowler.Items.Clear()
cmbbestbatter1.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Shikhar Dhawan")
cmbbestbowler.Items.Add("Rohit Sharma")
cmbbestbatter1.Items.Add("Rohit Sharma")
cmbbestbowler.Items.Add("Virat Kholi")
cmbbestbatter1.Items.Add("Virat Kohli")
cmbbestbowler.Items.Add("Suresh Raina")
cmbbestbatter1.Items.Add("Suresh Raina")
cmbbestbowler.Items.Add("Umesh Yadav")
cmbbestbatter1.Items.Add("Umesh Yadav")
cmbbestbowler.Items.Add("Axar Patel")
cmbbestbatter1.Items.Add("Axar Patel")
cmbbestbowler.Items.Add("Ajinkya Rahane")
cmbbestbatter1.Items.Add("Ajinkya Rahane")
cmbbestbowler.Items.Add("Ravindra Jadeja")
cmbbestbatter1.Items.Add("Ravindra Jadeja")
cmbbestbowler.Items.Add("Stuart Binny")
cmbbestbatter1.Items.Add("Stuart Binny")
cmbbestbowler.Items.Add("Ishant Sharma")
cmbbestbatter1.Items.Add("Ishant Sharma")
cmbbestbowler.Items.Add("Ravichandran Ashwin")
cmbbestbatter1.Items.Add("Ravichandran Ashwin")
End If
Catch ex As Exception
End Try
End Sub
57
Private Sub cmbteam2_SelectedIndexChanged(sender As System.Object, e As System.EventArgs)
Handles cmbteam2.SelectedIndexChanged
Try
If cmbteam2.SelectedItem = "Sydney Sixers" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Moses Henriques")
cmbbestbowler2.Items.Add("Moses Henriques")
cmbbestbatter2.Items.Add("Sean Abbott")
cmbbestbowler2.Items.Add("Sean Abbott")
cmbbestbatter2.Items.Add("Doug Bollinger")
cmbbestbowler2.Items.Add("Doug Bollinger")
cmbbestbatter2.Items.Add("Jackson Bird")
cmbbestbowler2.Items.Add("Jackson Bird")
cmbbestbatter2.Items.Add("Johan Botha")
cmbbestbowler2.Items.Add("Johan Botha")
cmbbestbatter2.Items.Add("Ed Cowan")
cmbbestbowler2.Items.Add("Ed Cowan")
cmbbestbatter2.Items.Add("Brad Haddin")
cmbbestbowler2.Items.Add("Brad Haddin")
cmbbestbatter2.Items.Add("Michael Lumb")
cmbbestbowler2.Items.Add("Michael Lumb")
cmbbestbatter2.Items.Add("Nic Maddinson")
cmbbestbowler2.Items.Add("Nic Maddinson")
cmbbestbatter2.Items.Add("Jordan Silk")
cmbbestbowler2.Items.Add("Jordan Silk")
cmbbestbatter2.Items.Add("Ryan Carters")
cmbbestbowler2.Items.Add("Ryan Carters")
ElseIf cmbteam2.SelectedItem = "Sydney Thunder" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Michael Hussey")
cmbbestbowler2.Items.Add("Michael Hussey")
cmbbestbowler2.Items.Add("Usman Khawaja")
cmbbestbatter2.Items.Add("Usman Khawaja")
cmbbestbowler2.Items.Add("Jacques Kallis")
cmbbestbatter2.Items.Add("Jacques Kallis")
cmbbestbowler2.Items.Add("Shane Watson")
cmbbestbatter2.Items.Add("Shane Watson")
cmbbestbowler2.Items.Add("Aiden Blizzard")
cmbbestbatter2.Items.Add("Aiden Blizzard")
cmbbestbatter2.Items.Add("Chris Hartley")
cmbbestbowler2.Items.Add("Chris Hartley")
cmbbestbatter2.Items.Add("Chris Green")
cmbbestbowler2.Items.Add("Chris Green")
cmbbestbatter2.Items.Add("Fawad Ahmed")
cmbbestbowler2.Items.Add("Fawad Ahmed")
cmbbestbatter2.Items.Add("Clint McKay")
cmbbestbowler2.Items.Add("Clint Mckay")
cmbbestbatter2.Items.Add("Ben Rorhrer")
cmbbestbowler2.Items.Add("Ben Rorhrer")
cmbbestbatter2.Items.Add("Andre Russell")
cmbbestbowler2.Items.Add("Andre Russell")
ElseIf cmbteam2.SelectedItem = "Brisbane Heat" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("James Pierson")
58
cmbbestbowler2.Items.Add("James Pierson")
cmbbestbowler2.Items.Add("Nathan Reardon")
cmbbestbatter2.Items.Add("Nathan Reardon")
cmbbestbowler2.Items.Add("Chris Lynn")
cmbbestbatter2.Items.Add("Chris Lynn")
cmbbestbowler2.Items.Add("James Hopes")
cmbbestbatter2.Items.Add("James Hopes")
cmbbestbowler2.Items.Add("Ben Cutting")
cmbbestbatter2.Items.Add("Ben Cutting")
cmbbestbowler2.Items.Add("Joe Burns")
cmbbestbatter2.Items.Add("Joe Burns")
cmbbestbowler2.Items.Add("Luke Feldman")
cmbbestbatter2.Items.Add("Luke Feldman")
cmbbestbowler2.Items.Add("Jason Floros")
cmbbestbatter2.Items.Add("Jason Floros")
cmbbestbowler2.Items.Add("Andrew Fekete")
cmbbestbatter2.Items.Add("Andrew Fekete")
cmbbestbowler2.Items.Add("Samuel Badree")
cmbbestbatter2.Items.Add("Samuel Badree")
cmbbestbowler2.Items.Add("Alex Doolan")
cmbbestbatter2.Items.Add("Alex Doolan")
ElseIf cmbteam2.SelectedItem = "Melbourne Stars" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("David Hussey")
cmbbestbowler2.Items.Add("David Hussey")
cmbbestbowler2.Items.Add("Luke Wright")
cmbbestbatter2.Items.Add("Luke Wright")
cmbbestbowler2.Items.Add("Marcus Stoinis")
cmbbestbatter2.Items.Add("Marcus Stoinis")
cmbbestbowler2.Items.Add("Kevin Pietersen")
cmbbestbatter2.Items.Add("Kevin Pietersen")
cmbbestbowler2.Items.Add("Glenn Maxwell")
cmbbestbatter2.Items.Add("Glenn Maxwell")
cmbbestbowler2.Items.Add("Rob Quiney")
cmbbestbatter2.Items.Add("Rob Quiney")
cmbbestbowler2.Items.Add("James Faulkner")
cmbbestbatter2.Items.Add("James Faulkner")
cmbbestbowler2.Items.Add("Peter Handscomb")
cmbbestbatter2.Items.Add("Peter Handscomb")
cmbbestbowler2.Items.Add("John Hastings")
cmbbestbatter2.Items.Add("John Hastings")
cmbbestbowler2.Items.Add("Samuel Badree")
cmbbestbatter2.Items.Add("Ben Hilfenhaus")
cmbbestbowler2.Items.Add("Adam Zampa")
cmbbestbatter2.Items.Add("Adam Zampa")
ElseIf cmbteam2.SelectedItem = "Melbourne Renegades" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Aaron Finch")
cmbbestbowler2.Items.Add("Aaron Finch")
cmbbestbowler2.Items.Add("Chris Gayle")
cmbbestbatter2.Items.Add("Chris Gayle")
cmbbestbowler2.Items.Add("Cameron White")
cmbbestbatter2.Items.Add("Cameron White")
cmbbestbowler2.Items.Add("Matthew Wade")
cmbbestbatter2.Items.Add("Matthew Wade")
cmbbestbowler2.Items.Add("Tom Beaton")
cmbbestbatter2.Items.Add("Tom Beaton")
cmbbestbowler2.Items.Add("Dwayne Bravo")
cmbbestbatter2.Items.Add("Dwayne Bravo")
cmbbestbowler2.Items.Add("James Faulkner")
59
cmbbestbatter2.Items.Add("Xavier Doherty")
cmbbestbowler2.Items.Add("Xavier Doherty")
cmbbestbatter2.Items.Add("Callum Ferguson")
cmbbestbowler2.Items.Add("Peter Siddle")
cmbbestbatter2.Items.Add("Peter Siddle")
cmbbestbowler2.Items.Add("Chris Tremain")
cmbbestbatter2.Items.Add("Chris Tremain")
cmbbestbowler2.Items.Add("Nathan Rimmington")
cmbbestbatter2.Items.Add("Nathan Rimminington")
ElseIf cmbteam2.SelectedItem = "Perth Scorchers" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Michael Carberry")
cmbbestbowler2.Items.Add("Michael Carberry")
cmbbestbowler2.Items.Add("Michael Klinger")
cmbbestbatter2.Items.Add("Michael Klinger")
cmbbestbowler2.Items.Add("Shaun Marsh")
cmbbestbatter2.Items.Add("Shaun Marsh")
cmbbestbowler2.Items.Add("Mitchell Marsh")
cmbbestbatter2.Items.Add("Mitchell Marsh")
cmbbestbowler2.Items.Add("Marcus Harris")
cmbbestbatter2.Items.Add("Marcus Harris")
cmbbestbowler2.Items.Add("David Willey")
cmbbestbatter2.Items.Add("David Willey")
cmbbestbowler2.Items.Add("Ashton Agar")
cmbbestbatter2.Items.Add("Ashton Agar")
cmbbestbowler2.Items.Add("Brad Hogg")
cmbbestbatter2.Items.Add("Brad Hogg")
cmbbestbowler2.Items.Add("Jason Behrendoff")
cmbbestbatter2.Items.Add("Jason Behrendoff")
cmbbestbowler2.Items.Add("Adam Voges")
cmbbestbatter2.Items.Add("Adam Voges")
cmbbestbowler2.Items.Add("Nathan Coulter Nile")
cmbbestbatter2.Items.Add("Nathan Coulter Nile")
ElseIf cmbteam2.SelectedItem = "Adelaide Strikers" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Brad Hodge")
cmbbestbowler2.Items.Add("Brad Hodge")
cmbbestbowler2.Items.Add("Craig Simmons")
cmbbestbatter2.Items.Add("Craig Simmons")
cmbbestbowler2.Items.Add("Tim Ludeman")
cmbbestbatter2.Items.Add("Tim Ludeman")
cmbbestbowler2.Items.Add("Travis Head")
cmbbestbatter2.Items.Add("Travis Head")
cmbbestbowler2.Items.Add("Alex Ross")
cmbbestbatter2.Items.Add("Alex Ross")
cmbbestbowler2.Items.Add("Miehala Jayawardne")
cmbbestbatter2.Items.Add("Miehala Jayawardne")
cmbbestbowler2.Items.Add("Ben Laughlin")
cmbbestbatter2.Items.Add("Ben Laughlin")
cmbbestbowler2.Items.Add("Kane Richardson")
cmbbestbatter2.Items.Add("Kane Richardson")
cmbbestbowler2.Items.Add("Gary Putland")
cmbbestbatter2.Items.Add("Gary Putland")
cmbbestbowler2.Items.Add("Kelvin Smith")
cmbbestbatter2.Items.Add("Kelvin Smith")
cmbbestbowler2.Items.Add("Keiron Pollard")
cmbbestbatter2.Items.Add("Keiron Pollard")
ElseIf cmbteam2.SelectedItem = "Hobart Hurricanes" Then
cmbbestbatter2.Items.Clear()
60
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Tim Paine")
cmbbestbowler2.Items.Add("Tim Paine")
cmbbestbowler2.Items.Add("Ben Dunk")
cmbbestbatter2.Items.Add("Ben Dunk")
cmbbestbowler2.Items.Add("Kumar Sangakara")
cmbbestbatter2.Items.Add("Kumar Sangakara")
cmbbestbowler2.Items.Add("George Bailey")
cmbbestbatter2.Items.Add("George Bailey")
cmbbestbowler2.Items.Add("Dan Chrisitian")
cmbbestbatter2.Items.Add("Dan Christian")
cmbbestbowler2.Items.Add("Darren Sammy")
cmbbestbatter2.Items.Add("Darren Sammy")
cmbbestbowler2.Items.Add("Clive Rose")
cmbbestbatter2.Items.Add("Clive Rose")
cmbbestbowler2.Items.Add("Shaun Tait")
cmbbestbatter2.Items.Add("Shaun Tait")
cmbbestbowler2.Items.Add("Simon Milenko")
cmbbestbatter2.Items.Add("Simon Milenko")
cmbbestbowler2.Items.Add("Jake Reed")
cmbbestbatter2.Items.Add("Jake Reed")
cmbbestbowler2.Items.Add("Sam Rainbird")
cmbbestbatter2.Items.Add("Sam Rainbird")
' Kolkata Knight Riders
ElseIf cmbteam2.SelectedItem = "Kolkata Knight Riders" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Guatam Ghambir")
cmbbestbowler2.Items.Add("Guatam Ghambir")
cmbbestbowler2.Items.Add("Sheldon Jackson")
cmbbestbatter2.Items.Add("Sheldon Jackson")
cmbbestbowler2.Items.Add("Chris Lynn")
cmbbestbatter2.Items.Add("Chris Lynn")
cmbbestbowler2.Items.Add("Sunil Narine")
cmbbestbatter2.Items.Add("Sunil Narine")
cmbbestbowler2.Items.Add("Andre Russell")
cmbbestbatter2.Items.Add("Andre Russell")
cmbbestbowler2.Items.Add("Piyush Chawla")
cmbbestbatter2.Items.Add("Piyush Chawla")
cmbbestbowler2.Items.Add("Shakib Al Hasan")
cmbbestbatter2.Items.Add("Jason Holder")
cmbbestbowler2.Items.Add("Jason Holder")
cmbbestbatter2.Items.Add("John Hastings")
cmbbestbowler2.Items.Add("John Hastings")
cmbbestbatter2.Items.Add("Morne Morkel")
cmbbestbowler2.Items.Add("Brad Hogg")
cmbbestbatter2.Items.Add("Brad Hogg")
cmbbestbowler2.Items.Add("Morne Morkel")
cmbbestbatter2.Items.Add("Shakib Al Hasan")
' Mumbai Indians
ElseIf cmbteam2.SelectedItem = "Mumbai Indians" Then
cmbbestbatter2.Items.Clear()
cmbbestbowler2.Items.Clear()
cmbbestbatter2.Items.Add("Rohit Sharma")
cmbbestbowler2.Items.Add("Rohit Sharma")
cmbbestbowler2.Items.Add("Corey Anderson")
cmbbestbatter2.Items.Add("Corey Anderson")
cmbbestbowler2.Items.Add("Vinay Kumar")
cmbbestbatter2.Items.Add("Vinay Kumar")
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation
Cricket Scorecard Software Design and Implementation

More Related Content

Similar to Cricket Scorecard Software Design and Implementation

Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano PolitowskiPtidej Team
 
Elg 5100 project report anurag &amp; jayanshu
Elg 5100 project report   anurag &amp; jayanshuElg 5100 project report   anurag &amp; jayanshu
Elg 5100 project report anurag &amp; jayanshuAnurag Das
 
Hrms industrial training report
Hrms industrial training reportHrms industrial training report
Hrms industrial training reportNitesh Dubey
 
Football League Management System Final Year Report
Football League Management System Final Year ReportFootball League Management System Final Year Report
Football League Management System Final Year ReportShahzaib Ibrahim
 
612016 Software Architecture Scope and Goals Scoring Guide.docx
612016 Software Architecture Scope and Goals Scoring Guide.docx612016 Software Architecture Scope and Goals Scoring Guide.docx
612016 Software Architecture Scope and Goals Scoring Guide.docxalinainglis
 
Running head 3D PRINTINGThe development of the 3D system will .docx
Running head  3D PRINTINGThe development of the 3D system will .docxRunning head  3D PRINTINGThe development of the 3D system will .docx
Running head 3D PRINTINGThe development of the 3D system will .docxSUBHI7
 
11.0001www.iiste.org call for paper. quality control solutions for niche mark...
11.0001www.iiste.org call for paper. quality control solutions for niche mark...11.0001www.iiste.org call for paper. quality control solutions for niche mark...
11.0001www.iiste.org call for paper. quality control solutions for niche mark...Alexander Decker
 
Systems development
Systems developmentSystems development
Systems developmentElijah Liu
 
BCA V Sem System design and Implementation
BCA V Sem System design and ImplementationBCA V Sem System design and Implementation
BCA V Sem System design and Implementationgauravgoswami78
 
Management Information Systems – Week 7 Lecture 2Developme.docx
Management Information Systems – Week 7 Lecture 2Developme.docxManagement Information Systems – Week 7 Lecture 2Developme.docx
Management Information Systems – Week 7 Lecture 2Developme.docxcroysierkathey
 
System design and Implementation NOTES.pptx
System design and Implementation NOTES.pptxSystem design and Implementation NOTES.pptx
System design and Implementation NOTES.pptxgauravgoswami78
 
Information system development
Information system developmentInformation system development
Information system developmentDhani Ahmad
 
Password management
Password managementPassword management
Password managementSai Kumar
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptxSnehaDR2
 

Similar to Cricket Scorecard Software Design and Implementation (20)

Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
 
Elg 5100 project report anurag &amp; jayanshu
Elg 5100 project report   anurag &amp; jayanshuElg 5100 project report   anurag &amp; jayanshu
Elg 5100 project report anurag &amp; jayanshu
 
battery pa report.docx
battery pa report.docxbattery pa report.docx
battery pa report.docx
 
Hrms industrial training report
Hrms industrial training reportHrms industrial training report
Hrms industrial training report
 
Football League Management System Final Year Report
Football League Management System Final Year ReportFootball League Management System Final Year Report
Football League Management System Final Year Report
 
612016 Software Architecture Scope and Goals Scoring Guide.docx
612016 Software Architecture Scope and Goals Scoring Guide.docx612016 Software Architecture Scope and Goals Scoring Guide.docx
612016 Software Architecture Scope and Goals Scoring Guide.docx
 
Running head 3D PRINTINGThe development of the 3D system will .docx
Running head  3D PRINTINGThe development of the 3D system will .docxRunning head  3D PRINTINGThe development of the 3D system will .docx
Running head 3D PRINTINGThe development of the 3D system will .docx
 
11.0001www.iiste.org call for paper. quality control solutions for niche mark...
11.0001www.iiste.org call for paper. quality control solutions for niche mark...11.0001www.iiste.org call for paper. quality control solutions for niche mark...
11.0001www.iiste.org call for paper. quality control solutions for niche mark...
 
Systems development
Systems developmentSystems development
Systems development
 
BCA V Sem System design and Implementation
BCA V Sem System design and ImplementationBCA V Sem System design and Implementation
BCA V Sem System design and Implementation
 
Management Information Systems – Week 7 Lecture 2Developme.docx
Management Information Systems – Week 7 Lecture 2Developme.docxManagement Information Systems – Week 7 Lecture 2Developme.docx
Management Information Systems – Week 7 Lecture 2Developme.docx
 
James hall ch 14
James hall ch 14James hall ch 14
James hall ch 14
 
System design and Implementation NOTES.pptx
System design and Implementation NOTES.pptxSystem design and Implementation NOTES.pptx
System design and Implementation NOTES.pptx
 
Information system development
Information system developmentInformation system development
Information system development
 
Password management
Password managementPassword management
Password management
 
Block 1 ms-034 unit-2
Block 1 ms-034 unit-2Block 1 ms-034 unit-2
Block 1 ms-034 unit-2
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptx
 
How To Plan a Software Project
How To Plan a Software ProjectHow To Plan a Software Project
How To Plan a Software Project
 
Tic tac toe game code
Tic tac toe game codeTic tac toe game code
Tic tac toe game code
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
 

Cricket Scorecard Software Design and Implementation

  • 1. 0 n Kinross Wolaroi School Software Design Development YR 12 2016 MAJOR SDD PROJECT Cameron Rasmussen
  • 2. 1 Contents Part 1- Defining and Understanding the Problem 2 Problem Statement 2 Overview of Software and Hardware 2 Discussion of Development Approach 2 Part 2- Planning and Designing the Solution 3 Gnatt Charts 3 System Documentation Overview and Justification 6 Design Tools 6 IPO Chart 6 Context Diagram 8 User Interface Designs 9 Storyboard 16 Data Flow Diagrams 17 Data Dictionaries 18 Structure Chart 19 System Flowchart 19 Part 3- Implementing the Solution 20 Algorithms 20 Source Code 27 User Interface Development 79 User Manual 87 Part 4- Testing and Maintaining the solution 87 Test Plan and Report 87 Maintenance Overview 88 Part 5- Social and Ethical Issues 88 Social and Ethical Issues Overview 88 Justification of Social and Ethical Issues in relation to Major Project 89 Documentation and Project work 89 Learning Journal 89 Project Work, Collaboration, Communication, Organisation and Effort 89
  • 3. 2 Part 1- Defining and Understandingthe Problem Problem Statement At first thinking, I wanted to create a media player. But when I was watching the previous cricket test matches Australia vs. New Zealand, I decided that I wanted to make a program a digital scorecard, from new users to experienced users of scoring. My hypothetical client has asked me to design and produce a functional program to take score of the cricket used from scoring books and other cricket scoring programs to be used to score any type of format of game, from 20/20 to 1 day to test match. The program will require for me to create a part of it where players can be created. What I might find challenging is that the score must be placed as a total score, bowling score and batting score which I may find difficult. My program will require different symbols for certain areas of the program. Overview of Software and Hardware Hardware used will be the computer to be used in Visual Basic, with a computers at school and computer at home, I will be able to work and back the files up on each computer if there's a corrupted program, I am able to go back and used the last saved file to continue on from there. CASE tools towards my project will be a driving factor. The data dictionary will help what is the type and what it does, the system modelling will assist in the organisation of the program and where will each particular part will be placed and what will each function do. The source code must be correct with no errors by the end of the project with each sub in the program to be explained in what the particular area does. Documenting the project through screenshots is one method I will be using and also documenting my progress through Google Blogger blogging every week about my progress and achievements of the week and what I'm having difficulties I may have throughout the project. When tracking the errors, I will debug, using break point to see what the particular code is doing at the runtime. Testing data will assist in what is being tested in the scorecard which will help me to what section is doing what. Discussion of Development Approach Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures and for and while loops. A third area sometimes targeted for improvement is organizational efficacy, which involves the process of setting organizational goals and objectives. Performance improvement at the operational or individual employee level usually involves processes such as statistical quality control. Also called a decision, one of the three basic logic structures in computer programming. The other two logic structures are sequence and loop. In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event. As the strucured appraoch has been used to my project., my project has gone back and forth, starting obviously at planning to design then implementing, maintaining. I had to go back alot to rechange my diagrams and tables as some stuff in the project. The project takes back and forth forcing you to make those key changes. This is only a prototype as I would like to do this with plenty more time but a deadline is required. Compared to other projects mine is a cheap budget compared to projects in large companies developing games, software etc. The larger the project the more people working in the project. The prototype approach would be best suited as another approach as it quick and not alot of documenting is required for the developer.
  • 4. 3 Part 2- Planning and Designing the Solution Gnatt Charts Gnatt Chart Stage 1
  • 7. 6 System Documentation Overview and Justification The importance of having system documentation is to have a relative idea of how the program will be set out. The design tools I have used for the project are the following: IPO Chart, Context Diagram, User Interface designs, Data flow Diagram, Storyboards, Data Dictionairies, structure chart and systems flowchart. These tools are important as these are the tools that keep you on track of the project and always can be reffered to by seeing what must be what. For example in the IPO chart im able to see what should be doing what. A button is clicked that would maybe load a form and the output that its loads the form. This is on of the reasons why design tools are vital. Design Tools IPO Chart Input Process Output frmSplashScreen Load to Login form Loads login Form Logging in Username and login details Create new login details If details not entered Loads Main Menu form Login details saved to fail "Please create user and password" Btnexit Exiting the program Program closed btnHelp Loads Help form Help form loads Btncreategame Load creategame form Create game form Loaded btnplayers Loads players form Players Form loaded btnviewstats Loads view stats form View Stats Loaded txtsearch Search "" team name Search text box "" not typed ion Displays teams with that name "Please type in a teams game" btnsearch Click btn search searching criteria Results displayed btnviwall All results being displayed All gameresults displayed in lstgames Cmdsortdate Sorts date in ascending or descending order Date sorted in ascending or descneding order Btnback Main menu form loading closing view games form Main menu form open, view games form closed Ascending Click ascending putting results Results displayed in ascending
  • 8. 7 in ascending order order Descending Click descneding putting results in descneding order Results displayed in ascending order lstgames Results displayed in listbox Results displayed in listbox Btnsubmit Submits player or game info to file Game or player info saved to file cmbtype Displays different player characteristic Loads palyer characteristic cmbadt Displays domestic t20 sides Domestic t20 sides displayed cmbipl Displays IPL teams IPL teams displayed cmbit20 Displays International T20 sides International T20 sides displayed cmbiodi Displays International ODI sides International ODI sides displayed cmbtest Displays International Test sides International TEST sides displayed cmbgametype Select game type Game type selected dtpdate Select date Date Selected Cmbteams Select teams Teams selected Cmbbestbatters Choose best batters Best batters chosen cmbbestbowlers Choose best bowlers Best bowlers chosen
  • 19. 18 Data Dictionaries Data Item Data Type Format Description Example Username String XXXNNN Given for user deatails Yallah Password String XXXNNN Password for extra security purposes Hommus Date Floating Point yyyy-mm-dd 2016/09/09 Game Type String XXXNNN Type of format played T20 Team String XXXNNN Teams Selected for game Sydney Thunder, Sydney Sixers Best Batter String XXXNNN Best batter of game Michael Hussey Best Bowler String XXXNNN Best bowler of game Jacques Kallis Runs Integer 11111 Runs from best batter 123 Bowling Figures Integer 22222 Best figures from best bowler 3/20 Australian Domestic team String XXXNNN Team selected for the player Perath Scorchers IPL Team String XXXNNN Team selected for the player Mumbai Indians International T20 team String XXXNNN Team selected for the player Australia T20 International ODI team String XXXNNN Team selected for the player Australia ODI International T20Test String XXXNNN Team selected for the player Australia Test USer deatils deatails Data written to Login file when new users login Game Results Record Data written to
  • 20. 19 Game result file when games are created Structure Chart System Flowchart
  • 21. 20 Part 3- Implementing the Solution Algorithms Flowchart Create Game
  • 27. 26 Pseudocode Search Begin Linear Search Let i = 1 Let Found It = false Get Team NAme WHILE FoundIt is false AND i <= number of names IF Team(i) < > RequiredTeam THEN i = i + 1 ELSE Let FoundIt = true ENDIF ENDWHILE IF FoundIt Not THEN Display “Required Team Not found SortDate Begin SelectionSortDate Let EndUnsorted = number of Dates in the array WHILE EndUnsorted > 1 Let i = 1 Let Max = Date (i) Let PosMax = i WHILE i <= EndUnsorted Increment i IF Date (i) > Max THEN Let Max = Date (i) Let PosMax = i
  • 28. 27 ENDIF ENDWHILE Swap (Date (PosMax), Date (EndUnsorted)) Decrement EndUnsorted ENDWHILE END SelectionSortDate Source Code Module1 Imports System.IO Module Module1 Public Structure Login Dim ID As Integer Dim username As String Dim password As String End Structure Public filepath As String = Application.StartupPath Public arrlogin(0) As Login Public Sub LoadLoginFile()
  • 29. 28 'Dim oFile as System.IO.File Dim oRead As System.IO.StreamReader Dim LineIn As String Dim id As Integer = 0 Dim tmp oRead = File.OpenText(filepath & "Login.txt") While oRead.Peek <> -1 LineIn = oRead.ReadLine() If Mid(LineIn, 1, 1) <> "" Then tmp = Split(LineIn, "|") ReDim Preserve arrlogin(UBound(arrlogin) + 1) arrlogin(CInt(tmp(0))).ID = tmp(0) arrlogin(tmp(0)).username = tmp(1) arrlogin(tmp(0)).password = tmp(2) End If End While oRead.Close() 'Msgbox("File Loaded") 'stub End Sub Public Sub SaveLoginfile() Dim sep As Char = "|" Dim writeline As String = "" For i = 0 To UBound(arrlogin) If arrlogin(i).username <> "" Then writeline &= arrlogin(i).ID & sep & arrlogin(i).username & sep & arrlogin(i).password & vbCrLf End If Next File.WriteAllText(filepath & "Login.txt", writeline) End Sub Public Sub CreateLogin(ByVal username As String, ByVal password As String) 'add current login details to login array Dim NextID As Integer = FindNextLoginID() arrlogin(NextID).ID = NextID arrlogin(NextID).username = username arrlogin(NextID).password = password End Sub Private Function FindNextLoginID() ' sets id for next record + 1 ' sets id for next record + 1 Dim x As Integer = 0 For i = 0 To UBound(arrlogin) If arrlogin(i).ID > x Then x = arrlogin(i).ID End If Next FindNextLoginID = x + 1 End Function 'Mod data for booking Public Structure Players Dim ID As Integer Dim Name As String Dim Surname As String Dim Type As String Dim AustralianDomesticTeam As String Dim IPLTeam As String Dim InternationalT20Team As String Dim InternationalODITeam As String Dim InternationalTestTeam As String Dim BattingAverage As String Dim BowlingAverage As String End Structure Public arrPlayers(0) As Players
  • 30. 29 Public Sub LoadPlayersFile() 'Dim oFile as System.IO.File Dim oRead As System.IO.StreamReader Dim LineIn As String Dim id As Integer = 0 Dim tmp oRead = File.OpenText(filepath & "Players.txt") While oRead.Peek <> -1 LineIn = oRead.ReadLine() If Mid(LineIn, 1, 1) <> "" Then tmp = Split(LineIn, "|") ReDim Preserve arrPlayers(UBound(arrPlayers) + 1) arrPlayers(CInt(tmp(0))).ID = tmp(0) arrPlayers(tmp(0)).Name = tmp(1) arrPlayers(tmp(0)).Surname = tmp(2) arrPlayers(tmp(0)).Type = tmp(3) arrPlayers(tmp(0)).AustralianDomesticTeam = tmp(4) arrPlayers(tmp(0)).IPLTeam = tmp(5) arrPlayers(tmp(0)).InternationalT20Team = tmp(6) arrPlayers(tmp(0)).InternationalODITeam = tmp(7) arrPlayers(tmp(0)).InternationalTestTeam = tmp(8) arrPlayers(tmp(0)).BattingAverage = tmp(9) arrPlayers(tmp(0)).BowlingAverage = tmp(10) End If End While oRead.Close() 'Msgbox("File Loaded") 'stub End Sub Public Sub SavePlayersfile() Dim sep As Char = "|" Dim writeline As String = "" For i = 0 To UBound(arrPlayers) If arrPlayers(i).Name <> "" Then writeline &= arrPlayers(i).ID & sep & arrPlayers(i).Name & sep & arrPlayers(i).Surname & sep & arrPlayers(i).Type & sep & arrPlayers(i).AustralianDomesticTeam & sep & arrPlayers(i).IPLTeam & sep & arrPlayers(i).InternationalT20Team & sep & arrPlayers(i).InternationalODITeam & sep & arrPlayers(i).InternationalTestTeam & sep & arrPlayers(i).BattingAverage & sep & arrPlayers(i).BowlingAverage & vbCrLf End If Next File.WriteAllText(filepath & "Players.txt", writeline) End Sub Private Function FindNextPlayerID() ' sets id for next record + 1 ' sets id for next record + 1 Dim x As Integer = 0 For i = 0 To UBound(arrPlayers) If arrPlayers(i).ID > x Then x = arrPlayers(i).ID End If Next FindNextPlayerID = x + 1 End Function Public Sub CreatePlayer(ByVal Name As String, ByVal Surname As String, ByVal Type As String, ByVal AustralianDomesticTeam As String, ByVal IPLTeam As String, ByVal InternationalT20Team As String, ByVal InternationalODITeam As String, ByVal InternationalTestTeam As String, ByVal BattingAverage As String, ByVal BowlingAverage As String) 'add current Player details to Players array Dim NextID As Integer = FindNextPlayerID() arrPlayers(NextID).ID = NextID arrPlayers(NextID).Name = Name arrPlayers(NextID).Surname = Surname arrPlayers(NextID).Type = Type
  • 31. 30 arrPlayers(NextID).AustralianDomesticTeam = AustralianDomesticTeam arrPlayers(NextID).IPLTeam = IPLTeam arrPlayers(NextID).InternationalT20Team = InternationalT20Team arrPlayers(NextID).InternationalODITeam = InternationalODITeam arrPlayers(NextID).InternationalTestTeam = InternationalTestTeam arrPlayers(NextID).BattingAverage = BattingAverage arrPlayers(NextID).BowlingAverage = BowlingAverage MsgBox("Player created", MsgBoxStyle.Information) End Sub Private Function FindNextIDPlayers() 'sets id for next record + 1 Dim x As Integer = 0 For i = 0 To UBound(arrPlayers) If arrPlayers(i).ID > x Then x = arrPlayers(i).ID End If Next FindNextIDPlayers = x + 1 End Function Public Structure Game Dim ID As Integer Dim DateGame As String Dim Type As String Dim Team1 As String Dim Team2 As String Dim Team1innings As String Dim Bestbatting1 As String Dim BattingRuns1 As String Dim Bestbowling2 As String Dim BowlingFigures2 As String Dim Team2innings As String Dim Bestbatting2 As String Dim BattingRuns2 As String Dim Bestbowling1 As String Dim Bowlingfigures As String End Structure Public arrGames(0) As Game Public Sub LoadGamesFile() 'Dim oFile as System.IO.File Dim oRead As System.IO.StreamReader Dim LineIn As String Dim id As Integer = 0 Dim tmp ' oRead = File.OpenText(filepath & "GameResult.txt") While oRead.Peek <> -1 LineIn = oRead.ReadLine() If Mid(LineIn, 1, 1) <> "" Then tmp = Split(LineIn, "|") ReDim Preserve arrGames(UBound(arrGames) + 1) arrGames(CInt(tmp(0))).ID = tmp(0) arrGames(CInt(tmp(0))).DateGame = tmp(1) arrGames(CInt(tmp(0))).Type = tmp(2) arrGames(CInt(tmp(0))).Team1 = tmp(3) arrGames(CInt(tmp(0))).Team2 = tmp(4) arrGames(CInt(tmp(0))).Team1innings = tmp(5) arrGames(CInt(tmp(0))).Bestbatting1 = tmp(6) arrGames(CInt(tmp(0))).BattingRuns1 = tmp(7) arrGames(CInt(tmp(0))).Bestbowling2 = tmp(8) arrGames(CInt(tmp(0))).BowlingFigures2 = tmp(9) arrGames(CInt(tmp(0))).Team2innings = tmp(10) arrGames(CInt(tmp(0))).Bestbatting2 = tmp(11) arrGames(CInt(tmp(0))).BattingRuns2 = tmp(12)
  • 32. 31 arrGames(CInt(tmp(0))).Bestbowling1 = tmp(13) arrGames(CInt(tmp(0))).Bowlingfigures = tmp(14) End If End While oRead.Close() 'Msgbox("File Loaded") 'stub End Sub Public Sub SaveGamesfile() Dim sep As Char = "|" Dim writeline As String = "" For i = 0 To UBound(arrGames) If arrGames(i).DateGame <> "" Then writeline &= arrGames(i).ID & sep & arrGames(i).DateGame & sep & arrGames(i).Type & sep & arrGames(i).Team1 & sep & arrGames(i).Team2 & sep & arrGames(i).Team1innings & sep & arrGames(i).Bestbatting1 & sep & arrGames(i).BattingRuns1 & sep & arrGames(i).Bestbowling2 & sep & arrGames(i).BowlingFigures2 & sep & arrGames(i).Team2innings & sep & arrGames(i).Bestbatting2 & sep & arrGames(i).BattingRuns2 & sep & arrGames(i).Bestbowling1 & sep & arrGames(i).BowlingFigures2 & vbCrLf End If Next File.WriteAllText(filepath & "GameResult.txt", writeline) End Sub Private Function FindNextGameID() ' sets id for next record + 1 ' sets id for next record + 1 Dim x As Integer = 0 For i = 0 To UBound(arrGames) If arrGames(i).ID > x Then x = arrGames(i).ID End If Next FindNextGameID = x + 1 End Function Public Sub CreateGame(ByVal DateGame As Date, ByVal Type As String, ByVal Team1 As String, ByVal Team2 As String, ByVal Team1innings As String, ByVal Bestbatting1 As String, ByVal BattingRuns1 As String, ByVal Bestbowling2 As String, ByVal BowlingFigures2 As String, ByVal Team2innings As String, ByVal Bestbatting2 As String, ByVal BattingRuns2 As String, ByVal Bestbowling1 As String, Bowlingfigures As String) 'add current result details to gameresult array LoadGamesFile() Dim NextID As Integer = FindNextGameID() arrGames(NextID).ID = NextID arrGames(NextID).DateGame = Format("yyyy-MM-d") arrGames(NextID).Team1 = Team1 arrGames(NextID).Team2 = Team2 arrGames(NextID).Team1innings = Team1innings arrGames(NextID).Bestbatting1 = Bestbatting1 arrGames(NextID).BattingRuns1 = BattingRuns1 arrGames(NextID).Bestbowling2 = Bestbowling2 arrGames(NextID).BowlingFigures2 = BowlingFigures2 arrGames(NextID).Team2innings = Team2innings arrGames(NextID).Bestbatting2 = Bestbatting2 arrGames(NextID).BattingRuns2 = BattingRuns2 arrGames(NextID).Bestbowling1 = Bestbowling1 arrGames(NextID).Bowlingfigures = Bowlingfigures MsgBox("Game created", MsgBoxStyle.Information) End Sub End Module frmSplashScreen
  • 33. 32 Public Class Splash Dim SecondCount As Integer = 0 Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick End Sub Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load SecondCount = 0 Me.Timer1.Interval = 1 * 700 Me.Timer1.Enabled = True End Sub Private Sub Time1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick SecondCount += 1 If SecondCount = 3 Then Me.Timer1.Enabled = False Login.Show() Me.Hide() End If End Sub End Class frmLogin Public Class Login Dim Uname As String Dim Pass As String Private Sub Login_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load 'Open logindata text file and read records into array LoadLoginFile() End Sub Private Sub btnlogin_Click(sender As System.Object, e As System.EventArgs) Handles btnlogin.Click 'Msgbox("go to login section") Dim searchUname As String Dim searchpassword As String Dim found As Boolean = False searchUname = txtuser.Text searchpassword = txtpass.Text If txtuser.Text = "" Then MsgBox("Please enter a username") Exit Sub Else For i = 0 To UBound(arrlogin) If arrlogin(i).username = searchUname And arrlogin(i).password = searchpassword Then found = True MsgBox("login successful") Main_Menu.Show() Me.Hide() End If Next End If If found = False Then
  • 34. 33 MsgBox("Login unsuccessful") txtuser.Text = "" txtpass.Text = "" Exit Sub End If End Sub Private Sub btnexit_Click(sender As System.Object, e As System.EventArgs) Handles btnexit.Click End End Sub Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles btnhelp.Click Help.Show() End Sub Private Sub btnok_Click(sender As System.Object, e As System.EventArgs) Handles btnok.Click If txtnewuser.Text = "" Then MsgBox("You must ensure a new username is entered") ElseIf txtnewpass.Text = txtnewpassconfirm.Text Then CreateLogin(txtnewuser.Text, txtnewpass.Text) SaveLoginfile() grpnewuser.Visible = False txtnewuser.Text = "" txtnewpass.Text = "" txtnewpassconfirm.Text = "" MsgBox("New User created", MsgBoxStyle.Information) Else MsgBox("Please ensure passwords match") txtnewpass.Text = "" txtnewpassconfirm.Text = "" grpnewuser.Visible = False End If End Sub End Class frmMainMenu Public Class Main_Menu Private Sub Main_Menu_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load End Sub Private Sub btnexit_Click(sender As System.Object, e As System.EventArgs) Handles btnexit.Click End End Sub Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles btnhelp.Click Help.Show() End Sub Private Sub btncreategame_Click(sender As System.Object, e As System.EventArgs) Handles btncreategame.Click Game.Show() Me.Hide() End Sub Private Sub btnplayers_Click(sender As System.Object, e As System.EventArgs) Handles btnplayers.Click CreatePlayers.Show() Me.Hide() End Sub Private Sub btnviewstats_Click(sender As System.Object, e As System.EventArgs) Handles btnviewstats.Click
  • 35. 34 ViewGames.Show() Me.Hide() End Sub End Class frmCreatePlayers Public Class CreatePlayers Dim GivenName As String Dim Surname As String Dim Type As String Dim AustralianDomesticTeam As String Dim IPLTeam As String Dim InternationalT20Team As String Dim InternationalODITeam As String Dim InternationalTestTeam As String Dim BattingAverage As String Dim BowlingAverage As String Private Sub CreatePlayers_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load LoadPlayersFile() End Sub Private Sub btnsubmit_Click(sender As System.Object, e As System.EventArgs) Handles btnsubmit.Click CreatePlayer(txtsurname.Text, txtname.Text, cmbtype.Text, cmbadt.Text, cmbipl.Text, cmbit20.Text, cmbiodi.Text, cmbtest.Text, txtbattingaverage.Text, txtbowlingaverage.Text) SavePlayersfile() Main_Menu.Show() Me.Hide() End Sub Private Sub btnhelp_Click(sender As System.Object, e As System.EventArgs) Handles btnhelp.Click Help.Show() End Sub End Class frmCreateGame Public Class Game Private Sub Game_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load LoadGamesFile() cmbgametype.Items.Add("T20") cmbgametype.Items.Add("ODI") cmbgametype.Items.Add("Test") End Sub Private Sub btnsubmit_Click(sender As System.Object, e As System.EventArgs) Handles btnsubmit.Click CreateGame(dtpdate.Text, cmbgametype.Text, cmbteam1.Text, cmbteam2.Text, txtbattingtotal1.Text, cmbbestbatter1.Text, txtbestbatterruns1.Text, cmbbestbowler2.Text, txtbestbowlerfigure2.Text, txtbattingtotal2.Text, cmbbestbatter2.Text, txtbestbatterruns2.Text, cmbbestbowler.Text, txtbestbowlingfigure1.Text) SaveGamesfile() Main_Menu.Show() Me.Hide() End Sub Private Sub cmbgametype_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbgametype.SelectedIndexChanged
  • 36. 35 Try If cmbgametype.SelectedIndex = 0 Then cmbteam1.Items.Clear() cmbteam1.Items.Add("Sydney Sixers") cmbteam1.Items.Add("Sydney Thunder") cmbteam1.Items.Add("Brisbane Heat") cmbteam1.Items.Add("Melbourne Stars") cmbteam1.Items.Add("Melbourne Renegades") cmbteam1.Items.Add("Perth Scorchers") cmbteam1.Items.Add("Adelaide Strikers") cmbteam1.Items.Add("Hobart Hurricanes") cmbteam1.Items.Add("Kolkata Knight Riders") cmbteam1.Items.Add("Mumbai Indians") cmbteam1.Items.Add("Sunrisers Hyperbad") cmbteam1.Items.Add("Dehli Daredevils") cmbteam1.Items.Add("Gujarat Lions") cmbteam1.Items.Add("Pune Supergiants") cmbteam1.Items.Add("Royal Challengers Bangalore") cmbteam1.Items.Add("Kings XI Punjab") cmbteam1.Items.Add("Australia T20") cmbteam1.Items.Add("South Africa T20") cmbteam1.Items.Add("Sri Lanka T20") cmbteam1.Items.Add("England T20") cmbteam1.Items.Add("Bangledesh T20") cmbteam1.Items.Add("New Zealand T20") cmbteam1.Items.Add("Pakistan T20") cmbteam1.Items.Add("Zimbabwe T20") cmbteam1.Items.Add("West Indies T20") cmbteam1.Items.Add("India T20") cmbteam2.Items.Clear() cmbteam2.Items.Add("Sydney Sixers") cmbteam2.Items.Add("Sydney Thunder") cmbteam2.Items.Add("Brisbane Heat") cmbteam2.Items.Add("Melbourne Stars") cmbteam2.Items.Add("Melbourne Renegades") cmbteam2.Items.Add("Perth Scorchers") cmbteam2.Items.Add("Adelaide Strikers") cmbteam2.Items.Add("Kolkata Knight Riders") cmbteam2.Items.Add("Mumbai Indians") cmbteam2.Items.Add("Sunrisers Hyperbad") cmbteam2.Items.Add("Dehli Daredevils") cmbteam2.Items.Add("Gujarat Lions") cmbteam2.Items.Add("Pune Supergiants") cmbteam2.Items.Add("Royal Challengers Bangalore") cmbteam2.Items.Add("Kings XI Punjab") cmbteam2.Items.Add("Australia T20") cmbteam2.Items.Add("South Africa T20") cmbteam2.Items.Add("Sri Lanka T20") cmbteam2.Items.Add("England T20") cmbteam2.Items.Add("Bangledesh T20") cmbteam2.Items.Add("New Zealand") cmbteam2.Items.Add("Pakistan T20") cmbteam2.Items.Add("Zimbabwe T20") cmbteam2.Items.Add("West Indies T20") cmbteam2.Items.Add("India T20") ElseIf cmbgametype.SelectedIndex = 1 Then cmbteam1.Items.Clear() cmbteam1.Items.Add("Australia ODI") cmbteam1.Items.Add("South Africa ODI") cmbteam1.Items.Add("Sri Lanka ODI") cmbteam1.Items.Add("England ODI") cmbteam1.Items.Add("Bangledesh ODI") cmbteam1.Items.Add("New Zealand ODI")
  • 37. 36 cmbteam1.Items.Add("Pakistan ODI") cmbteam1.Items.Add("Zimbabwe ODI") cmbteam1.Items.Add("West Indies ODI") cmbteam1.Items.Add("India ODI") cmbteam2.Items.Clear() cmbteam2.Items.Add("Australia ODI") cmbteam2.Items.Add("South Africa ODI") cmbteam2.Items.Add("Sri Lanka ODI") cmbteam2.Items.Add("England ODI") cmbteam2.Items.Add("Bangledesh ODI") cmbteam2.Items.Add("New Zealand ODI") cmbteam2.Items.Add("Pakistan ODI") cmbteam2.Items.Add("Zimbabwe ODI") cmbteam2.Items.Add("West Indies ODI") cmbteam2.Items.Add("India ODI") ElseIf cmbgametype.SelectedIndex = 2 Then cmbteam1.Items.Clear() cmbteam1.Items.Add("Australia Test") cmbteam1.Items.Add("South Africa Test") cmbteam1.Items.Add("Sri Lanka Test") cmbteam1.Items.Add("England Test") cmbteam1.Items.Add("Bangledesh Test") cmbteam1.Items.Add("New Zealand Test") cmbteam1.Items.Add("Pakistan Test") cmbteam1.Items.Add("Zimbabwe Test") cmbteam1.Items.Add("West Indies Test") cmbteam1.Items.Add("India Test") cmbteam2.Items.Clear() cmbteam2.Items.Add("Australia Test") cmbteam2.Items.Add("South Africa Test") cmbteam2.Items.Add("Sri Lanka Test") cmbteam2.Items.Add("England Test") cmbteam2.Items.Add("Bangledesh Test") cmbteam2.Items.Add("New Zealand Test") cmbteam2.Items.Add("Pakistan Test") cmbteam2.Items.Add("Zimbabwe Test") cmbteam2.Items.Add("West Indies Test") cmbteam2.Items.Add("India Test") End If Catch ex As Exception End Try End Sub Private Sub cmbteam1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbteam1.SelectedIndexChanged Try If cmbteam1.SelectedItem = "Sydney Sixers" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Moses Henriques") cmbbestbowler.Items.Add("Moses Henriques") cmbbestbatter1.Items.Add("Sean Abbott") cmbbestbowler.Items.Add("Sean Abbott") cmbbestbatter1.Items.Add("Doug Bollinger") cmbbestbowler.Items.Add("Doug Bollinger") cmbbestbatter1.Items.Add("Jackson Bird") cmbbestbowler.Items.Add("Jackson Bird")
  • 38. 37 cmbbestbatter1.Items.Add("Johan Botha") cmbbestbowler.Items.Add("Johan Botha") cmbbestbatter1.Items.Add("Ed Cowan") cmbbestbowler.Items.Add("Ed Cowan") cmbbestbatter1.Items.Add("Brad Haddin") cmbbestbowler.Items.Add("Brad Haddin") cmbbestbatter1.Items.Add("Michael Lumb") cmbbestbowler.Items.Add("Michael Lumb") cmbbestbatter1.Items.Add("Nic Maddinson") cmbbestbowler.Items.Add("Nic Maddinson") cmbbestbatter1.Items.Add("Jordan Silk") cmbbestbowler.Items.Add("Jordan Silk") cmbbestbatter1.Items.Add("Ryan Carters") cmbbestbowler.Items.Add("Ryan Carters") ElseIf cmbteam1.SelectedItem = "Sydney Thunder" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Michael Hussey") cmbbestbowler.Items.Add("Michael Hussey") cmbbestbowler.Items.Add("Usman Khawaja") cmbbestbatter1.Items.Add("Usman Khawaja") cmbbestbowler.Items.Add("Jacques Kallis") cmbbestbatter1.Items.Add("Jacques Kallis") cmbbestbowler.Items.Add("Shane Watson") cmbbestbatter1.Items.Add("Shane Watson") cmbbestbowler.Items.Add("Aiden Blizzard") cmbbestbatter1.Items.Add("Aiden Blizzard") cmbbestbatter1.Items.Add("Chris Hartley") cmbbestbowler.Items.Add("Chris Hartley") cmbbestbatter1.Items.Add("Chris Green") cmbbestbowler.Items.Add("Chris Green") cmbbestbatter1.Items.Add("Fawad Ahmed") cmbbestbowler.Items.Add("Fawad Ahmed") cmbbestbatter1.Items.Add("Clint McKay") cmbbestbowler.Items.Add("Clint Mckay") cmbbestbatter1.Items.Add("Ben Rorhrer") cmbbestbowler.Items.Add("Ben Rorhrer") cmbbestbatter1.Items.Add("Andre Russell") cmbbestbowler.Items.Add("Andre Russell") ElseIf cmbteam1.SelectedItem = "Brisbane Heat" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("James Pierson") cmbbestbowler.Items.Add("James Pierson") cmbbestbowler.Items.Add("Nathan Reardon") cmbbestbatter1.Items.Add("Nathan Reardon") cmbbestbowler.Items.Add("Chris Lynn") cmbbestbatter1.Items.Add("Chris Lynn") cmbbestbowler.Items.Add("James Hopes") cmbbestbatter1.Items.Add("James Hopes") cmbbestbowler.Items.Add("Ben Cutting") cmbbestbatter1.Items.Add("Ben Cutting") cmbbestbowler.Items.Add("Joe Burns") cmbbestbatter1.Items.Add("Joe Burns") cmbbestbowler.Items.Add("Luke Feldman") cmbbestbatter1.Items.Add("Luke Feldman") cmbbestbowler.Items.Add("Jason Floros") cmbbestbatter1.Items.Add("Jason Floros") cmbbestbowler.Items.Add("Andrew Fekete") cmbbestbatter1.Items.Add("Andrew Fekete")
  • 39. 38 cmbbestbowler.Items.Add("Samuel Badree") cmbbestbatter1.Items.Add("Samuel Badree") cmbbestbowler.Items.Add("Alex Doolan") cmbbestbatter1.Items.Add("Alex Doolan") ElseIf cmbteam1.SelectedItem = "Melbourne Stars" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Hussey") cmbbestbowler.Items.Add("David Hussey") cmbbestbowler.Items.Add("Luke Wright") cmbbestbatter1.Items.Add("Luke Wright") cmbbestbowler.Items.Add("Marcus Stoinis") cmbbestbatter1.Items.Add("Marcus Stoinis") cmbbestbowler.Items.Add("Kevin Pietersen") cmbbestbatter1.Items.Add("Kevin Pietersen") cmbbestbowler.Items.Add("Glenn Maxwell") cmbbestbatter1.Items.Add("Glenn Maxwell") cmbbestbowler.Items.Add("Rob Quiney") cmbbestbatter1.Items.Add("Rob Quiney") cmbbestbowler.Items.Add("James Faulkner") cmbbestbatter1.Items.Add("James Faulkner") cmbbestbowler.Items.Add("Peter Handscomb") cmbbestbatter1.Items.Add("Peter Handscomb") cmbbestbowler.Items.Add("John Hastings") cmbbestbatter1.Items.Add("John Hastings") cmbbestbowler.Items.Add("Samuel Badree") cmbbestbatter1.Items.Add("Ben Hilfenhaus") cmbbestbowler.Items.Add("Adam Zampa") cmbbestbatter1.Items.Add("Adam Zampa") ElseIf cmbteam1.SelectedItem = "Melbourne Renegades" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Aaron Finch") cmbbestbowler.Items.Add("Aaron Finch") cmbbestbowler.Items.Add("Chris Gayle") cmbbestbatter1.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Cameron White") cmbbestbatter1.Items.Add("Cameron White") cmbbestbowler.Items.Add("Matthew Wade") cmbbestbatter1.Items.Add("Matthew Wade") cmbbestbowler.Items.Add("Tom Beaton") cmbbestbatter1.Items.Add("Tom Beaton") cmbbestbowler.Items.Add("Dwayne Bravo") cmbbestbatter1.Items.Add("Dwayne Bravo") cmbbestbowler.Items.Add("James Faulkner") cmbbestbatter1.Items.Add("Xavier Doherty") cmbbestbowler.Items.Add("Xavier Doherty") cmbbestbatter1.Items.Add("Callum Ferguson") cmbbestbowler.Items.Add("Peter Siddle") cmbbestbatter1.Items.Add("Peter Siddle") cmbbestbowler.Items.Add("Chris Tremain") cmbbestbatter1.Items.Add("Chris Tremain") cmbbestbowler.Items.Add("Nathan Rimmington") cmbbestbatter1.Items.Add("Nathan Rimminington") ElseIf cmbteam1.SelectedItem = "Perth Scorchers" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Michael Carberry") cmbbestbowler.Items.Add("Michael Carberry") cmbbestbowler.Items.Add("Michael Klinger")
  • 40. 39 cmbbestbatter1.Items.Add("Michael Klinger") cmbbestbowler.Items.Add("Shaun Marsh") cmbbestbatter1.Items.Add("Shaun Marsh") cmbbestbowler.Items.Add("Mitchell Marsh") cmbbestbatter1.Items.Add("Mitchell Marsh") cmbbestbowler.Items.Add("Marcus Harris") cmbbestbatter1.Items.Add("Marcus Harris") cmbbestbowler.Items.Add("David Willey") cmbbestbatter1.Items.Add("David Willey") cmbbestbowler.Items.Add("Ashton Agar") cmbbestbatter1.Items.Add("Ashton Agar") cmbbestbowler.Items.Add("Brad Hogg") cmbbestbatter1.Items.Add("Brad Hogg") cmbbestbowler.Items.Add("Jason Behrendoff") cmbbestbatter1.Items.Add("Jason Behrendoff") cmbbestbowler.Items.Add("Adam Voges") cmbbestbatter1.Items.Add("Adam Voges") cmbbestbowler.Items.Add("Nathan Coulter Nile") cmbbestbatter1.Items.Add("Nathan Coulter Nile") ElseIf cmbteam1.SelectedItem = "Adelaide Strikers" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Brad Hodge") cmbbestbowler.Items.Add("Brad Hodge") cmbbestbowler.Items.Add("Craig Simmons") cmbbestbatter1.Items.Add("Craig Simmons") cmbbestbowler.Items.Add("Tim Ludeman") cmbbestbatter1.Items.Add("Tim Ludeman") cmbbestbowler.Items.Add("Travis Head") cmbbestbatter1.Items.Add("Travis Head") cmbbestbowler.Items.Add("Alex Ross") cmbbestbatter1.Items.Add("Alex Ross") cmbbestbowler.Items.Add("Miehala Jayawardne") cmbbestbatter1.Items.Add("Miehala Jayawardne") cmbbestbowler.Items.Add("Ben Laughlin") cmbbestbatter1.Items.Add("Ben Laughlin") cmbbestbowler.Items.Add("Kane Richardson") cmbbestbatter1.Items.Add("Kane Richardson") cmbbestbowler.Items.Add("Gary Putland") cmbbestbatter1.Items.Add("Gary Putland") cmbbestbowler.Items.Add("Kelvin Smith") cmbbestbatter1.Items.Add("Kelvin Smith") cmbbestbowler.Items.Add("Keiron Pollard") cmbbestbatter1.Items.Add("Keiron Pollard") ElseIf cmbteam1.SelectedItem = "Hobart Hurricanes" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Tim Paine") cmbbestbowler.Items.Add("Tim Paine") cmbbestbowler.Items.Add("Ben Dunk") cmbbestbatter1.Items.Add("Ben Dunk") cmbbestbowler.Items.Add("Kumar Sangakara") cmbbestbatter1.Items.Add("Kumar Sangakara") cmbbestbowler.Items.Add("George Bailey") cmbbestbatter1.Items.Add("George Bailey") cmbbestbowler.Items.Add("Dan Chrisitian") cmbbestbatter1.Items.Add("Dan Christian") cmbbestbowler.Items.Add("Darren Sammy") cmbbestbatter1.Items.Add("Darren Sammy") cmbbestbowler.Items.Add("Clive Rose") cmbbestbatter1.Items.Add("Clive Rose") cmbbestbowler.Items.Add("Shaun Tait")
  • 41. 40 cmbbestbatter1.Items.Add("Shaun Tait") cmbbestbowler.Items.Add("Simon Milenko") cmbbestbatter1.Items.Add("Simon Milenko") cmbbestbowler.Items.Add("Jake Reed") cmbbestbatter1.Items.Add("Jake Reed") cmbbestbowler.Items.Add("Sam Rainbird") cmbbestbatter1.Items.Add("Sam Rainbird") ' Kolkata Knight Riders ElseIf cmbteam1.SelectedItem = "Kolkata Knight Riders" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Guatam Ghambir") cmbbestbowler.Items.Add("Guatam Ghambir") cmbbestbowler.Items.Add("Sheldon Jackson") cmbbestbatter1.Items.Add("Sheldon Jackson") cmbbestbowler.Items.Add("Chris Lynn") cmbbestbatter1.Items.Add("Chris Lynn") cmbbestbowler.Items.Add("Sunil Narine") cmbbestbatter1.Items.Add("Sunil Narine") cmbbestbowler.Items.Add("Andre Russell") cmbbestbatter1.Items.Add("Andre Russell") cmbbestbowler.Items.Add("Piyush Chawla") cmbbestbatter1.Items.Add("Piyush Chawla") cmbbestbowler.Items.Add("Shakib Al Hasan") cmbbestbatter1.Items.Add("Jason Holder") cmbbestbowler.Items.Add("Jason Holder") cmbbestbatter1.Items.Add("John Hastings") cmbbestbowler.Items.Add("John Hastings") cmbbestbatter1.Items.Add("Morne Morkel") cmbbestbowler.Items.Add("Brad Hogg") cmbbestbatter1.Items.Add("Brad Hogg") cmbbestbowler.Items.Add("Morne Morkel") cmbbestbatter1.Items.Add("Shakib Al Hasan") ' Mumbai Indians ElseIf cmbteam1.SelectedItem = "Mumbai Indians" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Rohit Sharma") cmbbestbowler.Items.Add("Rohit Sharma") cmbbestbowler.Items.Add("Corey Anderson") cmbbestbatter1.Items.Add("Corey Anderson") cmbbestbowler.Items.Add("Vinay Kumar") cmbbestbatter1.Items.Add("Vinay Kumar") cmbbestbowler.Items.Add("Jos Butler") cmbbestbatter1.Items.Add("Jos Butler") cmbbestbowler.Items.Add("Nitish Rana") cmbbestbatter1.Items.Add("Nitish Rana") cmbbestbowler.Items.Add("Keiron Pollard") cmbbestbatter1.Items.Add("Keiron Pollard") cmbbestbowler.Items.Add("Harbhajan Singh") cmbbestbatter1.Items.Add("Harbhajan Singh") cmbbestbowler.Items.Add("Jasprit Bumrah") cmbbestbatter1.Items.Add("Jasprit Bumrah") cmbbestbowler.Items.Add("Lasith Malinga") cmbbestbatter1.Items.Add("Lasith Malinga") cmbbestbowler.Items.Add("Tim Southee") cmbbestbatter1.Items.Add("Tim Southee") cmbbestbowler.Items.Add("Jitesh Sharma") cmbbestbatter1.Items.Add("Jitesh Sharma")
  • 42. 41 ' Sunrisers Hyperbad ElseIf cmbteam1.SelectedItem = "Sunrisers Hyperbad" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Warner") cmbbestbowler.Items.Add("David Warner") cmbbestbowler.Items.Add("Eoin Morgan") cmbbestbatter1.Items.Add("Eoin Morgan") cmbbestbowler.Items.Add("Kane Williamson") cmbbestbatter1.Items.Add("Kane Williamson") cmbbestbowler.Items.Add("Yuvraj Singh") cmbbestbatter1.Items.Add("Yuvjraj Singh") cmbbestbowler.Items.Add("Moses Henriques") cmbbestbatter1.Items.Add("Moses Henriques") cmbbestbowler.Items.Add("Ricky Bhui") cmbbestbatter1.Items.Add("Ricky Bhui") cmbbestbowler.Items.Add("Ashish Nehra") cmbbestbatter1.Items.Add("Ashish Nehra") cmbbestbowler.Items.Add("Ben Cutting") cmbbestbatter1.Items.Add("Ben Cutting") cmbbestbowler.Items.Add("Trent Boult") cmbbestbatter1.Items.Add("Trent Boult") cmbbestbowler.Items.Add("Vijay Shankar") cmbbestbatter1.Items.Add("Vijay Shankar") cmbbestbowler.Items.Add("Shikhar Dhawan") cmbbestbatter1.Items.Add("Shikhar Dhawan") ' Dehli Daredevils ElseIf cmbteam1.SelectedItem = "Dehli Daredevlis" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Quinton De Kock") cmbbestbowler.Items.Add("Quinton De Kock") cmbbestbowler.Items.Add("Amit Mishra") cmbbestbatter1.Items.Add("Amit Mishra") cmbbestbowler.Items.Add("JP Duminy") cmbbestbatter1.Items.Add("JP Duminy") cmbbestbowler.Items.Add("Travis Head") cmbbestbatter1.Items.Add("Travis Head") cmbbestbowler.Items.Add("Mohammed Shami") cmbbestbatter1.Items.Add("Mohammed Shami") cmbbestbowler.Items.Add("Zaheer Khan") cmbbestbatter1.Items.Add("Zaheer Khan") cmbbestbowler.Items.Add("Carlos Braithwaite") cmbbestbatter1.Items.Add("Carlos Braithwaite") cmbbestbowler.Items.Add("Nathan Coulter Nile") cmbbestbatter1.Items.Add("Nathan Coulter Nile") cmbbestbowler.Items.Add("Joel Paris") cmbbestbatter1.Items.Add("Joel Paris") cmbbestbowler.Items.Add("Pawan Suyal") cmbbestbatter1.Items.Add("Pawan Suyal") cmbbestbowler.Items.Add("Albie Morkel") cmbbestbatter1.Items.Add("Albie Morkel") 'Gujarat Lions ElseIf cmbteam1.SelectedItem = "Gujarat Lions" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Brendon McCullum") cmbbestbowler.Items.Add("Brendon McCullum")
  • 43. 42 cmbbestbowler.Items.Add("Aaron Finch") cmbbestbatter1.Items.Add("Aaron Finch") cmbbestbowler.Items.Add("Suresh Raina") cmbbestbatter1.Items.Add("Suresh Raina") cmbbestbowler.Items.Add("Dwayne Smith") cmbbestbatter1.Items.Add("Dwayne Smith") cmbbestbowler.Items.Add("Ishan Kishan") cmbbestbatter1.Items.Add("Ishan Kishan") cmbbestbowler.Items.Add("James Faulkner") cmbbestbatter1.Items.Add("James Faulkner") cmbbestbowler.Items.Add("Aksh Deep Nath") cmbbestbatter1.Items.Add("Aksh Deep Nath") cmbbestbowler.Items.Add("Andrew Tye") cmbbestbatter1.Items.Add("Andrew Tye") cmbbestbowler.Items.Add("Dale Steyn") cmbbestbatter1.Items.Add("Dale Steyn") cmbbestbowler.Items.Add("Umang Sharma") cmbbestbatter1.Items.Add("Umang Sharm") cmbbestbowler.Items.Add("Praveen Kumar") cmbbestbatter1.Items.Add("Praveen Kumar") 'Pune Supergiants ElseIf cmbteam1.SelectedItem = "Pune Supergiants" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("MS Dhoni") cmbbestbowler.Items.Add("MS Dhoni") cmbbestbowler.Items.Add("Faf du plesis") cmbbestbatter1.Items.Add("Faf du Plesis") cmbbestbowler.Items.Add("Kevin Pietersen") cmbbestbatter1.Items.Add("Kevin Pietersen") cmbbestbowler.Items.Add("Steve Smith") cmbbestbatter1.Items.Add("Steve Smith") cmbbestbowler.Items.Add("Mitchell Marsh") cmbbestbatter1.Items.Add("Mitchell Marsh") cmbbestbowler.Items.Add("RP Singh") cmbbestbatter1.Items.Add("RP Singh") cmbbestbowler.Items.Add("Peter Handscomb") cmbbestbatter1.Items.Add("Peter Handscomb") cmbbestbowler.Items.Add("Ishwar Pandey") cmbbestbatter1.Items.Add("Ishwar Pandey") cmbbestbowler.Items.Add("Ankit Sharma") cmbbestbatter1.Items.Add("Ankit Sharma") cmbbestbowler.Items.Add("Adam Zampa") cmbbestbatter1.Items.Add("Adam Zampa") cmbbestbowler.Items.Add("Scott Boland") cmbbestbatter1.Items.Add("Scott Boland") 'Royal Challengers Bangalore ElseIf cmbteam1.SelectedItem = "Royal Challengers Bangalore" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Virat Kohli") cmbbestbatter1.Items.Add("Virat Kohli") cmbbestbowler.Items.Add("AB Devilliers") cmbbestbatter1.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("Shane Watson") cmbbestbatter1.Items.Add("Shane Watson") cmbbestbowler.Items.Add("Safraz Khan") cmbbestbatter1.Items.Add("Safraz Khan")
  • 44. 43 cmbbestbowler.Items.Add("Harshal Patel") cmbbestbatter1.Items.Add("Harshal Patel") cmbbestbowler.Items.Add("Praveen Dubbey") cmbbestbatter1.Items.Add("Praveen Dubbey") cmbbestbowler.Items.Add("Ashkay Karnewar") cmbbestbatter1.Items.Add("Ashkay Karnewar") cmbbestbowler.Items.Add("Vikramjeet Malik") cmbbestbatter1.Items.Add("Vikramjeet Malik") cmbbestbowler.Items.Add("Kane Richardson") cmbbestbatter1.Items.Add("Kane Richardson") cmbbestbowler.Items.Add("Mitchell Starc") cmbbestbatter1.Items.Add("Mitchell Starc") ' Kings XI Punjab ElseIf cmbteam1.SelectedItem = "Kings XI Punjab" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Miller") cmbbestbowler.Items.Add("David Miller") cmbbestbowler.Items.Add("Marcus Stoinis") cmbbestbatter1.Items.Add("Marcus Stoinis") cmbbestbowler.Items.Add("Shaun Marsh") cmbbestbatter1.Items.Add("Shaun Marsh") cmbbestbowler.Items.Add("Glenn Maxwell") cmbbestbatter1.Items.Add("Glenn Maxwell") cmbbestbowler.Items.Add("Shardul Thakur") cmbbestbatter1.Items.Add("Shardul Thakur") cmbbestbowler.Items.Add("Murali Vijay") cmbbestbatter1.Items.Add("Murali Vijay") cmbbestbowler.Items.Add("Akshar Patel") cmbbestbatter1.Items.Add("Akshar Patel") cmbbestbowler.Items.Add("Anureet Singh") cmbbestbatter1.Items.Add("Anureet Singh") cmbbestbowler.Items.Add("Mitchell Johnson") cmbbestbatter1.Items.Add("Mitchell Johnson") cmbbestbowler.Items.Add("Kyle Abbott") cmbbestbatter1.Items.Add("Kyle Abott") cmbbestbowler.Items.Add("Pradeep Sahu") cmbbestbatter1.Items.Add("Pradeep Sahu") 'Australia T20 ElseIf cmbteam1.SelectedItem = "Australia T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Warner") cmbbestbowler.Items.Add("David Warner") cmbbestbowler.Items.Add("Usman Khawaja") cmbbestbatter1.Items.Add("Usman Khawaja") cmbbestbowler.Items.Add("Shane Watson") cmbbestbatter1.Items.Add("Shane Watson") cmbbestbowler.Items.Add("Glenn Maxwell") cmbbestbatter1.Items.Add("Glenn Maxwell") cmbbestbowler.Items.Add("Steve Smith") cmbbestbatter1.Items.Add("Steve Smith") cmbbestbowler.Items.Add("Peter Nevill") cmbbestbatter1.Items.Add("Peter Nevill") cmbbestbowler.Items.Add("John Hastings") cmbbestbatter1.Items.Add("John Hastings") cmbbestbowler.Items.Add("James Faulkner") cmbbestbatter1.Items.Add("James Faulkner") cmbbestbowler.Items.Add("Adam Zampa") cmbbestbatter1.Items.Add("Adam Zampa")
  • 45. 44 cmbbestbowler.Items.Add("Nathan Coulter Nile") cmbbestbatter1.Items.Add("Nathan Coulter Nile") cmbbestbowler.Items.Add("Josh Hazlewood") cmbbestbatter1.Items.Add("Josh Hazlewood") 'South Africa T20 ElseIf cmbteam1.SelectedItem = "South Africa T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("Hashim Amla") cmbbestbatter1.Items.Add("Hashim Amla") cmbbestbowler.Items.Add("David Miller") cmbbestbatter1.Items.Add("David Miller") cmbbestbowler.Items.Add("Faf Du Plesis") cmbbestbatter1.Items.Add("Faf Du Plesis") cmbbestbowler.Items.Add("Quinton De Kock") cmbbestbatter1.Items.Add("Quinton De Kock") cmbbestbowler.Items.Add("Farhaan Behardien") cmbbestbatter1.Items.Add("Farhaan Behardien") cmbbestbowler.Items.Add("Kyle Abbott") cmbbestbatter1.Items.Add("Kyle Abbott") cmbbestbowler.Items.Add("David Wiese") cmbbestbatter1.Items.Add("David Wiese") cmbbestbowler.Items.Add("Chris Morris") cmbbestbatter1.Items.Add("Chris Morris") cmbbestbowler.Items.Add("Imran Tahir") cmbbestbatter1.Items.Add("Imran Tahir") cmbbestbowler.Items.Add("Dale Steyn") cmbbestbatter1.Items.Add("Dale Steyn") ' Sri Lanka T20 ElseIf cmbteam1.SelectedItem = "Sri Lanka T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Angelo Matthews") cmbbestbowler.Items.Add("Angelo Matthews") cmbbestbowler.Items.Add("Dinesh Chandimal") cmbbestbatter1.Items.Add("Dinesh Chandimal") cmbbestbowler.Items.Add("Shehan Jaysuria") cmbbestbatter1.Items.Add("Shehan Jaysuria") cmbbestbowler.Items.Add("Tillakaratne Dishlan") cmbbestbatter1.Items.Add("Tillakaratne Dishlan") cmbbestbowler.Items.Add("Milinda Siriwandana") cmbbestbatter1.Items.Add("Milinda Siriwandana") cmbbestbowler.Items.Add("Rangana Herath") cmbbestbatter1.Items.Add("Rangana Herath") cmbbestbowler.Items.Add("Suranaga Lakmal") cmbbestbatter1.Items.Add("Suranaga Lakmal") cmbbestbowler.Items.Add("Nuwan Kulasekara") cmbbestbatter1.Items.Add("Nuwan Kulasekara") cmbbestbowler.Items.Add("Lahiru Thirimanne") cmbbestbatter1.Items.Add("Lahiru Thirimanne") cmbbestbowler.Items.Add("Dasun Shanaka") cmbbestbatter1.Items.Add("Dasun Shanaka") cmbbestbowler.Items.Add("Lasith Malinga") cmbbestbatter1.Items.Add("Lasith Malinga") ' England T20 ElseIf cmbteam1.SelectedItem = "England T20" Then
  • 46. 45 cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Alex Hales") cmbbestbatter1.Items.Add("Alex Hales") cmbbestbowler.Items.Add("Joe Root") cmbbestbatter1.Items.Add("Joe Root") cmbbestbowler.Items.Add("Eoin Morgan") cmbbestbatter1.Items.Add("Eoin Morgan") cmbbestbowler.Items.Add("Ben Stokes") cmbbestbatter1.Items.Add("Ben Stokes") cmbbestbowler.Items.Add("Jason Roy") cmbbestbatter1.Items.Add("Jason Roy") cmbbestbowler.Items.Add("Sam Billings") cmbbestbatter1.Items.Add("Sam Billings") cmbbestbowler.Items.Add("David Willey") cmbbestbatter1.Items.Add("David Willey") cmbbestbowler.Items.Add("Chris Jordan") cmbbestbatter1.Items.Add("Chris Jordan") cmbbestbowler.Items.Add("Liam Plunkett") cmbbestbatter1.Items.Add("Liam Plunkett") cmbbestbowler.Items.Add("Adil Rashid") cmbbestbatter1.Items.Add("Adil Rashid") 'Bangledesh T20 ElseIf cmbteam1.SelectedItem = "Bangledesh T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Mashrafe Mortaza") cmbbestbowler.Items.Add("Mashrafe Mortaza") cmbbestbowler.Items.Add("Abu Hider") cmbbestbatter1.Items.Add("Abu Hider") cmbbestbowler.Items.Add("Mahmullah") cmbbestbatter1.Items.Add("Mahmullah") cmbbestbowler.Items.Add("Mushfiqur Rahim") cmbbestbatter1.Items.Add("Mushfiqur Rahim") cmbbestbowler.Items.Add("Nasir Hossain") cmbbestbatter1.Items.Add("Nasir Hossain") cmbbestbowler.Items.Add("Sabhir Rahman") cmbbestbatter1.Items.Add("Sabhir Rahman") cmbbestbowler.Items.Add("Tanim Iqbal") cmbbestbatter1.Items.Add("Tanim Iqbal") cmbbestbowler.Items.Add("Saqlain Sajib") cmbbestbatter1.Items.Add("Saqlain Sajib") cmbbestbowler.Items.Add("Al-Amin Hossain") cmbbestbatter1.Items.Add("Al-Amin Hossaimn") cmbbestbowler.Items.Add("Nurul Hasan") cmbbestbatter1.Items.Add("Nurul Hasan") cmbbestbowler.Items.Add("Muktar Ali") cmbbestbatter1.Items.Add("Muktar Ali") 'New Zealand T20 ElseIf cmbteam1.SelectedItem = "New Zealand T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Kane Williamson") cmbbestbatter1.Items.Add("Kane Williamson") cmbbestbowler.Items.Add("Ross Taylor")
  • 47. 46 cmbbestbatter1.Items.Add("Ross Taylor") cmbbestbowler.Items.Add("Henry Nicholls") cmbbestbatter1.Items.Add("Henry Nicholls") cmbbestbowler.Items.Add("Corey Anderson") cmbbestbatter1.Items.Add("Corey Anderson") cmbbestbowler.Items.Add("Luke Ronchi") cmbbestbatter1.Items.Add("Luke Ronchi") cmbbestbowler.Items.Add("Grant Elliot") cmbbestbatter1.Items.Add("Grant Elliot") cmbbestbowler.Items.Add("Nathan McCullum") cmbbestbatter1.Items.Add("Nathan McCullum") cmbbestbowler.Items.Add("Ish Sodhi") cmbbestbatter1.Items.Add("Ish Sodhi") cmbbestbowler.Items.Add("Tim Southee") cmbbestbatter1.Items.Add("Tim Southee") cmbbestbowler.Items.Add("Trent Boult") cmbbestbatter1.Items.Add("Trent Boult") 'Pakistan T20 ElseIf cmbteam1.SelectedItem = "Pakistan T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Anwar Ali") cmbbestbowler.Items.Add("Anwar Ali") cmbbestbowler.Items.Add("Mohammed Hafeez") cmbbestbatter1.Items.Add("Mohammed Hafeez") cmbbestbowler.Items.Add("Khalid Latif") cmbbestbatter1.Items.Add("Khalid latif") cmbbestbowler.Items.Add("Shoaib Malik") cmbbestbatter1.Items.Add("Shoaib Malik") cmbbestbowler.Items.Add("Shahid Afridi") cmbbestbatter1.Items.Add("Shahid Afridi") cmbbestbowler.Items.Add("Ahmed Shezad") cmbbestbatter1.Items.Add("Ahmed Shezad") cmbbestbowler.Items.Add("Imad Wasim") cmbbestbatter1.Items.Add("Imad Wasim") cmbbestbowler.Items.Add("Mohammed Ifran") cmbbestbatter1.Items.Add("Mohammed Ifran") cmbbestbowler.Items.Add("Mohammed Sami") cmbbestbatter1.Items.Add("Mohammed Sami") cmbbestbowler.Items.Add("Mohammed Amir") cmbbestbatter1.Items.Add("Mohammed Amir") cmbbestbowler.Items.Add("Umar Akmal") cmbbestbatter1.Items.Add("Umar Akmal") 'Zimbabwe T20 ElseIf cmbteam1.SelectedItem = "Zimbabwe T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Hamilton Masakadaza") cmbbestbowler.Items.Add("Hamilton Masakadaza") cmbbestbowler.Items.Add("Chamu Chibhabha") cmbbestbatter1.Items.Add("Chamu Chibhabha") cmbbestbowler.Items.Add("Tendai Chisoro") cmbbestbatter1.Items.Add("Tendai Chisoro") cmbbestbowler.Items.Add("Peter Moor") cmbbestbatter1.Items.Add("Peter Moor") cmbbestbowler.Items.Add("Richard Mutumbami") cmbbestbatter1.Items.Add("Richard Mutumbami") cmbbestbowler.Items.Add("Vusi Sibanda") cmbbestbatter1.Items.Add("Vusi Sibanda") cmbbestbowler.Items.Add("Donald Tiripano")
  • 48. 47 cmbbestbatter1.Items.Add("Donald Tiripano") cmbbestbowler.Items.Add("Sean Williams") cmbbestbatter1.Items.Add("Sean Williams") cmbbestbowler.Items.Add("Tendai Chatara") cmbbestbatter1.Items.Add("Tendai Chatara") cmbbestbowler.Items.Add("Elton Chigumbura") cmbbestbatter1.Items.Add("Elton Chigumbura") cmbbestbowler.Items.Add("Sikandar Raza") cmbbestbatter1.Items.Add("Sikandar Raza") 'West Indies T20 ElseIf cmbteam1.SelectedItem = "West Indies T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Carlos Braithwaite") cmbbestbatter1.Items.Add("Carlos Braithwaite") cmbbestbowler.Items.Add("Marlon Samuels") cmbbestbatter1.Items.Add("Marlon Samuels") cmbbestbowler.Items.Add("Dwayne Bravo") cmbbestbatter1.Items.Add("Dwayne Bravo") cmbbestbowler.Items.Add("Andre Russell") cmbbestbatter1.Items.Add("Andre Russell") cmbbestbowler.Items.Add("Danesh Ramdin") cmbbestbatter1.Items.Add("Danesh Ramdin") cmbbestbowler.Items.Add("Darren Sammy") cmbbestbatter1.Items.Add("Darren Sammy") cmbbestbowler.Items.Add("Jason Holder") cmbbestbatter1.Items.Add("Jason Holder") cmbbestbowler.Items.Add("Sulieman Benn") cmbbestbatter1.Items.Add("Sulieman Benn") cmbbestbowler.Items.Add("Johnson Charles") cmbbestbatter1.Items.Add("Johnson Charles") cmbbestbowler.Items.Add("Jerome Taylor") cmbbestbatter1.Items.Add("Jerome Taylor") 'India T20 ElseIf cmbteam1.SelectedItem = "India T20" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Rohit Sharma") cmbbestbatter1.Items.Add("Rohit Sharma") cmbbestbowler.Items.Add("Virat Kholi") cmbbestbatter1.Items.Add("Virat Kohli") cmbbestbowler.Items.Add("Yujraj Singh") cmbbestbatter1.Items.Add("Yujraj Singh") cmbbestbowler.Items.Add("MS Dhoni") cmbbestbatter1.Items.Add("MS Dhoni") cmbbestbowler.Items.Add("Suresh Raina") cmbbestbatter1.Items.Add("Suresh Raina") cmbbestbowler.Items.Add("Ajinkya Rahane") cmbbestbatter1.Items.Add("Ajinkya Rahane") cmbbestbowler.Items.Add("Manish Pandey") cmbbestbatter1.Items.Add("Manish Pandey") cmbbestbowler.Items.Add("Harbhajan Singh") cmbbestbatter1.Items.Add("Harbhajan Singh") cmbbestbowler.Items.Add("Jasprit Bumrah") cmbbestbatter1.Items.Add("Jasprit Bumrah") cmbbestbowler.Items.Add("Ravichandran Ashwin")
  • 49. 48 cmbbestbatter1.Items.Add("Ravichandran Ashwin") 'Australia ODI ElseIf cmbteam1.SelectedItem = "Australia ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Warner") cmbbestbowler.Items.Add("David Warner") cmbbestbowler.Items.Add("Aaron Finch") cmbbestbatter1.Items.Add("Aaron Finch") cmbbestbowler.Items.Add("Shane Watson") cmbbestbatter1.Items.Add("Shane Watson") cmbbestbowler.Items.Add("Glenn Maxwell") cmbbestbatter1.Items.Add("Glenn Maxwell") cmbbestbowler.Items.Add("Steve Smith") cmbbestbatter1.Items.Add("Steve Smith") cmbbestbowler.Items.Add("Brad Haddin") cmbbestbatter1.Items.Add("Brad Haddin") cmbbestbowler.Items.Add("Michael Clarke") cmbbestbatter1.Items.Add("Michael Clarke") cmbbestbowler.Items.Add("James Faulkner") cmbbestbatter1.Items.Add("James Faulkner") cmbbestbowler.Items.Add("Mitchell Marsh") cmbbestbatter1.Items.Add("Mitchell Marsh") cmbbestbowler.Items.Add("Mitchell Starc") cmbbestbatter1.Items.Add("Mitchell Starc") cmbbestbowler.Items.Add("Josh Hazlewood") cmbbestbatter1.Items.Add("Josh Hazlewood") 'South Africa ODI ElseIf cmbteam1.SelectedItem = "South Africa ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("Hashim Amla") cmbbestbatter1.Items.Add("Hashim Amla") cmbbestbowler.Items.Add("David Miller") cmbbestbatter1.Items.Add("David Miller") cmbbestbowler.Items.Add("Faf Du Plesis") cmbbestbatter1.Items.Add("Faf Du Plesis") cmbbestbowler.Items.Add("Quinton De Kock") cmbbestbatter1.Items.Add("Quinton De Kock") cmbbestbowler.Items.Add("JP Duminy") cmbbestbatter1.Items.Add("JP Duminy") cmbbestbowler.Items.Add("Kyle Abbott") cmbbestbatter1.Items.Add("Kyle Abbott") cmbbestbowler.Items.Add("Rilee Rossuow") cmbbestbatter1.Items.Add("Rilee Rossuow") cmbbestbowler.Items.Add("Morne Morkel") cmbbestbatter1.Items.Add("Morne Morkel") cmbbestbowler.Items.Add("Imran Tahir") cmbbestbatter1.Items.Add("Imran Tahir") cmbbestbowler.Items.Add("Dale Steyn") cmbbestbatter1.Items.Add("Dale Steyn") ' Sri Lanka ODI ElseIf cmbteam1.SelectedItem = "Sri Lanka ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear()
  • 50. 49 cmbbestbatter1.Items.Add("Angelo Matthews") cmbbestbowler.Items.Add("Angelo Matthews") cmbbestbowler.Items.Add("Dushmantha Chameera") cmbbestbatter1.Items.Add("Dushmantha Chameera") cmbbestbowler.Items.Add("Lahiru Thirimanne") cmbbestbatter1.Items.Add("Lahiru Thirimanne") cmbbestbowler.Items.Add("Tillakaratne Dishlan") cmbbestbatter1.Items.Add("Tillakaratne Dishlan") cmbbestbowler.Items.Add("Mahela Jayawardene") cmbbestbatter1.Items.Add("Mahela Jayawardene") cmbbestbowler.Items.Add("Kumar Sangakara") cmbbestbatter1.Items.Add("Kumar Sangakara") cmbbestbowler.Items.Add("Tharindu Kaushal") cmbbestbatter1.Items.Add("Tharindu Kaushal") cmbbestbowler.Items.Add("Thisara Perera") cmbbestbatter1.Items.Add("Thisara Perera") cmbbestbowler.Items.Add("Kusal Perera") cmbbestbatter1.Items.Add("Kusal Perera") cmbbestbowler.Items.Add("Upul Tharanga") cmbbestbatter1.Items.Add("Upul Tharanga") cmbbestbowler.Items.Add("Lasith Malinga") cmbbestbatter1.Items.Add("Lasith Malinga") ' England ODI ElseIf cmbteam1.SelectedItem = "England ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Alex Hales") cmbbestbatter1.Items.Add("Alex Hales") cmbbestbowler.Items.Add("Joe Root") cmbbestbatter1.Items.Add("Joe Root") cmbbestbowler.Items.Add("Eoin Morgan") cmbbestbatter1.Items.Add("Eoin Morgan") cmbbestbowler.Items.Add("Ben Stokes") cmbbestbatter1.Items.Add("Ben Stokes") cmbbestbowler.Items.Add("Jason Roy") cmbbestbatter1.Items.Add("Jason Roy") cmbbestbowler.Items.Add("James Anderson") cmbbestbatter1.Items.Add("James Anderson") cmbbestbowler.Items.Add("Ravi Bopara") cmbbestbatter1.Items.Add("Ravi Bopara") cmbbestbowler.Items.Add("Chris Jordan") cmbbestbatter1.Items.Add("Chris Jordan") cmbbestbowler.Items.Add("Stuart Broad") cmbbestbatter1.Items.Add("Stuart Broad") cmbbestbowler.Items.Add("Stuart Finn") cmbbestbatter1.Items.Add("Stuart Finn") 'Bangledesh ODI ElseIf cmbteam1.SelectedItem = "Bangledesh ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Imrul Keyes") cmbbestbowler.Items.Add("Imrul Keyes") cmbbestbowler.Items.Add("Mahmudullah") cmbbestbatter1.Items.Add("Mahmudullah") cmbbestbowler.Items.Add("Arafat Sunny") cmbbestbatter1.Items.Add("Arafat Sunny") cmbbestbowler.Items.Add("Mashrafe Mortaza") cmbbestbatter1.Items.Add("Mashrafe Mortaza")
  • 51. 50 cmbbestbowler.Items.Add("Sabbir Rahman") cmbbestbatter1.Items.Add("Sabbir Rahman") cmbbestbowler.Items.Add("Mushfiqur Rahim") cmbbestbatter1.Items.Add("Mushfiqur Rahim") cmbbestbowler.Items.Add("Tanim Iqbal") cmbbestbatter1.Items.Add("Tanim Iqbal") cmbbestbowler.Items.Add("Sabbir Hossain") cmbbestbatter1.Items.Add("Sabbir Hossain") cmbbestbowler.Items.Add("Nasir Hossain") cmbbestbatter1.Items.Add("Nasir Hossain") cmbbestbowler.Items.Add("Tajul Islam") cmbbestbatter1.Items.Add("Tajul Islam") cmbbestbowler.Items.Add("Taskin Ahmed") cmbbestbatter1.Items.Add("Taskin Ahmed") 'New Zealand ODI ElseIf cmbteam1.SelectedItem = "New Zealand ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Kane Williamson") cmbbestbatter1.Items.Add("Kane Williamson") cmbbestbowler.Items.Add("Ross Taylor") cmbbestbatter1.Items.Add("Ross Taylor") cmbbestbowler.Items.Add("Brendon McCullum") cmbbestbatter1.Items.Add("Brendon McCullum") cmbbestbowler.Items.Add("Corey Anderson") cmbbestbatter1.Items.Add("Corey Anderson") cmbbestbowler.Items.Add("Luke Ronchi") cmbbestbatter1.Items.Add("Luke Ronchi") cmbbestbowler.Items.Add("Grant Elliot") cmbbestbatter1.Items.Add("Grant Elliot") cmbbestbowler.Items.Add("Nathan McCullum") cmbbestbatter1.Items.Add("Nathan McCullum") cmbbestbowler.Items.Add("Daniel Vettori") cmbbestbatter1.Items.Add("Daniel Vettori") cmbbestbowler.Items.Add("Tim Southee") cmbbestbatter1.Items.Add("Tim Southee") cmbbestbowler.Items.Add("Trent Boult") cmbbestbatter1.Items.Add("Trent Boult") 'Pakistan ODI ElseIf cmbteam1.SelectedItem = "Pakistan ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Misbah-ul-Haq") cmbbestbowler.Items.Add("Misbah-ul-Haq") cmbbestbowler.Items.Add("Safraz Ahmed") cmbbestbatter1.Items.Add("Safraz Ahmed") cmbbestbowler.Items.Add("Umar Akmal") cmbbestbatter1.Items.Add("Umar Akmal") cmbbestbowler.Items.Add("Haris Sohail") cmbbestbatter1.Items.Add("Haris Sohail") cmbbestbowler.Items.Add("Shahid Afridi") cmbbestbatter1.Items.Add("Shahid Afridi") cmbbestbowler.Items.Add("Rahat Ali") cmbbestbatter1.Items.Add("Rahat Ali") cmbbestbowler.Items.Add("Eshan Adil") cmbbestbatter1.Items.Add("Eshan Adil") cmbbestbowler.Items.Add("Sohail Khan") cmbbestbatter1.Items.Add("Sohail Khan")
  • 52. 51 cmbbestbowler.Items.Add("Sohaib Maqsood") cmbbestbatter1.Items.Add("Sohaib Maqsood") cmbbestbowler.Items.Add("Wahab Riaz") cmbbestbatter1.Items.Add("Wahab Riaz") cmbbestbowler.Items.Add("Younis Khan") cmbbestbatter1.Items.Add("Younis Khan") 'Zimbabwe ODI ElseIf cmbteam1.SelectedItem = "Zimbabwe ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Elton Chigumbura") cmbbestbowler.Items.Add("Elton Chigumbura") cmbbestbowler.Items.Add("Regis Chakabva") cmbbestbatter1.Items.Add("Regis Chakabva") cmbbestbowler.Items.Add("Brendon Taylor") cmbbestbatter1.Items.Add("Brendon Taylor") cmbbestbowler.Items.Add("Craig Ervine") cmbbestbatter1.Items.Add("Craig Ervine") cmbbestbowler.Items.Add("Solomon Mire") cmbbestbatter1.Items.Add("Solomon Mire") cmbbestbowler.Items.Add("Chamu Chibhabha") cmbbestbatter1.Items.Add("Chamu Chibhabha") cmbbestbowler.Items.Add("Chamu Chibhabha") cmbbestbatter1.Items.Add("Chamu Chibhabha") cmbbestbowler.Items.Add("Sean Williams") cmbbestbatter1.Items.Add("Sean Williams") cmbbestbowler.Items.Add("Stuart Matiksikenyeri") cmbbestbatter1.Items.Add("Stuart Matiksikenyeri") cmbbestbowler.Items.Add("Hamilton Masakadaza") cmbbestbatter1.Items.Add("Hamilton Masakadaza") cmbbestbowler.Items.Add("Sikandar Raza") cmbbestbatter1.Items.Add("Sikandar Raza") 'West Indies ODI ElseIf cmbteam1.SelectedItem = "West Indies ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Chris Gayle") cmbbestbowler.Items.Add("Dwayne Smith") cmbbestbatter1.Items.Add("Dwayne Smith") cmbbestbowler.Items.Add("Marlon Samuels") cmbbestbatter1.Items.Add("Marlon Samuels") cmbbestbowler.Items.Add("Danesh Ramdin") cmbbestbatter1.Items.Add("Danesh Ramdin") cmbbestbowler.Items.Add("Jason Holder") cmbbestbatter1.Items.Add("Jason Holder") cmbbestbowler.Items.Add("Andre Russell") cmbbestbatter1.Items.Add("Andre Russell") cmbbestbowler.Items.Add("Darren Sammy") cmbbestbatter1.Items.Add("Darren Sammy") cmbbestbowler.Items.Add("Nikita Simmons") cmbbestbatter1.Items.Add("Nikita Simmons") cmbbestbowler.Items.Add("Lendl Simmons") cmbbestbatter1.Items.Add("Lendl Simmons") cmbbestbowler.Items.Add("Kemar Roach") cmbbestbatter1.Items.Add("Kemar Roach") cmbbestbowler.Items.Add("Jerome Taylor") cmbbestbatter1.Items.Add("Jerome Taylor")
  • 53. 52 'India ODI ElseIf cmbteam1.SelectedItem = "India ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Rohit Sharma") cmbbestbatter1.Items.Add("Rohit Sharma") cmbbestbowler.Items.Add("Virat Kholi") cmbbestbatter1.Items.Add("Virat Kohli") cmbbestbowler.Items.Add("Suresh Raina") cmbbestbatter1.Items.Add("Suresh Raina") cmbbestbowler.Items.Add("MS Dhoni") cmbbestbatter1.Items.Add("MS Dhoni") cmbbestbowler.Items.Add("Axar Patel") cmbbestbatter1.Items.Add("Axar Patel") cmbbestbowler.Items.Add("Ajinkya Rahane") cmbbestbatter1.Items.Add("Ajinkya Rahane") cmbbestbowler.Items.Add("Ravindra Jadeja") cmbbestbatter1.Items.Add("Ravindra Jadeja") cmbbestbowler.Items.Add("Stuart Binny") cmbbestbatter1.Items.Add("Stuart Binny") cmbbestbowler.Items.Add("Mohammed Shami") cmbbestbatter1.Items.Add("Mohammed Shami") cmbbestbowler.Items.Add("Ravichandran Ashwin") cmbbestbatter1.Items.Add("Ravichandran Ashwin") 'Australia Test ElseIf cmbteam1.SelectedItem = "Australia ODI" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("David Warner") cmbbestbowler.Items.Add("David Warner") cmbbestbowler.Items.Add("Joe Burns") cmbbestbatter1.Items.Add("Joe Burns") cmbbestbowler.Items.Add("Usman Khwaja") cmbbestbatter1.Items.Add("Shane Watson") cmbbestbowler.Items.Add("Adam Voges") cmbbestbatter1.Items.Add("Adam Voges") cmbbestbowler.Items.Add("Steve Smith") cmbbestbatter1.Items.Add("Steve Smith") cmbbestbowler.Items.Add("Jackson Bird") cmbbestbatter1.Items.Add("Jackson Bird") cmbbestbowler.Items.Add("Peter Neville") cmbbestbatter1.Items.Add("Peter Neville") cmbbestbowler.Items.Add("Nathan Lyon") cmbbestbatter1.Items.Add("Nathan Lyon") cmbbestbowler.Items.Add("Mitchell Marsh") cmbbestbatter1.Items.Add("Mitchell Marsh") cmbbestbowler.Items.Add("Mitchell Starc") cmbbestbatter1.Items.Add("Mitchell Starc") cmbbestbowler.Items.Add("Josh Hazlewood") cmbbestbatter1.Items.Add("Josh Hazlewood") 'South Africa Test ElseIf cmbteam1.SelectedItem = "South Africa Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("AB Devilliers")
  • 54. 53 cmbbestbowler.Items.Add("AB Devilliers") cmbbestbowler.Items.Add("Hashim Amla") cmbbestbatter1.Items.Add("Hashim Amla") cmbbestbowler.Items.Add("Stiaan van Zyl") cmbbestbatter1.Items.Add("Stiaan van Zyl") cmbbestbowler.Items.Add("Faf Du Plesis") cmbbestbatter1.Items.Add("Faf Du Plesis") cmbbestbowler.Items.Add("Dane Vilas") cmbbestbatter1.Items.Add("Dane Vilas") cmbbestbowler.Items.Add("JP Duminy") cmbbestbatter1.Items.Add("JP Duminy") cmbbestbowler.Items.Add("Kyle Abbott") cmbbestbatter1.Items.Add("Kyle Abbott") cmbbestbowler.Items.Add("Kagiso Rabada") cmbbestbatter1.Items.Add("Kagiso Rabada") cmbbestbowler.Items.Add("Morne Morkel") cmbbestbatter1.Items.Add("Morne Morkel") cmbbestbowler.Items.Add("Imran Tahir") cmbbestbatter1.Items.Add("Imran Tahir") cmbbestbowler.Items.Add("Dale Steyn") cmbbestbatter1.Items.Add("Dale Steyn") ' Sri Lanka Test ElseIf cmbteam1.SelectedItem = "Sri Lanka Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Dimuth Karunaratne") cmbbestbowler.Items.Add("Dimuth Karunaratne") cmbbestbowler.Items.Add("Lahiru Thirimanne") cmbbestbatter1.Items.Add("Lahiru Thirimanne") cmbbestbowler.Items.Add("Dinesh Chandimal") cmbbestbatter1.Items.Add("Dinesh Chandimal") cmbbestbowler.Items.Add("Kusal Perera") cmbbestbatter1.Items.Add("Kusal Perera") cmbbestbowler.Items.Add("Angelo Mathews") cmbbestbatter1.Items.Add("Angelo Mathews") cmbbestbowler.Items.Add("Milinda Siriwardana") cmbbestbatter1.Items.Add("Milinda Siriwardana") cmbbestbowler.Items.Add("Dasun Shanaka") cmbbestbatter1.Items.Add("Dasun Shanaka") cmbbestbowler.Items.Add("Suranga Lakmal") cmbbestbatter1.Items.Add("Suranga Lakmal") cmbbestbowler.Items.Add("Chaminda Bandara") cmbbestbatter1.Items.Add("Chaminda Bandara") cmbbestbowler.Items.Add("Nuwan Pradeep") cmbbestbatter1.Items.Add("Nuwan Pradeep") cmbbestbowler.Items.Add("Shaminda Eranga") cmbbestbatter1.Items.Add("Shaminda Eranga") ' England Test ElseIf cmbteam1.SelectedItem = "England Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Moeen Ali") cmbbestbowler.Items.Add("Alex Hales") cmbbestbatter1.Items.Add("Alex Hales") cmbbestbowler.Items.Add("Joe Root") cmbbestbatter1.Items.Add("Joe Root") cmbbestbowler.Items.Add("Alistair Cook") cmbbestbatter1.Items.Add("Alistair Cook") cmbbestbowler.Items.Add("Ben Stokes")
  • 55. 54 cmbbestbatter1.Items.Add("Ben Stokes") cmbbestbowler.Items.Add("Kevin Pietersen") cmbbestbatter1.Items.Add("Kevin Pietersen") cmbbestbowler.Items.Add("James Anderson") cmbbestbatter1.Items.Add("James Anderson") cmbbestbowler.Items.Add("Jos Butler") cmbbestbatter1.Items.Add("Jos Butler") cmbbestbowler.Items.Add("Ian Bell") cmbbestbatter1.Items.Add("Ian Bell") cmbbestbowler.Items.Add("Stuart Broad") cmbbestbatter1.Items.Add("Stuart Broad") cmbbestbowler.Items.Add("Stuart Finn") cmbbestbatter1.Items.Add("Stuart Finn") 'Bangledesh Test ElseIf cmbteam1.SelectedItem = "Bangledesh Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Mushfiqur Rahim") cmbbestbowler.Items.Add("Mushfiqur Rahim") cmbbestbowler.Items.Add("Tamim Iqbal") cmbbestbatter1.Items.Add("Tamim Iqbal") cmbbestbowler.Items.Add("Imrul Kayes") cmbbestbatter1.Items.Add("Imrul Kayes") cmbbestbowler.Items.Add("Mominul Haque") cmbbestbatter1.Items.Add("Mominul Haque") cmbbestbowler.Items.Add("Soumya Sarkar") cmbbestbatter1.Items.Add("Soumya Sarkar") cmbbestbowler.Items.Add("Shakib Al Hasan") cmbbestbatter1.Items.Add("Shakib Al Hasan") cmbbestbowler.Items.Add("Taijul Islam") cmbbestbatter1.Items.Add("Taijul Islam") cmbbestbowler.Items.Add("Shuvagata Hom") cmbbestbatter1.Items.Add("Shuvagata Hom") cmbbestbowler.Items.Add("Soumya Sarkar") cmbbestbatter1.Items.Add("Soumya Sarkar") cmbbestbowler.Items.Add("Mahmudullah") cmbbestbatter1.Items.Add("Mahmudullah") cmbbestbowler.Items.Add("Jubair Hossain") cmbbestbatter1.Items.Add("Jubair Hossain") 'New Zealand Test ElseIf cmbteam1.SelectedItem = "New Zealand Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Martin Guptill") cmbbestbowler.Items.Add("Kane Williamson") cmbbestbatter1.Items.Add("Kane Williamson") cmbbestbowler.Items.Add("Ross Taylor") cmbbestbatter1.Items.Add("Ross Taylor") cmbbestbowler.Items.Add("Brendon McCullum") cmbbestbatter1.Items.Add("Brendon McCullum") cmbbestbowler.Items.Add("Corey Anderson") cmbbestbatter1.Items.Add("Corey Anderson") cmbbestbowler.Items.Add("Luke Ronchi") cmbbestbatter1.Items.Add("Luke Ronchi") cmbbestbowler.Items.Add("Grant Elliot") cmbbestbatter1.Items.Add("Grant Elliot") cmbbestbowler.Items.Add("Nathan McCullum") cmbbestbatter1.Items.Add("Nathan McCullum")
  • 56. 55 cmbbestbowler.Items.Add("Daniel Vettori") cmbbestbatter1.Items.Add("Daniel Vettori") cmbbestbowler.Items.Add("Tim Southee") cmbbestbatter1.Items.Add("Tim Southee") cmbbestbowler.Items.Add("Trent Boult") cmbbestbatter1.Items.Add("Trent Boult") 'Pakistan Test ElseIf cmbteam1.SelectedItem = "Pakistan Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Misbah-ul-Haq") cmbbestbowler.Items.Add("Misbah-ul-Haq") cmbbestbowler.Items.Add("Safraz Ahmed") cmbbestbatter1.Items.Add("Safraz Ahmed") cmbbestbowler.Items.Add("Ahmed Shehzad") cmbbestbatter1.Items.Add("Ahmed Shehzad") cmbbestbowler.Items.Add("Haris Sohail") cmbbestbatter1.Items.Add("Haris Sohail") cmbbestbowler.Items.Add("Asad Shafiq") cmbbestbatter1.Items.Add("Asad Shafiq") cmbbestbowler.Items.Add("Imran Khan") cmbbestbatter1.Items.Add("Imran Khan") cmbbestbowler.Items.Add("Mohammad Hafeez") cmbbestbatter1.Items.Add("Mohammad Hafeez") cmbbestbowler.Items.Add("Rahat Ali") cmbbestbatter1.Items.Add("Rahat Ali") cmbbestbowler.Items.Add("Sohaib Maqsood") cmbbestbatter1.Items.Add("Sohaib Maqsood") cmbbestbowler.Items.Add("Wahab Riaz") cmbbestbatter1.Items.Add("Wahab Riaz") cmbbestbowler.Items.Add("Younis Khan") cmbbestbatter1.Items.Add("Younis Khan") 'Zimbabwe Test ElseIf cmbteam1.SelectedItem = "Zimbabwe Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Graeme Cremer") cmbbestbowler.Items.Add("Graeme Cremer") cmbbestbowler.Items.Add("Hamilton Masakadza") cmbbestbatter1.Items.Add("Hamilton Masakadza") cmbbestbowler.Items.Add("Chamu Chibhabha") cmbbestbatter1.Items.Add("Chamu Chibhabha") cmbbestbowler.Items.Add("Peter Moor") cmbbestbatter1.Items.Add("Peter Moor") cmbbestbowler.Items.Add("Richmond Mutumbami") cmbbestbatter1.Items.Add("Richmond Mutumbami") cmbbestbowler.Items.Add("Sean Williams") cmbbestbatter1.Items.Add("Sean Williams") cmbbestbowler.Items.Add("Tafadzwa Kamungozi") cmbbestbatter1.Items.Add("Tafadzwa Kamungozi") cmbbestbowler.Items.Add("Luke Jongwe") cmbbestbatter1.Items.Add("Luke Jongwe") cmbbestbowler.Items.Add("Tendai Chatara") cmbbestbatter1.Items.Add("Tendai Chatara") cmbbestbowler.Items.Add("Donald Tiripano") cmbbestbatter1.Items.Add("Donald Tiripano") cmbbestbowler.Items.Add("Tawanda Mupariwa") cmbbestbatter1.Items.Add("Tawanda Mupariwa")
  • 57. 56 'West Indies Test ElseIf cmbteam1.SelectedItem = "West Indies Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Carlos Brathwaite") cmbbestbowler.Items.Add("Carlos Brathwaite") cmbbestbowler.Items.Add("Jermaine Blackwood") cmbbestbatter1.Items.Add("Jermaine Blackwood") cmbbestbowler.Items.Add("Marlon Samuels") cmbbestbatter1.Items.Add("Marlon Samuels") cmbbestbowler.Items.Add("Danesh Ramdin") cmbbestbatter1.Items.Add("Danesh Ramdin") cmbbestbowler.Items.Add("Jason Holder") cmbbestbatter1.Items.Add("Jason Holder") cmbbestbowler.Items.Add("Darren Bravo") cmbbestbatter1.Items.Add("Darren Bravo") cmbbestbowler.Items.Add("Shane Dowrich") cmbbestbatter1.Items.Add("Shane Dowrich") cmbbestbowler.Items.Add("Shannon Gabriel") cmbbestbatter1.Items.Add("Shannon Gabriel") cmbbestbowler.Items.Add("Kraigg Braithwaite") cmbbestbatter1.Items.Add("Kraigg Braithwaite") cmbbestbowler.Items.Add("Kemar Roach") cmbbestbatter1.Items.Add("Kemar Roach") cmbbestbowler.Items.Add("Jerome Taylor") cmbbestbatter1.Items.Add("Jerome Taylor") 'India Test ElseIf cmbteam1.SelectedItem = "India Test" Then cmbbestbatter1.Items.Clear() cmbbestbowler.Items.Clear() cmbbestbatter1.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Shikhar Dhawan") cmbbestbowler.Items.Add("Rohit Sharma") cmbbestbatter1.Items.Add("Rohit Sharma") cmbbestbowler.Items.Add("Virat Kholi") cmbbestbatter1.Items.Add("Virat Kohli") cmbbestbowler.Items.Add("Suresh Raina") cmbbestbatter1.Items.Add("Suresh Raina") cmbbestbowler.Items.Add("Umesh Yadav") cmbbestbatter1.Items.Add("Umesh Yadav") cmbbestbowler.Items.Add("Axar Patel") cmbbestbatter1.Items.Add("Axar Patel") cmbbestbowler.Items.Add("Ajinkya Rahane") cmbbestbatter1.Items.Add("Ajinkya Rahane") cmbbestbowler.Items.Add("Ravindra Jadeja") cmbbestbatter1.Items.Add("Ravindra Jadeja") cmbbestbowler.Items.Add("Stuart Binny") cmbbestbatter1.Items.Add("Stuart Binny") cmbbestbowler.Items.Add("Ishant Sharma") cmbbestbatter1.Items.Add("Ishant Sharma") cmbbestbowler.Items.Add("Ravichandran Ashwin") cmbbestbatter1.Items.Add("Ravichandran Ashwin") End If Catch ex As Exception End Try End Sub
  • 58. 57 Private Sub cmbteam2_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles cmbteam2.SelectedIndexChanged Try If cmbteam2.SelectedItem = "Sydney Sixers" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Moses Henriques") cmbbestbowler2.Items.Add("Moses Henriques") cmbbestbatter2.Items.Add("Sean Abbott") cmbbestbowler2.Items.Add("Sean Abbott") cmbbestbatter2.Items.Add("Doug Bollinger") cmbbestbowler2.Items.Add("Doug Bollinger") cmbbestbatter2.Items.Add("Jackson Bird") cmbbestbowler2.Items.Add("Jackson Bird") cmbbestbatter2.Items.Add("Johan Botha") cmbbestbowler2.Items.Add("Johan Botha") cmbbestbatter2.Items.Add("Ed Cowan") cmbbestbowler2.Items.Add("Ed Cowan") cmbbestbatter2.Items.Add("Brad Haddin") cmbbestbowler2.Items.Add("Brad Haddin") cmbbestbatter2.Items.Add("Michael Lumb") cmbbestbowler2.Items.Add("Michael Lumb") cmbbestbatter2.Items.Add("Nic Maddinson") cmbbestbowler2.Items.Add("Nic Maddinson") cmbbestbatter2.Items.Add("Jordan Silk") cmbbestbowler2.Items.Add("Jordan Silk") cmbbestbatter2.Items.Add("Ryan Carters") cmbbestbowler2.Items.Add("Ryan Carters") ElseIf cmbteam2.SelectedItem = "Sydney Thunder" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Michael Hussey") cmbbestbowler2.Items.Add("Michael Hussey") cmbbestbowler2.Items.Add("Usman Khawaja") cmbbestbatter2.Items.Add("Usman Khawaja") cmbbestbowler2.Items.Add("Jacques Kallis") cmbbestbatter2.Items.Add("Jacques Kallis") cmbbestbowler2.Items.Add("Shane Watson") cmbbestbatter2.Items.Add("Shane Watson") cmbbestbowler2.Items.Add("Aiden Blizzard") cmbbestbatter2.Items.Add("Aiden Blizzard") cmbbestbatter2.Items.Add("Chris Hartley") cmbbestbowler2.Items.Add("Chris Hartley") cmbbestbatter2.Items.Add("Chris Green") cmbbestbowler2.Items.Add("Chris Green") cmbbestbatter2.Items.Add("Fawad Ahmed") cmbbestbowler2.Items.Add("Fawad Ahmed") cmbbestbatter2.Items.Add("Clint McKay") cmbbestbowler2.Items.Add("Clint Mckay") cmbbestbatter2.Items.Add("Ben Rorhrer") cmbbestbowler2.Items.Add("Ben Rorhrer") cmbbestbatter2.Items.Add("Andre Russell") cmbbestbowler2.Items.Add("Andre Russell") ElseIf cmbteam2.SelectedItem = "Brisbane Heat" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("James Pierson")
  • 59. 58 cmbbestbowler2.Items.Add("James Pierson") cmbbestbowler2.Items.Add("Nathan Reardon") cmbbestbatter2.Items.Add("Nathan Reardon") cmbbestbowler2.Items.Add("Chris Lynn") cmbbestbatter2.Items.Add("Chris Lynn") cmbbestbowler2.Items.Add("James Hopes") cmbbestbatter2.Items.Add("James Hopes") cmbbestbowler2.Items.Add("Ben Cutting") cmbbestbatter2.Items.Add("Ben Cutting") cmbbestbowler2.Items.Add("Joe Burns") cmbbestbatter2.Items.Add("Joe Burns") cmbbestbowler2.Items.Add("Luke Feldman") cmbbestbatter2.Items.Add("Luke Feldman") cmbbestbowler2.Items.Add("Jason Floros") cmbbestbatter2.Items.Add("Jason Floros") cmbbestbowler2.Items.Add("Andrew Fekete") cmbbestbatter2.Items.Add("Andrew Fekete") cmbbestbowler2.Items.Add("Samuel Badree") cmbbestbatter2.Items.Add("Samuel Badree") cmbbestbowler2.Items.Add("Alex Doolan") cmbbestbatter2.Items.Add("Alex Doolan") ElseIf cmbteam2.SelectedItem = "Melbourne Stars" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("David Hussey") cmbbestbowler2.Items.Add("David Hussey") cmbbestbowler2.Items.Add("Luke Wright") cmbbestbatter2.Items.Add("Luke Wright") cmbbestbowler2.Items.Add("Marcus Stoinis") cmbbestbatter2.Items.Add("Marcus Stoinis") cmbbestbowler2.Items.Add("Kevin Pietersen") cmbbestbatter2.Items.Add("Kevin Pietersen") cmbbestbowler2.Items.Add("Glenn Maxwell") cmbbestbatter2.Items.Add("Glenn Maxwell") cmbbestbowler2.Items.Add("Rob Quiney") cmbbestbatter2.Items.Add("Rob Quiney") cmbbestbowler2.Items.Add("James Faulkner") cmbbestbatter2.Items.Add("James Faulkner") cmbbestbowler2.Items.Add("Peter Handscomb") cmbbestbatter2.Items.Add("Peter Handscomb") cmbbestbowler2.Items.Add("John Hastings") cmbbestbatter2.Items.Add("John Hastings") cmbbestbowler2.Items.Add("Samuel Badree") cmbbestbatter2.Items.Add("Ben Hilfenhaus") cmbbestbowler2.Items.Add("Adam Zampa") cmbbestbatter2.Items.Add("Adam Zampa") ElseIf cmbteam2.SelectedItem = "Melbourne Renegades" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Aaron Finch") cmbbestbowler2.Items.Add("Aaron Finch") cmbbestbowler2.Items.Add("Chris Gayle") cmbbestbatter2.Items.Add("Chris Gayle") cmbbestbowler2.Items.Add("Cameron White") cmbbestbatter2.Items.Add("Cameron White") cmbbestbowler2.Items.Add("Matthew Wade") cmbbestbatter2.Items.Add("Matthew Wade") cmbbestbowler2.Items.Add("Tom Beaton") cmbbestbatter2.Items.Add("Tom Beaton") cmbbestbowler2.Items.Add("Dwayne Bravo") cmbbestbatter2.Items.Add("Dwayne Bravo") cmbbestbowler2.Items.Add("James Faulkner")
  • 60. 59 cmbbestbatter2.Items.Add("Xavier Doherty") cmbbestbowler2.Items.Add("Xavier Doherty") cmbbestbatter2.Items.Add("Callum Ferguson") cmbbestbowler2.Items.Add("Peter Siddle") cmbbestbatter2.Items.Add("Peter Siddle") cmbbestbowler2.Items.Add("Chris Tremain") cmbbestbatter2.Items.Add("Chris Tremain") cmbbestbowler2.Items.Add("Nathan Rimmington") cmbbestbatter2.Items.Add("Nathan Rimminington") ElseIf cmbteam2.SelectedItem = "Perth Scorchers" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Michael Carberry") cmbbestbowler2.Items.Add("Michael Carberry") cmbbestbowler2.Items.Add("Michael Klinger") cmbbestbatter2.Items.Add("Michael Klinger") cmbbestbowler2.Items.Add("Shaun Marsh") cmbbestbatter2.Items.Add("Shaun Marsh") cmbbestbowler2.Items.Add("Mitchell Marsh") cmbbestbatter2.Items.Add("Mitchell Marsh") cmbbestbowler2.Items.Add("Marcus Harris") cmbbestbatter2.Items.Add("Marcus Harris") cmbbestbowler2.Items.Add("David Willey") cmbbestbatter2.Items.Add("David Willey") cmbbestbowler2.Items.Add("Ashton Agar") cmbbestbatter2.Items.Add("Ashton Agar") cmbbestbowler2.Items.Add("Brad Hogg") cmbbestbatter2.Items.Add("Brad Hogg") cmbbestbowler2.Items.Add("Jason Behrendoff") cmbbestbatter2.Items.Add("Jason Behrendoff") cmbbestbowler2.Items.Add("Adam Voges") cmbbestbatter2.Items.Add("Adam Voges") cmbbestbowler2.Items.Add("Nathan Coulter Nile") cmbbestbatter2.Items.Add("Nathan Coulter Nile") ElseIf cmbteam2.SelectedItem = "Adelaide Strikers" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Brad Hodge") cmbbestbowler2.Items.Add("Brad Hodge") cmbbestbowler2.Items.Add("Craig Simmons") cmbbestbatter2.Items.Add("Craig Simmons") cmbbestbowler2.Items.Add("Tim Ludeman") cmbbestbatter2.Items.Add("Tim Ludeman") cmbbestbowler2.Items.Add("Travis Head") cmbbestbatter2.Items.Add("Travis Head") cmbbestbowler2.Items.Add("Alex Ross") cmbbestbatter2.Items.Add("Alex Ross") cmbbestbowler2.Items.Add("Miehala Jayawardne") cmbbestbatter2.Items.Add("Miehala Jayawardne") cmbbestbowler2.Items.Add("Ben Laughlin") cmbbestbatter2.Items.Add("Ben Laughlin") cmbbestbowler2.Items.Add("Kane Richardson") cmbbestbatter2.Items.Add("Kane Richardson") cmbbestbowler2.Items.Add("Gary Putland") cmbbestbatter2.Items.Add("Gary Putland") cmbbestbowler2.Items.Add("Kelvin Smith") cmbbestbatter2.Items.Add("Kelvin Smith") cmbbestbowler2.Items.Add("Keiron Pollard") cmbbestbatter2.Items.Add("Keiron Pollard") ElseIf cmbteam2.SelectedItem = "Hobart Hurricanes" Then cmbbestbatter2.Items.Clear()
  • 61. 60 cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Tim Paine") cmbbestbowler2.Items.Add("Tim Paine") cmbbestbowler2.Items.Add("Ben Dunk") cmbbestbatter2.Items.Add("Ben Dunk") cmbbestbowler2.Items.Add("Kumar Sangakara") cmbbestbatter2.Items.Add("Kumar Sangakara") cmbbestbowler2.Items.Add("George Bailey") cmbbestbatter2.Items.Add("George Bailey") cmbbestbowler2.Items.Add("Dan Chrisitian") cmbbestbatter2.Items.Add("Dan Christian") cmbbestbowler2.Items.Add("Darren Sammy") cmbbestbatter2.Items.Add("Darren Sammy") cmbbestbowler2.Items.Add("Clive Rose") cmbbestbatter2.Items.Add("Clive Rose") cmbbestbowler2.Items.Add("Shaun Tait") cmbbestbatter2.Items.Add("Shaun Tait") cmbbestbowler2.Items.Add("Simon Milenko") cmbbestbatter2.Items.Add("Simon Milenko") cmbbestbowler2.Items.Add("Jake Reed") cmbbestbatter2.Items.Add("Jake Reed") cmbbestbowler2.Items.Add("Sam Rainbird") cmbbestbatter2.Items.Add("Sam Rainbird") ' Kolkata Knight Riders ElseIf cmbteam2.SelectedItem = "Kolkata Knight Riders" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Guatam Ghambir") cmbbestbowler2.Items.Add("Guatam Ghambir") cmbbestbowler2.Items.Add("Sheldon Jackson") cmbbestbatter2.Items.Add("Sheldon Jackson") cmbbestbowler2.Items.Add("Chris Lynn") cmbbestbatter2.Items.Add("Chris Lynn") cmbbestbowler2.Items.Add("Sunil Narine") cmbbestbatter2.Items.Add("Sunil Narine") cmbbestbowler2.Items.Add("Andre Russell") cmbbestbatter2.Items.Add("Andre Russell") cmbbestbowler2.Items.Add("Piyush Chawla") cmbbestbatter2.Items.Add("Piyush Chawla") cmbbestbowler2.Items.Add("Shakib Al Hasan") cmbbestbatter2.Items.Add("Jason Holder") cmbbestbowler2.Items.Add("Jason Holder") cmbbestbatter2.Items.Add("John Hastings") cmbbestbowler2.Items.Add("John Hastings") cmbbestbatter2.Items.Add("Morne Morkel") cmbbestbowler2.Items.Add("Brad Hogg") cmbbestbatter2.Items.Add("Brad Hogg") cmbbestbowler2.Items.Add("Morne Morkel") cmbbestbatter2.Items.Add("Shakib Al Hasan") ' Mumbai Indians ElseIf cmbteam2.SelectedItem = "Mumbai Indians" Then cmbbestbatter2.Items.Clear() cmbbestbowler2.Items.Clear() cmbbestbatter2.Items.Add("Rohit Sharma") cmbbestbowler2.Items.Add("Rohit Sharma") cmbbestbowler2.Items.Add("Corey Anderson") cmbbestbatter2.Items.Add("Corey Anderson") cmbbestbowler2.Items.Add("Vinay Kumar") cmbbestbatter2.Items.Add("Vinay Kumar")