Professional Documents
Culture Documents
Copypaste
Copypaste
Copypaste
Pseudocode
Object Type
Property
Value
Event Procedure
Form
Name
frmSearchAndSortAlgorithm1
Form_Load()
Font
BackColor
MenuHighlight
ForeColor
ControlText
Text
Label
Name
lblSearchAndAlgorithm
None
Font
BackColor
Transparent
ForeColor
Black
Text
Label
Name
lblChooseAlgorithm
None
Font
ForeColor
ControlText
GroupBox
Name
gpbAlgorithm
None
Font
ForeColor
ControlText
RadioButton
Name
optBubblesort
None
Text
a bubble sort
None
Font
ForeColor
ControlText
RadioButton
Name
optInsertionsort
None
Text
an insertion sort
None
Font
ForeColor
ControlText
RadioButton
Name
optLinearsearch
None
Text
a linear search
None
Font
ForeColor
ControlText
RadioButton
Name
optBinarysearch
None
Text
a binary search
None
Font
ForeColor
ControlText
Label
Name
lblImportedDataSet
None
Font
ControlText
10
GroupBox
Name
gpbImportedDataSet
None
Font
ForeColor
ControlText
11
RadioButton
Name
optRandomnumber
None
Text
Random number
None
Font
ForeColor
ControlText
12
RadioButton
Name
optExternaltextfile
Nome
Text
None
Font
ForeColor
ControlText
13
Button
Name
cmdSelect
CmdSelect_Click
Text
Select
None
Font
ForeColor
ControlText
14
GroupBox
Name
gpbExternalTextFile
None
Font
Microsoft Sans Serif, 8pt
ForeColor
ControlText
15
Label
Name
lblExternalTextFile
None
Font
ForeColor
ControlText
16
TextBox
Name
txtData
None
Text
None
Font
ForeColor
Green
17
Button
Name
cmdChoose
cmdChoose_Click
Text
Choose
None
Font
18
Button
Name
cmdNext
cmdNext_Click
Text
Next
None
Font
19
Form
Name
frmSearchAndSortAlgorithm2
Form_Load()
Font
BackColor
MenuHighlight
ForeColor
ControlText
Text
20
Label
Name
lblProcess
None
Font
ForeColor
ControlText
Text
Process
21
TextBox
Name
txtSearchNumber
None
Text
None
Font
ForeColor
Green
22
Label
Name
lblSearchNumber
None
Font
ControlText
23
TextBox
Name
txtDisplay
None
Text
None
Font
ForeColor
Green
24
Button
Name
cmdRun
cmdNext_Click
Text
Next
None
Font
25
Button
Name
cmdClear
cmdClear
_Click
Text
Next
None
Font
26
Button
Name
cmdExit
cmdExit
_Click
Text
Next
None
Font
27
Button
Name
cmdBack
cmdBack
_Click
Text
Next
None
Font
28
Button
Name
cmdStartAgain
cmdStartAgain
_Click
Text
Next
None
Font
Form 1
Imports System.IO
Return
End If
If optRandomnumber.Checked = False And optExternaltextfile.Checked = False
Then
Return
cmdNext.Visible = True
gpbExternalTextFile.Visible = False
gpbExternalTextFile.Visible = True
cmdNext.Visible = False
End If
End Sub
selected = dialog.ShowDialog
filename = dialog.FileName
If File.Exists(filename) Then
myReader = File.OpenText(filename)
txtData.Text = myReader.ReadToEnd
txtData.Text = filename
Else
End If
End If
cmdNext.Visible = True
End Sub
frmSearchAndSortAlgorithm2.Show()
Me.Visible = False
End Sub
cmdNext.Visible = False
gpbExternalTextFile.Visible = False
End Sub
End Class
Form 2
Imports System.Windows.Forms
Public Class frmSearchAndSortAlgorithm2
frmSearchAndSortAlgorithm1.Show()
Me.Visible = False
End Sub
End Class