first visual basic code upload
This commit is contained in:
1 parent
93697318e4
commit
5e53ab7d73
101 files changed
+21213
No files matched your search
@@ -0,0 +1,180 @@
|
||||
Imports System.IO
|
||||
Imports MySql.Data.MySqlClient
|
||||
|
||||
Public Class friendly_fighter
|
||||
|
||||
' Scoring Information
|
||||
Private _match As Integer ' Match Number
|
||||
Private _person As person ' Fighter ID
|
||||
Private _score As Integer ' Total Score
|
||||
Private _gamjum As Integer ' Total Gamgum Foul
|
||||
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
' Properties
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
Public Sub New(FighterID As Integer)
|
||||
_person = New person(FighterID)
|
||||
_score = 0
|
||||
_gamjum = 0
|
||||
End Sub
|
||||
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
' Properties
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
ReadOnly Property Person As person
|
||||
Get
|
||||
Return _person
|
||||
End Get
|
||||
End Property
|
||||
|
||||
ReadOnly Property Score As Integer
|
||||
Get
|
||||
Return _score
|
||||
End Get
|
||||
End Property
|
||||
|
||||
ReadOnly Property Gamjum As Integer
|
||||
Get
|
||||
Return _gamjum
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
' Subroutines
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
Public Sub AdjustScore(Amount As Integer)
|
||||
|
||||
_score += Amount
|
||||
|
||||
End Sub
|
||||
|
||||
Public Sub AdjustGamjum(Amount As Integer)
|
||||
|
||||
_gamjum += Amount
|
||||
|
||||
End Sub
|
||||
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
' Subroutines
|
||||
'-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
Public Sub RegisterScore(Score As Integer, Gamjum As Integer)
|
||||
|
||||
Dim QRY As String = ("
|
||||
insert into event_matches_scores (mid, pid, score, foul) values (" & _match & ", " & _person.ID & ", " & Score & ", " & Gamjum & ");
|
||||
select sum(score) as 'score', sum(gamjum) as 'gamjum' from event_matches_scores where eid = null and mid = " & _match & " and pid = " & _person.ID & ";
|
||||
")
|
||||
|
||||
' Connection
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
Dim RDR As MySqlDataReader
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
RDR = COM.ExecuteReader
|
||||
If RDR.HasRows = True Then
|
||||
|
||||
While RDR.Read
|
||||
|
||||
Try ' Score
|
||||
_score = RDR("score")
|
||||
Catch ex As Exception
|
||||
_score = 0
|
||||
End Try
|
||||
|
||||
Try ' Gamjum
|
||||
_gamjum = RDR("gamjum")
|
||||
Catch ex As Exception
|
||||
_gamjum = 0
|
||||
End Try
|
||||
|
||||
End While
|
||||
|
||||
End If
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub GetMatchScores()
|
||||
|
||||
Dim QRY As String = ("select sum(score) as 'score', sum(foul) as 'gamjum' from event_matches_scores where eid = null and mid = " & _match & " and pid = " & _person.ID & ";")
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
Dim RDR As MySqlDataReader
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
RDR = COM.ExecuteReader
|
||||
If RDR.HasRows = True Then
|
||||
|
||||
While RDR.Read
|
||||
|
||||
Try ' Score
|
||||
_score = RDR("score")
|
||||
Catch ex As Exception
|
||||
_score = 0
|
||||
End Try
|
||||
|
||||
Try ' Gamjum
|
||||
_gamjum = RDR("gamjum")
|
||||
Catch ex As Exception
|
||||
_gamjum = 0
|
||||
End Try
|
||||
|
||||
End While
|
||||
End If
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Public Function GetPointsList() As List(Of country)
|
||||
|
||||
Dim QRY As String = ("
|
||||
select
|
||||
score,
|
||||
gamjum
|
||||
from
|
||||
event_matches_scores
|
||||
where
|
||||
eid = null and mid = " & _match & " and pid = " & _person.ID & "
|
||||
order by
|
||||
eid,
|
||||
mid
|
||||
desc;
|
||||
")
|
||||
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
Dim RDR As MySqlDataReader
|
||||
Dim LST As New List(Of country)
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
RDR = COM.ExecuteReader
|
||||
If RDR.HasRows = True Then
|
||||
While RDR.Read
|
||||
LST.Add(New country(RDR("id")))
|
||||
End While
|
||||
End If
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
Return LST
|
||||
|
||||
End Function
|
||||
|
||||
End Class
|
||||
@@ -0,0 +1,325 @@
|
||||
Imports System.IO
|
||||
Imports MySql.Data.MySqlClient
|
||||
|
||||
Public Class friendly_match
|
||||
|
||||
'--[MATCH FIGHTERS]---------------
|
||||
|
||||
Public _blue As friendly_fighter ' Blue Fighter Information
|
||||
Public _red As friendly_fighter ' Red Fighter Information
|
||||
Public _referee As person ' Referee Information
|
||||
|
||||
'--[MATCH SETTINGS]---------------
|
||||
|
||||
Private _match_id As Integer ' Match Identification Number
|
||||
Private _max_rounds As Integer ' Maximum Round Number
|
||||
Private _round_number As Integer ' Round Number
|
||||
|
||||
Private _matchTimer As match_timer ' Timer For Playing The Rounds
|
||||
Private _matchBreak As match_timer ' Timer For Having Break
|
||||
|
||||
Private _max_differenace As Integer ' Max Difference In Score
|
||||
Private _enaMaxSdiff As Boolean ' End Match When Difference Reached
|
||||
Private _enaSudenDth As Boolean ' Enable Forth Round When Score Are Equal
|
||||
|
||||
'--[CONSTRUCTORS]-------------------------------------------------
|
||||
|
||||
ReadOnly Property Round As Integer
|
||||
Get
|
||||
Return _round_number
|
||||
End Get
|
||||
End Property
|
||||
|
||||
ReadOnly Property Time As match_timer
|
||||
Get
|
||||
Return _matchTimer
|
||||
End Get
|
||||
End Property
|
||||
|
||||
ReadOnly Property Break As match_timer
|
||||
Get
|
||||
Return _matchBreak
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'--[CONSTRUCTORS]-------------------------------------------------
|
||||
|
||||
' Incase you want to create instant match
|
||||
Public Sub New(Blue As Integer, Red As Integer, Referee As Integer, Rounds As Integer)
|
||||
|
||||
' Match Fighters
|
||||
_blue = New friendly_fighter(Blue)
|
||||
_red = New friendly_fighter(Red)
|
||||
|
||||
' Match Referee
|
||||
_referee = New person(Referee)
|
||||
|
||||
' Match Round Timer
|
||||
_matchTimer = New match_timer(My.Settings.match_round_time_minutes, My.Settings.match_round_time_seconds)
|
||||
|
||||
' Match Break Timer
|
||||
_matchBreak = New match_timer(My.Settings.match_break_time_minutes, My.Settings.match_break_time_seconds)
|
||||
|
||||
' Sudden Death Option
|
||||
_enaSudenDth = My.Settings.match_enable_sudden_death
|
||||
|
||||
' Max Score Difference Option
|
||||
_enaMaxSdiff = My.Settings.match_enable_max_difference
|
||||
|
||||
End Sub
|
||||
|
||||
'-----------------------------------------------------------------
|
||||
' READING MATCH NUMBER
|
||||
'-----------------------------------------------------------------
|
||||
|
||||
' THIS FUNCTION GETS THE NEWLY CREATED MATCH NUMBER
|
||||
|
||||
Private Sub GetMatchData()
|
||||
|
||||
Dim QRY As String = "SELECT ecn, ern, emn, blue_fighter, red_fighter FROM test.event_matches where emn = " & _match_id & " and started = 0 and ended = 0 and (not isnull(red_fighter)) and (not isnull(blue_fighter)) order by ern, emn asc"
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
Dim RDR As MySqlDataReader
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
RDR = COM.ExecuteReader
|
||||
If RDR.HasRows = True Then
|
||||
While RDR.Read
|
||||
|
||||
Try
|
||||
_blue = New friendly_fighter(RDR("blue_fighter"))
|
||||
Catch ex As Exception
|
||||
_blue = Nothing
|
||||
End Try
|
||||
|
||||
Try
|
||||
_red = New friendly_fighter(RDR("red_fighter"))
|
||||
Catch ex As Exception
|
||||
_red = Nothing
|
||||
End Try
|
||||
|
||||
|
||||
End While
|
||||
End If
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
' THIS FUNCTION RETURNS AVAILABLE NUMBER FOR A NEW MATCH
|
||||
|
||||
Private Function GetAvailableNewMatchID() As Integer
|
||||
|
||||
' Select the Unstarted Matches From The Match Sequence
|
||||
Dim QRY As String = ("
|
||||
select
|
||||
person.id as 'pid',
|
||||
person.fname,
|
||||
person.mname,
|
||||
person.lname,
|
||||
TIMESTAMPDIFF(YEAR, person.date_of_birth, CURDATE()) as 'age',
|
||||
person.date_of_birth,
|
||||
person.category,
|
||||
person.weight,
|
||||
person.weight_class,
|
||||
person.gender,
|
||||
person.picture,
|
||||
clubs.title as 'club',
|
||||
clubs.logo as 'logo',
|
||||
countries.iso3 as 'country',
|
||||
countries.flatflag as 'flag'
|
||||
FROM
|
||||
person
|
||||
left join
|
||||
clubs on person.club = clubs.id
|
||||
left join
|
||||
countries on person.country = countries.id
|
||||
where
|
||||
person.id=1
|
||||
")
|
||||
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
Dim RDR As MySqlDataReader
|
||||
Dim NUM As Integer
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
RDR = COM.ExecuteReader
|
||||
If RDR.HasRows = True Then
|
||||
While RDR.Read
|
||||
Try
|
||||
NUM = RDR("ID")
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
End While
|
||||
End If
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
Return NUM
|
||||
|
||||
End Function
|
||||
|
||||
Public Sub StartMatch()
|
||||
|
||||
' Update The Table With The Winner ID
|
||||
Dim QRY As String = ("
|
||||
SET SQL_SAFE_UPDATES = 0;
|
||||
|
||||
UPDATE
|
||||
`event_matches`
|
||||
SET
|
||||
`started` = 1
|
||||
WHERE
|
||||
`emn` = " & _match_id & ";
|
||||
")
|
||||
|
||||
' Executing The Command
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
COM.ExecuteNonQuery()
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Public Sub EndMatch()
|
||||
|
||||
' Testing This Condition
|
||||
If _match_id = 0 Or _match_id = Nothing Then Exit Sub
|
||||
|
||||
' Update The Table With The Winner ID
|
||||
Dim QRY As String = ("
|
||||
SET SQL_SAFE_UPDATES = 0;
|
||||
|
||||
UPDATE
|
||||
`event_matches`
|
||||
SET
|
||||
`ended` = 1
|
||||
WHERE
|
||||
`emn` = " & _match_id & ";
|
||||
")
|
||||
|
||||
' Executing The Command
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
COM.ExecuteNonQuery()
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
'-----------------------------------------------------------------
|
||||
' METHODES OF ENDING A MATCH
|
||||
'-----------------------------------------------------------------
|
||||
|
||||
' THIS SUB ENDS THE MATCH AUTOMATICALLY BY CALCULATING THE POINTS
|
||||
Private Sub AutoEndMatch()
|
||||
|
||||
' Winner ID Holder
|
||||
Dim WinnerID As Integer
|
||||
|
||||
' This Is Where We Do Decision Making
|
||||
If _blue.Score > _red.Score Then
|
||||
WinnerID = _blue.Person.ID ' Blue Fighter Wins
|
||||
ElseIf _blue.Score < _red.Score Then
|
||||
WinnerID = _red.Person.ID ' Red Fighter Wins
|
||||
End If
|
||||
|
||||
' Update The Table With The Winner ID
|
||||
Dim QRY As String = ("
|
||||
SET SQL_SAFE_UPDATES = 0;
|
||||
|
||||
UPDATE
|
||||
`event_matches`
|
||||
SET
|
||||
`blue_score` = " & _blue.Score & ",
|
||||
`blue_foul` = " & _blue.Gamjum & ",
|
||||
`red_score` = " & _red.Score & ",
|
||||
`red_foul` = " & _red.Gamjum & ",
|
||||
`winner` = " & WinnerID & ",
|
||||
`ended` = 1
|
||||
WHERE
|
||||
`emn` = " & _match_id & ";
|
||||
")
|
||||
|
||||
' Executing The Command
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
COM.ExecuteNonQuery()
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
' THIS SUB ENDS THE MATCH MANUALLY BY THE MAIN REFEREE IF NEEDED TO
|
||||
Private Sub ManualEndMatch(WinnerID As Integer, WinnerBy As String, Note As String)
|
||||
|
||||
' Update The Table With The Winner ID
|
||||
Dim QRY As String = ("
|
||||
SET SQL_SAFE_UPDATES = 0;
|
||||
|
||||
UPDATE
|
||||
`event_matches`
|
||||
SET
|
||||
`blue_score` = " & _blue.Score & ",
|
||||
`blue_foul` = " & _blue.Gamjum & ",
|
||||
`red_score` = " & _red.Score & ",
|
||||
`red_foul` = " & _red.Gamjum & ",
|
||||
`winner` = " & WinnerID & ",
|
||||
`notes` = '" & Note & "',
|
||||
`winnerBy` = '" & WinnerBy & "',
|
||||
`ended` = 1
|
||||
WHERE
|
||||
`emn` = " & _match_id & ";
|
||||
")
|
||||
|
||||
Dim CON As New MySqlConnection(CON_STRING)
|
||||
Dim COM As New MySqlCommand(QRY, CON)
|
||||
|
||||
Try
|
||||
CON.Open()
|
||||
COM.ExecuteNonQuery()
|
||||
CON.Close()
|
||||
Catch ex As MySqlException
|
||||
MessageBox.Show(ex.Message)
|
||||
Finally
|
||||
CON.Dispose()
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
||||
+446
@@ -0,0 +1,446 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class frm_friendly_match
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form overrides dispose to clean up the component list.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Required by the Windows Form Designer
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'NOTE: The following procedure is required by the Windows Form Designer
|
||||
'It can be modified using the Windows Form Designer.
|
||||
'Do not modify it using the code editor.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.Label1 = New System.Windows.Forms.Label()
|
||||
Me.Label2 = New System.Windows.Forms.Label()
|
||||
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
|
||||
Me.Button1 = New System.Windows.Forms.Button()
|
||||
Me.txt_rounds = New System.Windows.Forms.MaskedTextBox()
|
||||
Me.Label5 = New System.Windows.Forms.Label()
|
||||
Me.chk_sudden_death = New System.Windows.Forms.CheckBox()
|
||||
Me.txt_break_time = New System.Windows.Forms.MaskedTextBox()
|
||||
Me.Label6 = New System.Windows.Forms.Label()
|
||||
Me.txt_round_time = New System.Windows.Forms.MaskedTextBox()
|
||||
Me.Label4 = New System.Windows.Forms.Label()
|
||||
Me.Label3 = New System.Windows.Forms.Label()
|
||||
Me.Label7 = New System.Windows.Forms.Label()
|
||||
Me.cbo_blue = New System.Windows.Forms.ComboBox()
|
||||
Me.cbo_red = New System.Windows.Forms.ComboBox()
|
||||
Me.cbo_referee = New System.Windows.Forms.ComboBox()
|
||||
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
|
||||
Me.pb_blue_picture = New System.Windows.Forms.PictureBox()
|
||||
Me.pb_red_picture = New System.Windows.Forms.PictureBox()
|
||||
Me.pb_blue_flag = New System.Windows.Forms.PictureBox()
|
||||
Me.pb_red_flag = New System.Windows.Forms.PictureBox()
|
||||
Me.btn_start = New System.Windows.Forms.Button()
|
||||
Me.pb_referee_flag = New System.Windows.Forms.PictureBox()
|
||||
Me.pb_referee_picture = New System.Windows.Forms.PictureBox()
|
||||
Me.btn_back = New System.Windows.Forms.Button()
|
||||
Me.Label8 = New System.Windows.Forms.Label()
|
||||
Me.Label9 = New System.Windows.Forms.Label()
|
||||
Me.Label10 = New System.Windows.Forms.Label()
|
||||
Me.GroupBox1.SuspendLayout()
|
||||
Me.GroupBox2.SuspendLayout()
|
||||
CType(Me.pb_blue_picture, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_red_picture, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_blue_flag, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_red_flag, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_referee_flag, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_referee_picture, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'Label1
|
||||
'
|
||||
Me.Label1.BackColor = System.Drawing.Color.Blue
|
||||
Me.Label1.ForeColor = System.Drawing.Color.White
|
||||
Me.Label1.Location = New System.Drawing.Point(10, 30)
|
||||
Me.Label1.Name = "Label1"
|
||||
Me.Label1.Size = New System.Drawing.Size(120, 28)
|
||||
Me.Label1.TabIndex = 0
|
||||
Me.Label1.Text = "Blue Fighter :"
|
||||
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'Label2
|
||||
'
|
||||
Me.Label2.BackColor = System.Drawing.Color.Red
|
||||
Me.Label2.ForeColor = System.Drawing.Color.White
|
||||
Me.Label2.Location = New System.Drawing.Point(10, 65)
|
||||
Me.Label2.Name = "Label2"
|
||||
Me.Label2.Size = New System.Drawing.Size(120, 28)
|
||||
Me.Label2.TabIndex = 1
|
||||
Me.Label2.Text = "Red Fighter :"
|
||||
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'GroupBox1
|
||||
'
|
||||
Me.GroupBox1.Controls.Add(Me.Button1)
|
||||
Me.GroupBox1.Controls.Add(Me.txt_rounds)
|
||||
Me.GroupBox1.Controls.Add(Me.Label5)
|
||||
Me.GroupBox1.Controls.Add(Me.chk_sudden_death)
|
||||
Me.GroupBox1.Controls.Add(Me.txt_break_time)
|
||||
Me.GroupBox1.Controls.Add(Me.Label6)
|
||||
Me.GroupBox1.Controls.Add(Me.txt_round_time)
|
||||
Me.GroupBox1.Controls.Add(Me.Label4)
|
||||
Me.GroupBox1.Controls.Add(Me.Label3)
|
||||
Me.GroupBox1.ForeColor = System.Drawing.Color.White
|
||||
Me.GroupBox1.Location = New System.Drawing.Point(10, 160)
|
||||
Me.GroupBox1.Name = "GroupBox1"
|
||||
Me.GroupBox1.Size = New System.Drawing.Size(390, 175)
|
||||
Me.GroupBox1.TabIndex = 4
|
||||
Me.GroupBox1.TabStop = False
|
||||
Me.GroupBox1.Text = "[ MATCH SETTINGS ]"
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.Button1.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.Button1.ForeColor = System.Drawing.Color.White
|
||||
Me.Button1.Location = New System.Drawing.Point(255, 30)
|
||||
Me.Button1.Name = "Button1"
|
||||
Me.Button1.Size = New System.Drawing.Size(120, 130)
|
||||
Me.Button1.TabIndex = 17
|
||||
Me.Button1.Text = "Set Hardware"
|
||||
Me.Button1.UseVisualStyleBackColor = True
|
||||
'
|
||||
'txt_rounds
|
||||
'
|
||||
Me.txt_rounds.BackColor = System.Drawing.Color.White
|
||||
Me.txt_rounds.ForeColor = System.Drawing.Color.Black
|
||||
Me.txt_rounds.Location = New System.Drawing.Point(160, 30)
|
||||
Me.txt_rounds.Mask = "0"
|
||||
Me.txt_rounds.Name = "txt_rounds"
|
||||
Me.txt_rounds.Size = New System.Drawing.Size(85, 26)
|
||||
Me.txt_rounds.TabIndex = 16
|
||||
Me.txt_rounds.Text = "3"
|
||||
'
|
||||
'Label5
|
||||
'
|
||||
Me.Label5.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.Label5.ForeColor = System.Drawing.Color.White
|
||||
Me.Label5.Location = New System.Drawing.Point(10, 135)
|
||||
Me.Label5.Name = "Label5"
|
||||
Me.Label5.Size = New System.Drawing.Size(145, 26)
|
||||
Me.Label5.TabIndex = 15
|
||||
Me.Label5.Text = "Sudden Deth :"
|
||||
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'chk_sudden_death
|
||||
'
|
||||
Me.chk_sudden_death.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.chk_sudden_death.Checked = True
|
||||
Me.chk_sudden_death.CheckState = System.Windows.Forms.CheckState.Checked
|
||||
Me.chk_sudden_death.Location = New System.Drawing.Point(160, 135)
|
||||
Me.chk_sudden_death.Name = "chk_sudden_death"
|
||||
Me.chk_sudden_death.Size = New System.Drawing.Size(85, 26)
|
||||
Me.chk_sudden_death.TabIndex = 14
|
||||
Me.chk_sudden_death.Text = "Enable"
|
||||
Me.chk_sudden_death.UseVisualStyleBackColor = False
|
||||
'
|
||||
'txt_break_time
|
||||
'
|
||||
Me.txt_break_time.BackColor = System.Drawing.Color.White
|
||||
Me.txt_break_time.ForeColor = System.Drawing.Color.Black
|
||||
Me.txt_break_time.Location = New System.Drawing.Point(160, 100)
|
||||
Me.txt_break_time.Mask = "00:00"
|
||||
Me.txt_break_time.Name = "txt_break_time"
|
||||
Me.txt_break_time.Size = New System.Drawing.Size(85, 26)
|
||||
Me.txt_break_time.TabIndex = 10
|
||||
Me.txt_break_time.Text = "0100"
|
||||
'
|
||||
'Label6
|
||||
'
|
||||
Me.Label6.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.Label6.ForeColor = System.Drawing.Color.White
|
||||
Me.Label6.Location = New System.Drawing.Point(10, 100)
|
||||
Me.Label6.Name = "Label6"
|
||||
Me.Label6.Size = New System.Drawing.Size(145, 26)
|
||||
Me.Label6.TabIndex = 9
|
||||
Me.Label6.Text = "Break Time :"
|
||||
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'txt_round_time
|
||||
'
|
||||
Me.txt_round_time.BackColor = System.Drawing.Color.White
|
||||
Me.txt_round_time.ForeColor = System.Drawing.Color.Black
|
||||
Me.txt_round_time.Location = New System.Drawing.Point(160, 65)
|
||||
Me.txt_round_time.Mask = "00:00"
|
||||
Me.txt_round_time.Name = "txt_round_time"
|
||||
Me.txt_round_time.Size = New System.Drawing.Size(85, 26)
|
||||
Me.txt_round_time.TabIndex = 8
|
||||
Me.txt_round_time.Text = "0200"
|
||||
'
|
||||
'Label4
|
||||
'
|
||||
Me.Label4.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.Label4.ForeColor = System.Drawing.Color.White
|
||||
Me.Label4.Location = New System.Drawing.Point(10, 65)
|
||||
Me.Label4.Name = "Label4"
|
||||
Me.Label4.Size = New System.Drawing.Size(145, 26)
|
||||
Me.Label4.TabIndex = 7
|
||||
Me.Label4.Text = "Round Time :"
|
||||
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'Label3
|
||||
'
|
||||
Me.Label3.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.Label3.ForeColor = System.Drawing.Color.White
|
||||
Me.Label3.Location = New System.Drawing.Point(10, 30)
|
||||
Me.Label3.Name = "Label3"
|
||||
Me.Label3.Size = New System.Drawing.Size(145, 26)
|
||||
Me.Label3.TabIndex = 5
|
||||
Me.Label3.Text = "Max Round :"
|
||||
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'Label7
|
||||
'
|
||||
Me.Label7.BackColor = System.Drawing.Color.Yellow
|
||||
Me.Label7.ForeColor = System.Drawing.Color.Black
|
||||
Me.Label7.Location = New System.Drawing.Point(10, 100)
|
||||
Me.Label7.Name = "Label7"
|
||||
Me.Label7.Size = New System.Drawing.Size(120, 28)
|
||||
Me.Label7.TabIndex = 5
|
||||
Me.Label7.Text = "Referee :"
|
||||
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
'
|
||||
'cbo_blue
|
||||
'
|
||||
Me.cbo_blue.FormattingEnabled = True
|
||||
Me.cbo_blue.Location = New System.Drawing.Point(135, 30)
|
||||
Me.cbo_blue.Name = "cbo_blue"
|
||||
Me.cbo_blue.Size = New System.Drawing.Size(245, 28)
|
||||
Me.cbo_blue.TabIndex = 7
|
||||
'
|
||||
'cbo_red
|
||||
'
|
||||
Me.cbo_red.FormattingEnabled = True
|
||||
Me.cbo_red.Location = New System.Drawing.Point(135, 65)
|
||||
Me.cbo_red.Name = "cbo_red"
|
||||
Me.cbo_red.Size = New System.Drawing.Size(245, 28)
|
||||
Me.cbo_red.TabIndex = 8
|
||||
'
|
||||
'cbo_referee
|
||||
'
|
||||
Me.cbo_referee.FormattingEnabled = True
|
||||
Me.cbo_referee.Location = New System.Drawing.Point(135, 100)
|
||||
Me.cbo_referee.Name = "cbo_referee"
|
||||
Me.cbo_referee.Size = New System.Drawing.Size(245, 28)
|
||||
Me.cbo_referee.TabIndex = 9
|
||||
'
|
||||
'GroupBox2
|
||||
'
|
||||
Me.GroupBox2.Controls.Add(Me.Label1)
|
||||
Me.GroupBox2.Controls.Add(Me.cbo_referee)
|
||||
Me.GroupBox2.Controls.Add(Me.Label2)
|
||||
Me.GroupBox2.Controls.Add(Me.cbo_red)
|
||||
Me.GroupBox2.Controls.Add(Me.Label7)
|
||||
Me.GroupBox2.Controls.Add(Me.cbo_blue)
|
||||
Me.GroupBox2.ForeColor = System.Drawing.Color.White
|
||||
Me.GroupBox2.Location = New System.Drawing.Point(10, 10)
|
||||
Me.GroupBox2.Name = "GroupBox2"
|
||||
Me.GroupBox2.Size = New System.Drawing.Size(390, 140)
|
||||
Me.GroupBox2.TabIndex = 10
|
||||
Me.GroupBox2.TabStop = False
|
||||
Me.GroupBox2.Text = "[ COMPETITORS ]"
|
||||
'
|
||||
'pb_blue_picture
|
||||
'
|
||||
Me.pb_blue_picture.BackColor = System.Drawing.Color.Blue
|
||||
Me.pb_blue_picture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_blue_picture.Location = New System.Drawing.Point(410, 70)
|
||||
Me.pb_blue_picture.Name = "pb_blue_picture"
|
||||
Me.pb_blue_picture.Size = New System.Drawing.Size(200, 210)
|
||||
Me.pb_blue_picture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_blue_picture.TabIndex = 11
|
||||
Me.pb_blue_picture.TabStop = False
|
||||
'
|
||||
'pb_red_picture
|
||||
'
|
||||
Me.pb_red_picture.BackColor = System.Drawing.Color.Red
|
||||
Me.pb_red_picture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_red_picture.Location = New System.Drawing.Point(820, 70)
|
||||
Me.pb_red_picture.Name = "pb_red_picture"
|
||||
Me.pb_red_picture.Size = New System.Drawing.Size(200, 210)
|
||||
Me.pb_red_picture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_red_picture.TabIndex = 12
|
||||
Me.pb_red_picture.TabStop = False
|
||||
'
|
||||
'pb_blue_flag
|
||||
'
|
||||
Me.pb_blue_flag.BackColor = System.Drawing.Color.Blue
|
||||
Me.pb_blue_flag.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_blue_flag.Location = New System.Drawing.Point(410, 286)
|
||||
Me.pb_blue_flag.Name = "pb_blue_flag"
|
||||
Me.pb_blue_flag.Size = New System.Drawing.Size(200, 105)
|
||||
Me.pb_blue_flag.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_blue_flag.TabIndex = 13
|
||||
Me.pb_blue_flag.TabStop = False
|
||||
'
|
||||
'pb_red_flag
|
||||
'
|
||||
Me.pb_red_flag.BackColor = System.Drawing.Color.Red
|
||||
Me.pb_red_flag.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_red_flag.Location = New System.Drawing.Point(820, 285)
|
||||
Me.pb_red_flag.Name = "pb_red_flag"
|
||||
Me.pb_red_flag.Size = New System.Drawing.Size(200, 105)
|
||||
Me.pb_red_flag.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_red_flag.TabIndex = 14
|
||||
Me.pb_red_flag.TabStop = False
|
||||
'
|
||||
'btn_start
|
||||
'
|
||||
Me.btn_start.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_start.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_start.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_start.Location = New System.Drawing.Point(210, 345)
|
||||
Me.btn_start.Name = "btn_start"
|
||||
Me.btn_start.Size = New System.Drawing.Size(190, 45)
|
||||
Me.btn_start.TabIndex = 15
|
||||
Me.btn_start.Text = "Start"
|
||||
Me.btn_start.UseVisualStyleBackColor = True
|
||||
'
|
||||
'pb_referee_flag
|
||||
'
|
||||
Me.pb_referee_flag.BackColor = System.Drawing.Color.Yellow
|
||||
Me.pb_referee_flag.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_referee_flag.Location = New System.Drawing.Point(615, 286)
|
||||
Me.pb_referee_flag.Name = "pb_referee_flag"
|
||||
Me.pb_referee_flag.Size = New System.Drawing.Size(200, 105)
|
||||
Me.pb_referee_flag.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_referee_flag.TabIndex = 17
|
||||
Me.pb_referee_flag.TabStop = False
|
||||
'
|
||||
'pb_referee_picture
|
||||
'
|
||||
Me.pb_referee_picture.BackColor = System.Drawing.Color.Yellow
|
||||
Me.pb_referee_picture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.pb_referee_picture.Location = New System.Drawing.Point(615, 70)
|
||||
Me.pb_referee_picture.Name = "pb_referee_picture"
|
||||
Me.pb_referee_picture.Size = New System.Drawing.Size(201, 210)
|
||||
Me.pb_referee_picture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_referee_picture.TabIndex = 16
|
||||
Me.pb_referee_picture.TabStop = False
|
||||
'
|
||||
'btn_back
|
||||
'
|
||||
Me.btn_back.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_back.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_back.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_back.Location = New System.Drawing.Point(10, 345)
|
||||
Me.btn_back.Name = "btn_back"
|
||||
Me.btn_back.Size = New System.Drawing.Size(190, 45)
|
||||
Me.btn_back.TabIndex = 18
|
||||
Me.btn_back.Text = "< Back"
|
||||
Me.btn_back.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Label8
|
||||
'
|
||||
Me.Label8.BackColor = System.Drawing.Color.Blue
|
||||
Me.Label8.ForeColor = System.Drawing.Color.White
|
||||
Me.Label8.Location = New System.Drawing.Point(410, 10)
|
||||
Me.Label8.Name = "Label8"
|
||||
Me.Label8.Size = New System.Drawing.Size(200, 55)
|
||||
Me.Label8.TabIndex = 19
|
||||
Me.Label8.Text = "BLUE CORNER" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "(CHONG)"
|
||||
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'Label9
|
||||
'
|
||||
Me.Label9.BackColor = System.Drawing.Color.Red
|
||||
Me.Label9.ForeColor = System.Drawing.Color.White
|
||||
Me.Label9.Location = New System.Drawing.Point(820, 10)
|
||||
Me.Label9.Name = "Label9"
|
||||
Me.Label9.Size = New System.Drawing.Size(200, 55)
|
||||
Me.Label9.TabIndex = 20
|
||||
Me.Label9.Text = "RED CORNER" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "(HONG)"
|
||||
Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'Label10
|
||||
'
|
||||
Me.Label10.BackColor = System.Drawing.Color.Yellow
|
||||
Me.Label10.ForeColor = System.Drawing.Color.Black
|
||||
Me.Label10.Location = New System.Drawing.Point(615, 10)
|
||||
Me.Label10.Name = "Label10"
|
||||
Me.Label10.Size = New System.Drawing.Size(200, 55)
|
||||
Me.Label10.TabIndex = 21
|
||||
Me.Label10.Text = "REFEREE" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "(SIMPAN)"
|
||||
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'frm_friendly_match
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(10.0!, 20.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.ClientSize = New System.Drawing.Size(1032, 401)
|
||||
Me.Controls.Add(Me.Label8)
|
||||
Me.Controls.Add(Me.Label9)
|
||||
Me.Controls.Add(Me.Label10)
|
||||
Me.Controls.Add(Me.btn_back)
|
||||
Me.Controls.Add(Me.pb_referee_flag)
|
||||
Me.Controls.Add(Me.pb_referee_picture)
|
||||
Me.Controls.Add(Me.btn_start)
|
||||
Me.Controls.Add(Me.pb_red_flag)
|
||||
Me.Controls.Add(Me.pb_blue_flag)
|
||||
Me.Controls.Add(Me.pb_red_picture)
|
||||
Me.Controls.Add(Me.pb_blue_picture)
|
||||
Me.Controls.Add(Me.GroupBox2)
|
||||
Me.Controls.Add(Me.GroupBox1)
|
||||
Me.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
|
||||
Me.Margin = New System.Windows.Forms.Padding(5)
|
||||
Me.MaximizeBox = False
|
||||
Me.MinimizeBox = False
|
||||
Me.Name = "frm_friendly_match"
|
||||
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||
Me.Text = "Create New Match"
|
||||
Me.GroupBox1.ResumeLayout(False)
|
||||
Me.GroupBox1.PerformLayout()
|
||||
Me.GroupBox2.ResumeLayout(False)
|
||||
CType(Me.pb_blue_picture, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_red_picture, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_blue_flag, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_red_flag, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_referee_flag, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_referee_picture, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
Friend WithEvents Label1 As System.Windows.Forms.Label
|
||||
Friend WithEvents Label2 As System.Windows.Forms.Label
|
||||
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
|
||||
Friend WithEvents txt_break_time As System.Windows.Forms.MaskedTextBox
|
||||
Friend WithEvents Label6 As System.Windows.Forms.Label
|
||||
Friend WithEvents txt_round_time As System.Windows.Forms.MaskedTextBox
|
||||
Friend WithEvents Label4 As System.Windows.Forms.Label
|
||||
Friend WithEvents Label3 As System.Windows.Forms.Label
|
||||
Friend WithEvents Label7 As System.Windows.Forms.Label
|
||||
Friend WithEvents cbo_blue As System.Windows.Forms.ComboBox
|
||||
Friend WithEvents cbo_red As System.Windows.Forms.ComboBox
|
||||
Friend WithEvents cbo_referee As System.Windows.Forms.ComboBox
|
||||
Friend WithEvents chk_sudden_death As System.Windows.Forms.CheckBox
|
||||
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
|
||||
Friend WithEvents pb_blue_picture As System.Windows.Forms.PictureBox
|
||||
Friend WithEvents pb_red_picture As System.Windows.Forms.PictureBox
|
||||
Friend WithEvents pb_blue_flag As System.Windows.Forms.PictureBox
|
||||
Friend WithEvents pb_red_flag As System.Windows.Forms.PictureBox
|
||||
Friend WithEvents Label5 As System.Windows.Forms.Label
|
||||
Friend WithEvents txt_rounds As System.Windows.Forms.MaskedTextBox
|
||||
Friend WithEvents btn_start As System.Windows.Forms.Button
|
||||
Friend WithEvents pb_referee_flag As PictureBox
|
||||
Friend WithEvents pb_referee_picture As PictureBox
|
||||
Friend WithEvents btn_back As Button
|
||||
Friend WithEvents Label8 As Label
|
||||
Friend WithEvents Label9 As Label
|
||||
Friend WithEvents Label10 As Label
|
||||
Friend WithEvents Button1 As Button
|
||||
End Class
|
||||
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@@ -0,0 +1,217 @@
|
||||
Imports System.ComponentModel
|
||||
Imports System.IO
|
||||
Imports MySql.Data.MySqlClient
|
||||
|
||||
Public Class frm_friendly_match
|
||||
|
||||
Public FriendlyMatch As friendly_match
|
||||
Public red As friendly_fighter
|
||||
Public blue As friendly_fighter
|
||||
Public referee As person
|
||||
|
||||
Private Sub frm_new_match_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
|
||||
SubPopulateComboBox(GetPersonList(), cbo_blue)
|
||||
SubPopulateComboBox(GetPersonList(), cbo_referee)
|
||||
SubPopulateComboBox(GetPersonList(), cbo_red)
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub cbo_blue_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbo_blue.SelectedIndexChanged
|
||||
|
||||
Try
|
||||
|
||||
blue = New friendly_fighter(cbo_blue.SelectedValue)
|
||||
|
||||
Try
|
||||
pb_blue_picture.Image = Image.FromStream(blue.Person.PICTURE)
|
||||
Catch ex As Exception
|
||||
pb_blue_picture.Image = Nothing
|
||||
End Try
|
||||
|
||||
Try
|
||||
pb_blue_flag.Image = Image.FromStream(blue.Person.TEAM.Country.Flag)
|
||||
Catch ex As Exception
|
||||
pb_blue_flag.Image = Nothing
|
||||
End Try
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub cbo_red_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbo_red.SelectedIndexChanged
|
||||
|
||||
Try
|
||||
|
||||
red = New friendly_fighter(cbo_red.SelectedValue)
|
||||
|
||||
Try
|
||||
pb_red_picture.Image = Image.FromStream(red.Person.PICTURE)
|
||||
Catch ex As Exception
|
||||
pb_red_picture.Image = Nothing
|
||||
End Try
|
||||
|
||||
Try
|
||||
pb_red_flag.Image = Image.FromStream(red.Person.TEAM.Country.Flag)
|
||||
Catch ex As Exception
|
||||
pb_red_flag.Image = Nothing
|
||||
End Try
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub cbo_referee_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cbo_referee.SelectedIndexChanged
|
||||
|
||||
Try
|
||||
|
||||
referee = New person(cbo_referee.SelectedValue)
|
||||
|
||||
Try
|
||||
pb_referee_picture.Image = Image.FromStream(referee.PICTURE)
|
||||
Catch ex As Exception
|
||||
pb_referee_picture.Image = Nothing
|
||||
End Try
|
||||
|
||||
Try
|
||||
pb_referee_flag.Image = Image.FromStream(referee.TEAM.Country.Flag)
|
||||
Catch ex As Exception
|
||||
pb_referee_flag.Image = Nothing
|
||||
End Try
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub btn_back_Click(sender As Object, e As EventArgs) Handles btn_back.Click
|
||||
|
||||
frm_main.Show()
|
||||
Me.Close()
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub frm_new_match_Closing(sender As Object, e As CancelEventArgs) Handles Me.Closing
|
||||
|
||||
frm_main.Show()
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub pb_blue_picture_Click(sender As Object, e As EventArgs) Handles pb_blue_picture.Click
|
||||
|
||||
If IsNothing(pb_blue_picture.Image) Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_blue_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
blue.Person.UpdatePicture(pb_blue_picture)
|
||||
|
||||
ElseIf Not IsNothing(pb_blue_picture.Image) Then
|
||||
|
||||
Dim iPictureUpdate As DialogResult = MessageBox.Show("Would You Like To Update The Players Picture ?", "Picture Update", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
||||
|
||||
If iPictureUpdate = DialogResult.Yes Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_blue_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
blue.Person.UpdatePicture(pb_blue_picture)
|
||||
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub pb_referee_picture_Click(sender As Object, e As EventArgs) Handles pb_referee_picture.Click
|
||||
|
||||
If IsNothing(pb_referee_picture.Image) Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_referee_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
referee.UpdatePicture(pb_referee_picture)
|
||||
|
||||
ElseIf Not IsNothing(pb_referee_picture.Image) Then
|
||||
|
||||
Dim iPictureUpdate As DialogResult = MessageBox.Show("Would You Like To Update The Players Picture ?", "Picture Update", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
||||
|
||||
If iPictureUpdate = DialogResult.Yes Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_referee_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
referee.UpdatePicture(pb_referee_picture)
|
||||
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub pb_red_picture_Click(sender As Object, e As EventArgs) Handles pb_red_picture.Click
|
||||
|
||||
If IsNothing(pb_red_picture.Image) Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_red_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
red.Person.UpdatePicture(pb_red_picture)
|
||||
|
||||
ElseIf Not IsNothing(pb_red_picture.Image) Then
|
||||
|
||||
Dim iPictureUpdate As DialogResult = MessageBox.Show("Would You Like To Update The Players Picture ?", "Picture Update", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
||||
|
||||
If iPictureUpdate = DialogResult.Yes Then
|
||||
|
||||
' Open Picture File
|
||||
ResizePicture(pb_red_picture, 500, 500)
|
||||
|
||||
' Store The Picture
|
||||
red.Person.UpdatePicture(pb_red_picture)
|
||||
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub btn_start_Click(sender As Object, e As EventArgs) Handles btn_start.Click
|
||||
|
||||
' checking routine
|
||||
If CheckEntry() = True Then
|
||||
FriendlyMatch = New friendly_match(blue.Person.ID, red.Person.ID, referee.ID, 3)
|
||||
frm_friendly_scorecontrol.Show()
|
||||
Me.Hide()
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Function CheckEntry() As Boolean
|
||||
|
||||
If blue.Person.ID = red.Person.ID Then
|
||||
MsgBox("Blue & Red Fighters Can't Be The Same Person", vbOKOnly + vbCritical, "Fighters Selection Error")
|
||||
Return False
|
||||
ElseIf blue.Person.ID = referee.ID Then
|
||||
MsgBox("Blue Fighter & Referee Can't Be The Same Person", vbOKOnly + vbCritical, "Fighter Referee Selection Error")
|
||||
Return False
|
||||
ElseIf red.Person.ID = referee.ID Then
|
||||
MsgBox("Red Fighter & Referee Cant Be The Same Person", vbOKOnly + vbCritical, "Fighter Referee Selection Error")
|
||||
Return False
|
||||
Else
|
||||
Return True
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
End Class
|
||||
+811
@@ -0,0 +1,811 @@
|
||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||
Partial Class frm_friendly_scorecontrol
|
||||
Inherits System.Windows.Forms.Form
|
||||
|
||||
'Form overrides dispose to clean up the component list.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
Try
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
Finally
|
||||
MyBase.Dispose(disposing)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Required by the Windows Form Designer
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'NOTE: The following procedure is required by the Windows Form Designer
|
||||
'It can be modified using the Windows Form Designer.
|
||||
'Do not modify it using the code editor.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Me.lbl_blue_gender = New System.Windows.Forms.Label()
|
||||
Me.btn_end = New System.Windows.Forms.Button()
|
||||
Me.btn_start = New System.Windows.Forms.Button()
|
||||
Me.round_countdown = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.btn_red_ngf = New System.Windows.Forms.Button()
|
||||
Me.btn_red_pgf = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_ngf = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_pgf = New System.Windows.Forms.Button()
|
||||
Me.tmr_display = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.break_countdown = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.lbl_red_gender = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_weight_category = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_weight_category = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_weight_class = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_weight_class = New System.Windows.Forms.Label()
|
||||
Me.btn_dec_match = New System.Windows.Forms.Button()
|
||||
Me.btn_inc_match = New System.Windows.Forms.Button()
|
||||
Me.pb_red_logo = New System.Windows.Forms.PictureBox()
|
||||
Me.pb_blue_logo = New System.Windows.Forms.PictureBox()
|
||||
Me.btn_red_dhkn = New System.Windows.Forms.Button()
|
||||
Me.btn_red_dhkp = New System.Windows.Forms.Button()
|
||||
Me.btn_red_sbkn = New System.Windows.Forms.Button()
|
||||
Me.btn_red_sbkp = New System.Windows.Forms.Button()
|
||||
Me.btn_red_dbkn = New System.Windows.Forms.Button()
|
||||
Me.btn_red_dbkp = New System.Windows.Forms.Button()
|
||||
Me.btn_red_shkn = New System.Windows.Forms.Button()
|
||||
Me.btn_red_shkp = New System.Windows.Forms.Button()
|
||||
Me.lbl_round = New System.Windows.Forms.Label()
|
||||
Me.pb_red_flag = New System.Windows.Forms.PictureBox()
|
||||
Me.lbl_red_gamjum = New System.Windows.Forms.Label()
|
||||
Me.Label5 = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_code_3 = New System.Windows.Forms.Label()
|
||||
Me.btn_blue_dbkn = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_dbkp = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_sbkn = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_sbkp = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_dhkn = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_dhkp = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_shkn = New System.Windows.Forms.Button()
|
||||
Me.btn_blue_shkp = New System.Windows.Forms.Button()
|
||||
Me.lbl_match_number = New System.Windows.Forms.Label()
|
||||
Me.lbl_time = New System.Windows.Forms.Label()
|
||||
Me.lbl_court_number = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_team = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_score = New System.Windows.Forms.Label()
|
||||
Me.lbl_red_fighter_name = New System.Windows.Forms.Label()
|
||||
Me.pb_blue_flag = New System.Windows.Forms.PictureBox()
|
||||
Me.lbl_blue_gamjum = New System.Windows.Forms.Label()
|
||||
Me.Label11 = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_code_3 = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_team = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_score = New System.Windows.Forms.Label()
|
||||
Me.lbl_blue_fighter_name = New System.Windows.Forms.Label()
|
||||
CType(Me.pb_red_logo, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_blue_logo, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_red_flag, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.pb_blue_flag, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'lbl_blue_gender
|
||||
'
|
||||
Me.lbl_blue_gender.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_gender.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_blue_gender.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_blue_gender.Location = New System.Drawing.Point(135, 335)
|
||||
Me.lbl_blue_gender.Name = "lbl_blue_gender"
|
||||
Me.lbl_blue_gender.Size = New System.Drawing.Size(235, 30)
|
||||
Me.lbl_blue_gender.TabIndex = 123
|
||||
Me.lbl_blue_gender.Text = "Gender"
|
||||
Me.lbl_blue_gender.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'btn_end
|
||||
'
|
||||
Me.btn_end.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_end.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_end.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_end.Location = New System.Drawing.Point(375, 330)
|
||||
Me.btn_end.Name = "btn_end"
|
||||
Me.btn_end.Size = New System.Drawing.Size(85, 30)
|
||||
Me.btn_end.TabIndex = 110
|
||||
Me.btn_end.Text = "END"
|
||||
Me.btn_end.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_start
|
||||
'
|
||||
Me.btn_start.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_start.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_start.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_start.Location = New System.Drawing.Point(375, 295)
|
||||
Me.btn_start.Name = "btn_start"
|
||||
Me.btn_start.Size = New System.Drawing.Size(85, 30)
|
||||
Me.btn_start.TabIndex = 109
|
||||
Me.btn_start.Text = "START"
|
||||
Me.btn_start.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_ngf
|
||||
'
|
||||
Me.btn_red_ngf.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_ngf.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_ngf.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_ngf.Location = New System.Drawing.Point(705, 340)
|
||||
Me.btn_red_ngf.Name = "btn_red_ngf"
|
||||
Me.btn_red_ngf.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_red_ngf.TabIndex = 114
|
||||
Me.btn_red_ngf.Text = "-"
|
||||
Me.btn_red_ngf.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_pgf
|
||||
'
|
||||
Me.btn_red_pgf.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_pgf.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_pgf.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_pgf.Location = New System.Drawing.Point(705, 310)
|
||||
Me.btn_red_pgf.Name = "btn_red_pgf"
|
||||
Me.btn_red_pgf.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_red_pgf.TabIndex = 113
|
||||
Me.btn_red_pgf.Text = "+"
|
||||
Me.btn_red_pgf.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_ngf
|
||||
'
|
||||
Me.btn_blue_ngf.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_ngf.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_ngf.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_ngf.Location = New System.Drawing.Point(105, 340)
|
||||
Me.btn_blue_ngf.Name = "btn_blue_ngf"
|
||||
Me.btn_blue_ngf.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_blue_ngf.TabIndex = 112
|
||||
Me.btn_blue_ngf.Text = "-"
|
||||
Me.btn_blue_ngf.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_pgf
|
||||
'
|
||||
Me.btn_blue_pgf.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_pgf.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_pgf.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_pgf.Location = New System.Drawing.Point(105, 310)
|
||||
Me.btn_blue_pgf.Name = "btn_blue_pgf"
|
||||
Me.btn_blue_pgf.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_blue_pgf.TabIndex = 111
|
||||
Me.btn_blue_pgf.Text = "+"
|
||||
Me.btn_blue_pgf.UseVisualStyleBackColor = True
|
||||
'
|
||||
'tmr_display
|
||||
'
|
||||
Me.tmr_display.Enabled = True
|
||||
Me.tmr_display.Interval = 1
|
||||
'
|
||||
'lbl_red_gender
|
||||
'
|
||||
Me.lbl_red_gender.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_gender.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_red_gender.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_red_gender.Location = New System.Drawing.Point(465, 335)
|
||||
Me.lbl_red_gender.Name = "lbl_red_gender"
|
||||
Me.lbl_red_gender.Size = New System.Drawing.Size(235, 30)
|
||||
Me.lbl_red_gender.TabIndex = 124
|
||||
Me.lbl_red_gender.Text = "Gender"
|
||||
Me.lbl_red_gender.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_weight_category
|
||||
'
|
||||
Me.lbl_red_weight_category.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_weight_category.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_red_weight_category.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_red_weight_category.Location = New System.Drawing.Point(635, 140)
|
||||
Me.lbl_red_weight_category.Name = "lbl_red_weight_category"
|
||||
Me.lbl_red_weight_category.Size = New System.Drawing.Size(95, 30)
|
||||
Me.lbl_red_weight_category.TabIndex = 122
|
||||
Me.lbl_red_weight_category.Text = "Category"
|
||||
Me.lbl_red_weight_category.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_weight_category
|
||||
'
|
||||
Me.lbl_blue_weight_category.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_weight_category.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_blue_weight_category.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_blue_weight_category.Location = New System.Drawing.Point(105, 140)
|
||||
Me.lbl_blue_weight_category.Name = "lbl_blue_weight_category"
|
||||
Me.lbl_blue_weight_category.Size = New System.Drawing.Size(95, 30)
|
||||
Me.lbl_blue_weight_category.TabIndex = 121
|
||||
Me.lbl_blue_weight_category.Text = "Category"
|
||||
Me.lbl_blue_weight_category.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_weight_class
|
||||
'
|
||||
Me.lbl_red_weight_class.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_weight_class.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_red_weight_class.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_red_weight_class.Location = New System.Drawing.Point(425, 140)
|
||||
Me.lbl_red_weight_class.Name = "lbl_red_weight_class"
|
||||
Me.lbl_red_weight_class.Size = New System.Drawing.Size(120, 30)
|
||||
Me.lbl_red_weight_class.TabIndex = 120
|
||||
Me.lbl_red_weight_class.Text = "Weight Class"
|
||||
Me.lbl_red_weight_class.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_weight_class
|
||||
'
|
||||
Me.lbl_blue_weight_class.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_weight_class.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_blue_weight_class.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_blue_weight_class.Location = New System.Drawing.Point(290, 140)
|
||||
Me.lbl_blue_weight_class.Name = "lbl_blue_weight_class"
|
||||
Me.lbl_blue_weight_class.Size = New System.Drawing.Size(120, 30)
|
||||
Me.lbl_blue_weight_class.TabIndex = 119
|
||||
Me.lbl_blue_weight_class.Text = "Weight Class"
|
||||
Me.lbl_blue_weight_class.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'btn_dec_match
|
||||
'
|
||||
Me.btn_dec_match.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_dec_match.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_dec_match.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_dec_match.Location = New System.Drawing.Point(800, 50)
|
||||
Me.btn_dec_match.Name = "btn_dec_match"
|
||||
Me.btn_dec_match.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_dec_match.TabIndex = 118
|
||||
Me.btn_dec_match.Text = "-"
|
||||
Me.btn_dec_match.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_inc_match
|
||||
'
|
||||
Me.btn_inc_match.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_inc_match.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_inc_match.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_inc_match.Location = New System.Drawing.Point(800, 15)
|
||||
Me.btn_inc_match.Name = "btn_inc_match"
|
||||
Me.btn_inc_match.Size = New System.Drawing.Size(25, 25)
|
||||
Me.btn_inc_match.TabIndex = 117
|
||||
Me.btn_inc_match.Text = "+"
|
||||
Me.btn_inc_match.UseVisualStyleBackColor = True
|
||||
'
|
||||
'pb_red_logo
|
||||
'
|
||||
Me.pb_red_logo.BackColor = System.Drawing.Color.Transparent
|
||||
Me.pb_red_logo.Location = New System.Drawing.Point(740, 200)
|
||||
Me.pb_red_logo.Name = "pb_red_logo"
|
||||
Me.pb_red_logo.Size = New System.Drawing.Size(90, 90)
|
||||
Me.pb_red_logo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_red_logo.TabIndex = 116
|
||||
Me.pb_red_logo.TabStop = False
|
||||
'
|
||||
'pb_blue_logo
|
||||
'
|
||||
Me.pb_blue_logo.BackColor = System.Drawing.Color.Transparent
|
||||
Me.pb_blue_logo.Location = New System.Drawing.Point(5, 200)
|
||||
Me.pb_blue_logo.Name = "pb_blue_logo"
|
||||
Me.pb_blue_logo.Size = New System.Drawing.Size(90, 90)
|
||||
Me.pb_blue_logo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_blue_logo.TabIndex = 115
|
||||
Me.pb_blue_logo.TabStop = False
|
||||
'
|
||||
'btn_red_dhkn
|
||||
'
|
||||
Me.btn_red_dhkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_dhkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_dhkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_dhkn.Location = New System.Drawing.Point(630, 450)
|
||||
Me.btn_red_dhkn.Name = "btn_red_dhkn"
|
||||
Me.btn_red_dhkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_dhkn.TabIndex = 108
|
||||
Me.btn_red_dhkn.Text = "Direct HK -"
|
||||
Me.btn_red_dhkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_dhkp
|
||||
'
|
||||
Me.btn_red_dhkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_dhkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_dhkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_dhkp.Location = New System.Drawing.Point(630, 420)
|
||||
Me.btn_red_dhkp.Name = "btn_red_dhkp"
|
||||
Me.btn_red_dhkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_dhkp.TabIndex = 107
|
||||
Me.btn_red_dhkp.Text = "Direct HK +"
|
||||
Me.btn_red_dhkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_sbkn
|
||||
'
|
||||
Me.btn_red_sbkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_sbkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_sbkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_sbkn.Location = New System.Drawing.Point(525, 450)
|
||||
Me.btn_red_sbkn.Name = "btn_red_sbkn"
|
||||
Me.btn_red_sbkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_sbkn.TabIndex = 106
|
||||
Me.btn_red_sbkn.Text = "Spin BK -"
|
||||
Me.btn_red_sbkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_sbkp
|
||||
'
|
||||
Me.btn_red_sbkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_sbkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_sbkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_sbkp.Location = New System.Drawing.Point(525, 420)
|
||||
Me.btn_red_sbkp.Name = "btn_red_sbkp"
|
||||
Me.btn_red_sbkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_sbkp.TabIndex = 105
|
||||
Me.btn_red_sbkp.Text = "Spin BK +"
|
||||
Me.btn_red_sbkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_dbkn
|
||||
'
|
||||
Me.btn_red_dbkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_dbkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_dbkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_dbkn.Location = New System.Drawing.Point(420, 450)
|
||||
Me.btn_red_dbkn.Name = "btn_red_dbkn"
|
||||
Me.btn_red_dbkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_dbkn.TabIndex = 104
|
||||
Me.btn_red_dbkn.Text = "Direct BK -"
|
||||
Me.btn_red_dbkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_dbkp
|
||||
'
|
||||
Me.btn_red_dbkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_dbkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_dbkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_dbkp.Location = New System.Drawing.Point(420, 420)
|
||||
Me.btn_red_dbkp.Name = "btn_red_dbkp"
|
||||
Me.btn_red_dbkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_red_dbkp.TabIndex = 103
|
||||
Me.btn_red_dbkp.Text = "Direct BK +"
|
||||
Me.btn_red_dbkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_shkn
|
||||
'
|
||||
Me.btn_red_shkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_shkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_shkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_shkn.Location = New System.Drawing.Point(735, 450)
|
||||
Me.btn_red_shkn.Name = "btn_red_shkn"
|
||||
Me.btn_red_shkn.Size = New System.Drawing.Size(95, 25)
|
||||
Me.btn_red_shkn.TabIndex = 102
|
||||
Me.btn_red_shkn.Text = "Spin HK -"
|
||||
Me.btn_red_shkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_red_shkp
|
||||
'
|
||||
Me.btn_red_shkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_red_shkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_red_shkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_red_shkp.Location = New System.Drawing.Point(735, 420)
|
||||
Me.btn_red_shkp.Name = "btn_red_shkp"
|
||||
Me.btn_red_shkp.Size = New System.Drawing.Size(95, 25)
|
||||
Me.btn_red_shkp.TabIndex = 101
|
||||
Me.btn_red_shkp.Text = "Spin HK +"
|
||||
Me.btn_red_shkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'lbl_round
|
||||
'
|
||||
Me.lbl_round.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.lbl_round.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_round.Font = New System.Drawing.Font("Microsoft Sans Serif", 48.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_round.ForeColor = System.Drawing.Color.Lime
|
||||
Me.lbl_round.Location = New System.Drawing.Point(375, 185)
|
||||
Me.lbl_round.Name = "lbl_round"
|
||||
Me.lbl_round.Size = New System.Drawing.Size(85, 100)
|
||||
Me.lbl_round.TabIndex = 100
|
||||
Me.lbl_round.Text = "1"
|
||||
Me.lbl_round.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'pb_red_flag
|
||||
'
|
||||
Me.pb_red_flag.BackColor = System.Drawing.Color.Transparent
|
||||
Me.pb_red_flag.Location = New System.Drawing.Point(740, 135)
|
||||
Me.pb_red_flag.Name = "pb_red_flag"
|
||||
Me.pb_red_flag.Size = New System.Drawing.Size(90, 60)
|
||||
Me.pb_red_flag.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_red_flag.TabIndex = 99
|
||||
Me.pb_red_flag.TabStop = False
|
||||
'
|
||||
'lbl_red_gamjum
|
||||
'
|
||||
Me.lbl_red_gamjum.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_gamjum.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_red_gamjum.Font = New System.Drawing.Font("Microsoft Sans Serif", 52.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_red_gamjum.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_red_gamjum.Location = New System.Drawing.Point(740, 340)
|
||||
Me.lbl_red_gamjum.Name = "lbl_red_gamjum"
|
||||
Me.lbl_red_gamjum.Size = New System.Drawing.Size(90, 75)
|
||||
Me.lbl_red_gamjum.TabIndex = 98
|
||||
Me.lbl_red_gamjum.Text = "00"
|
||||
Me.lbl_red_gamjum.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'Label5
|
||||
'
|
||||
Me.Label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.Label5.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.Label5.ForeColor = System.Drawing.Color.White
|
||||
Me.Label5.Location = New System.Drawing.Point(740, 295)
|
||||
Me.Label5.Name = "Label5"
|
||||
Me.Label5.Size = New System.Drawing.Size(90, 40)
|
||||
Me.Label5.TabIndex = 97
|
||||
Me.Label5.Text = "GAMJUM"
|
||||
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_code_3
|
||||
'
|
||||
Me.lbl_red_code_3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_red_code_3.Font = New System.Drawing.Font("Microsoft Sans Serif", 25.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_red_code_3.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_red_code_3.Location = New System.Drawing.Point(740, 90)
|
||||
Me.lbl_red_code_3.Name = "lbl_red_code_3"
|
||||
Me.lbl_red_code_3.Size = New System.Drawing.Size(90, 40)
|
||||
Me.lbl_red_code_3.TabIndex = 96
|
||||
Me.lbl_red_code_3.Text = "ISO3"
|
||||
Me.lbl_red_code_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'btn_blue_dbkn
|
||||
'
|
||||
Me.btn_blue_dbkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_dbkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_dbkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_dbkn.Location = New System.Drawing.Point(315, 450)
|
||||
Me.btn_blue_dbkn.Name = "btn_blue_dbkn"
|
||||
Me.btn_blue_dbkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_dbkn.TabIndex = 95
|
||||
Me.btn_blue_dbkn.Text = "- Direct BK"
|
||||
Me.btn_blue_dbkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_dbkp
|
||||
'
|
||||
Me.btn_blue_dbkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_dbkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_dbkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_dbkp.Location = New System.Drawing.Point(315, 420)
|
||||
Me.btn_blue_dbkp.Name = "btn_blue_dbkp"
|
||||
Me.btn_blue_dbkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_dbkp.TabIndex = 94
|
||||
Me.btn_blue_dbkp.Text = "+ Direct BK"
|
||||
Me.btn_blue_dbkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_sbkn
|
||||
'
|
||||
Me.btn_blue_sbkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_sbkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_sbkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_sbkn.Location = New System.Drawing.Point(210, 450)
|
||||
Me.btn_blue_sbkn.Name = "btn_blue_sbkn"
|
||||
Me.btn_blue_sbkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_sbkn.TabIndex = 93
|
||||
Me.btn_blue_sbkn.Text = "- Spin BK"
|
||||
Me.btn_blue_sbkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_sbkp
|
||||
'
|
||||
Me.btn_blue_sbkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_sbkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_sbkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_sbkp.Location = New System.Drawing.Point(210, 420)
|
||||
Me.btn_blue_sbkp.Name = "btn_blue_sbkp"
|
||||
Me.btn_blue_sbkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_sbkp.TabIndex = 92
|
||||
Me.btn_blue_sbkp.Text = "+ Spin BK"
|
||||
Me.btn_blue_sbkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_dhkn
|
||||
'
|
||||
Me.btn_blue_dhkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_dhkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_dhkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_dhkn.Location = New System.Drawing.Point(105, 450)
|
||||
Me.btn_blue_dhkn.Name = "btn_blue_dhkn"
|
||||
Me.btn_blue_dhkn.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_dhkn.TabIndex = 91
|
||||
Me.btn_blue_dhkn.Text = "- Direct HK"
|
||||
Me.btn_blue_dhkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_dhkp
|
||||
'
|
||||
Me.btn_blue_dhkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_dhkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_dhkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_dhkp.Location = New System.Drawing.Point(105, 420)
|
||||
Me.btn_blue_dhkp.Name = "btn_blue_dhkp"
|
||||
Me.btn_blue_dhkp.Size = New System.Drawing.Size(100, 25)
|
||||
Me.btn_blue_dhkp.TabIndex = 90
|
||||
Me.btn_blue_dhkp.Text = "+ Direct HK"
|
||||
Me.btn_blue_dhkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_shkn
|
||||
'
|
||||
Me.btn_blue_shkn.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_shkn.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_shkn.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_shkn.Location = New System.Drawing.Point(5, 450)
|
||||
Me.btn_blue_shkn.Name = "btn_blue_shkn"
|
||||
Me.btn_blue_shkn.Size = New System.Drawing.Size(95, 25)
|
||||
Me.btn_blue_shkn.TabIndex = 89
|
||||
Me.btn_blue_shkn.Text = "- Spin HK"
|
||||
Me.btn_blue_shkn.UseVisualStyleBackColor = True
|
||||
'
|
||||
'btn_blue_shkp
|
||||
'
|
||||
Me.btn_blue_shkp.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||
Me.btn_blue_shkp.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.btn_blue_shkp.ForeColor = System.Drawing.Color.White
|
||||
Me.btn_blue_shkp.Location = New System.Drawing.Point(5, 420)
|
||||
Me.btn_blue_shkp.Name = "btn_blue_shkp"
|
||||
Me.btn_blue_shkp.Size = New System.Drawing.Size(95, 25)
|
||||
Me.btn_blue_shkp.TabIndex = 88
|
||||
Me.btn_blue_shkp.Text = "+ Spin HK"
|
||||
Me.btn_blue_shkp.UseVisualStyleBackColor = True
|
||||
'
|
||||
'lbl_match_number
|
||||
'
|
||||
Me.lbl_match_number.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_match_number.Font = New System.Drawing.Font("Microsoft Sans Serif", 75.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_match_number.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_match_number.Location = New System.Drawing.Point(555, 5)
|
||||
Me.lbl_match_number.Name = "lbl_match_number"
|
||||
Me.lbl_match_number.Size = New System.Drawing.Size(275, 80)
|
||||
Me.lbl_match_number.TabIndex = 87
|
||||
Me.lbl_match_number.Text = "M000"
|
||||
Me.lbl_match_number.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_time
|
||||
'
|
||||
Me.lbl_time.Font = New System.Drawing.Font("Microsoft Sans Serif", 85.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_time.ForeColor = System.Drawing.Color.Lime
|
||||
Me.lbl_time.Location = New System.Drawing.Point(285, -5)
|
||||
Me.lbl_time.Name = "lbl_time"
|
||||
Me.lbl_time.Size = New System.Drawing.Size(265, 95)
|
||||
Me.lbl_time.TabIndex = 86
|
||||
Me.lbl_time.Text = "00:00"
|
||||
Me.lbl_time.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_court_number
|
||||
'
|
||||
Me.lbl_court_number.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_court_number.Font = New System.Drawing.Font("Microsoft Sans Serif", 75.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_court_number.ForeColor = System.Drawing.Color.Yellow
|
||||
Me.lbl_court_number.Location = New System.Drawing.Point(5, 5)
|
||||
Me.lbl_court_number.Name = "lbl_court_number"
|
||||
Me.lbl_court_number.Size = New System.Drawing.Size(275, 80)
|
||||
Me.lbl_court_number.TabIndex = 85
|
||||
Me.lbl_court_number.Text = "C000"
|
||||
Me.lbl_court_number.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_team
|
||||
'
|
||||
Me.lbl_red_team.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_team.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_red_team.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_red_team.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_red_team.Location = New System.Drawing.Point(420, 375)
|
||||
Me.lbl_red_team.Name = "lbl_red_team"
|
||||
Me.lbl_red_team.Size = New System.Drawing.Size(315, 40)
|
||||
Me.lbl_red_team.TabIndex = 84
|
||||
Me.lbl_red_team.Text = "BLUE TEAM"
|
||||
Me.lbl_red_team.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_score
|
||||
'
|
||||
Me.lbl_red_score.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_score.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_red_score.Font = New System.Drawing.Font("Microsoft Sans Serif", 170.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_red_score.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_red_score.Location = New System.Drawing.Point(420, 135)
|
||||
Me.lbl_red_score.Name = "lbl_red_score"
|
||||
Me.lbl_red_score.Size = New System.Drawing.Size(315, 235)
|
||||
Me.lbl_red_score.TabIndex = 83
|
||||
Me.lbl_red_score.Text = "00"
|
||||
Me.lbl_red_score.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_red_fighter_name
|
||||
'
|
||||
Me.lbl_red_fighter_name.BackColor = System.Drawing.Color.Red
|
||||
Me.lbl_red_fighter_name.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_red_fighter_name.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_red_fighter_name.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_red_fighter_name.Location = New System.Drawing.Point(420, 90)
|
||||
Me.lbl_red_fighter_name.Name = "lbl_red_fighter_name"
|
||||
Me.lbl_red_fighter_name.Size = New System.Drawing.Size(315, 40)
|
||||
Me.lbl_red_fighter_name.TabIndex = 82
|
||||
Me.lbl_red_fighter_name.Text = "RED FIGHTER"
|
||||
Me.lbl_red_fighter_name.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'pb_blue_flag
|
||||
'
|
||||
Me.pb_blue_flag.BackColor = System.Drawing.Color.Transparent
|
||||
Me.pb_blue_flag.Location = New System.Drawing.Point(5, 135)
|
||||
Me.pb_blue_flag.Name = "pb_blue_flag"
|
||||
Me.pb_blue_flag.Size = New System.Drawing.Size(90, 60)
|
||||
Me.pb_blue_flag.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
|
||||
Me.pb_blue_flag.TabIndex = 81
|
||||
Me.pb_blue_flag.TabStop = False
|
||||
'
|
||||
'lbl_blue_gamjum
|
||||
'
|
||||
Me.lbl_blue_gamjum.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_gamjum.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_blue_gamjum.Font = New System.Drawing.Font("Microsoft Sans Serif", 52.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_blue_gamjum.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_blue_gamjum.Location = New System.Drawing.Point(5, 340)
|
||||
Me.lbl_blue_gamjum.Name = "lbl_blue_gamjum"
|
||||
Me.lbl_blue_gamjum.Size = New System.Drawing.Size(90, 75)
|
||||
Me.lbl_blue_gamjum.TabIndex = 80
|
||||
Me.lbl_blue_gamjum.Text = "00"
|
||||
Me.lbl_blue_gamjum.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'Label11
|
||||
'
|
||||
Me.Label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.Label11.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.Label11.ForeColor = System.Drawing.Color.White
|
||||
Me.Label11.Location = New System.Drawing.Point(5, 295)
|
||||
Me.Label11.Name = "Label11"
|
||||
Me.Label11.Size = New System.Drawing.Size(90, 40)
|
||||
Me.Label11.TabIndex = 79
|
||||
Me.Label11.Text = "GAMJUM"
|
||||
Me.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_code_3
|
||||
'
|
||||
Me.lbl_blue_code_3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_blue_code_3.Font = New System.Drawing.Font("Microsoft Sans Serif", 25.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_blue_code_3.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_blue_code_3.Location = New System.Drawing.Point(5, 90)
|
||||
Me.lbl_blue_code_3.Name = "lbl_blue_code_3"
|
||||
Me.lbl_blue_code_3.Size = New System.Drawing.Size(90, 40)
|
||||
Me.lbl_blue_code_3.TabIndex = 78
|
||||
Me.lbl_blue_code_3.Text = "ISO3"
|
||||
Me.lbl_blue_code_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_team
|
||||
'
|
||||
Me.lbl_blue_team.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_team.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_blue_team.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_blue_team.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_blue_team.Location = New System.Drawing.Point(100, 375)
|
||||
Me.lbl_blue_team.Name = "lbl_blue_team"
|
||||
Me.lbl_blue_team.Size = New System.Drawing.Size(315, 40)
|
||||
Me.lbl_blue_team.TabIndex = 77
|
||||
Me.lbl_blue_team.Text = "BLUE TEAM"
|
||||
Me.lbl_blue_team.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_score
|
||||
'
|
||||
Me.lbl_blue_score.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_score.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_blue_score.Font = New System.Drawing.Font("Microsoft Sans Serif", 170.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, CType(0, Byte))
|
||||
Me.lbl_blue_score.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_blue_score.Location = New System.Drawing.Point(100, 135)
|
||||
Me.lbl_blue_score.Name = "lbl_blue_score"
|
||||
Me.lbl_blue_score.Size = New System.Drawing.Size(315, 235)
|
||||
Me.lbl_blue_score.TabIndex = 76
|
||||
Me.lbl_blue_score.Text = "00"
|
||||
Me.lbl_blue_score.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'lbl_blue_fighter_name
|
||||
'
|
||||
Me.lbl_blue_fighter_name.BackColor = System.Drawing.Color.Blue
|
||||
Me.lbl_blue_fighter_name.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||
Me.lbl_blue_fighter_name.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.lbl_blue_fighter_name.ForeColor = System.Drawing.Color.White
|
||||
Me.lbl_blue_fighter_name.Location = New System.Drawing.Point(100, 90)
|
||||
Me.lbl_blue_fighter_name.Name = "lbl_blue_fighter_name"
|
||||
Me.lbl_blue_fighter_name.Size = New System.Drawing.Size(315, 40)
|
||||
Me.lbl_blue_fighter_name.TabIndex = 75
|
||||
Me.lbl_blue_fighter_name.Text = "BLUE FIGHTER"
|
||||
Me.lbl_blue_fighter_name.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||
'
|
||||
'frm_friendly_scorecontrol
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||
Me.ClientSize = New System.Drawing.Size(836, 481)
|
||||
Me.Controls.Add(Me.lbl_blue_gender)
|
||||
Me.Controls.Add(Me.btn_end)
|
||||
Me.Controls.Add(Me.btn_start)
|
||||
Me.Controls.Add(Me.btn_red_ngf)
|
||||
Me.Controls.Add(Me.btn_red_pgf)
|
||||
Me.Controls.Add(Me.btn_blue_ngf)
|
||||
Me.Controls.Add(Me.btn_blue_pgf)
|
||||
Me.Controls.Add(Me.lbl_red_gender)
|
||||
Me.Controls.Add(Me.lbl_red_weight_category)
|
||||
Me.Controls.Add(Me.lbl_blue_weight_category)
|
||||
Me.Controls.Add(Me.lbl_red_weight_class)
|
||||
Me.Controls.Add(Me.lbl_blue_weight_class)
|
||||
Me.Controls.Add(Me.btn_dec_match)
|
||||
Me.Controls.Add(Me.btn_inc_match)
|
||||
Me.Controls.Add(Me.pb_red_logo)
|
||||
Me.Controls.Add(Me.pb_blue_logo)
|
||||
Me.Controls.Add(Me.btn_red_dhkn)
|
||||
Me.Controls.Add(Me.btn_red_dhkp)
|
||||
Me.Controls.Add(Me.btn_red_sbkn)
|
||||
Me.Controls.Add(Me.btn_red_sbkp)
|
||||
Me.Controls.Add(Me.btn_red_dbkn)
|
||||
Me.Controls.Add(Me.btn_red_dbkp)
|
||||
Me.Controls.Add(Me.btn_red_shkn)
|
||||
Me.Controls.Add(Me.btn_red_shkp)
|
||||
Me.Controls.Add(Me.lbl_round)
|
||||
Me.Controls.Add(Me.pb_red_flag)
|
||||
Me.Controls.Add(Me.lbl_red_gamjum)
|
||||
Me.Controls.Add(Me.Label5)
|
||||
Me.Controls.Add(Me.lbl_red_code_3)
|
||||
Me.Controls.Add(Me.btn_blue_dbkn)
|
||||
Me.Controls.Add(Me.btn_blue_dbkp)
|
||||
Me.Controls.Add(Me.btn_blue_sbkn)
|
||||
Me.Controls.Add(Me.btn_blue_sbkp)
|
||||
Me.Controls.Add(Me.btn_blue_dhkn)
|
||||
Me.Controls.Add(Me.btn_blue_dhkp)
|
||||
Me.Controls.Add(Me.btn_blue_shkn)
|
||||
Me.Controls.Add(Me.btn_blue_shkp)
|
||||
Me.Controls.Add(Me.lbl_match_number)
|
||||
Me.Controls.Add(Me.lbl_time)
|
||||
Me.Controls.Add(Me.lbl_court_number)
|
||||
Me.Controls.Add(Me.lbl_red_team)
|
||||
Me.Controls.Add(Me.lbl_red_score)
|
||||
Me.Controls.Add(Me.lbl_red_fighter_name)
|
||||
Me.Controls.Add(Me.pb_blue_flag)
|
||||
Me.Controls.Add(Me.lbl_blue_gamjum)
|
||||
Me.Controls.Add(Me.Label11)
|
||||
Me.Controls.Add(Me.lbl_blue_code_3)
|
||||
Me.Controls.Add(Me.lbl_blue_team)
|
||||
Me.Controls.Add(Me.lbl_blue_score)
|
||||
Me.Controls.Add(Me.lbl_blue_fighter_name)
|
||||
Me.ForeColor = System.Drawing.Color.White
|
||||
Me.Name = "frm_friendly_scorecontrol"
|
||||
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||
Me.Text = "testForm"
|
||||
CType(Me.pb_red_logo, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_blue_logo, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_red_flag, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
CType(Me.pb_blue_flag, System.ComponentModel.ISupportInitialize).EndInit()
|
||||
Me.ResumeLayout(False)
|
||||
|
||||
End Sub
|
||||
|
||||
Friend WithEvents lbl_blue_gender As Label
|
||||
Friend WithEvents btn_end As Button
|
||||
Friend WithEvents btn_start As Button
|
||||
Friend WithEvents round_countdown As Timer
|
||||
Friend WithEvents btn_red_ngf As Button
|
||||
Friend WithEvents btn_red_pgf As Button
|
||||
Friend WithEvents btn_blue_ngf As Button
|
||||
Friend WithEvents btn_blue_pgf As Button
|
||||
Friend WithEvents tmr_display As Timer
|
||||
Friend WithEvents break_countdown As Timer
|
||||
Friend WithEvents lbl_red_gender As Label
|
||||
Friend WithEvents lbl_red_weight_category As Label
|
||||
Friend WithEvents lbl_blue_weight_category As Label
|
||||
Friend WithEvents lbl_red_weight_class As Label
|
||||
Friend WithEvents lbl_blue_weight_class As Label
|
||||
Friend WithEvents btn_dec_match As Button
|
||||
Friend WithEvents btn_inc_match As Button
|
||||
Friend WithEvents pb_red_logo As PictureBox
|
||||
Friend WithEvents pb_blue_logo As PictureBox
|
||||
Friend WithEvents btn_red_dhkn As Button
|
||||
Friend WithEvents btn_red_dhkp As Button
|
||||
Friend WithEvents btn_red_sbkn As Button
|
||||
Friend WithEvents btn_red_sbkp As Button
|
||||
Friend WithEvents btn_red_dbkn As Button
|
||||
Friend WithEvents btn_red_dbkp As Button
|
||||
Friend WithEvents btn_red_shkn As Button
|
||||
Friend WithEvents btn_red_shkp As Button
|
||||
Friend WithEvents lbl_round As Label
|
||||
Friend WithEvents pb_red_flag As PictureBox
|
||||
Friend WithEvents lbl_red_gamjum As Label
|
||||
Friend WithEvents Label5 As Label
|
||||
Friend WithEvents lbl_red_code_3 As Label
|
||||
Friend WithEvents btn_blue_dbkn As Button
|
||||
Friend WithEvents btn_blue_dbkp As Button
|
||||
Friend WithEvents btn_blue_sbkn As Button
|
||||
Friend WithEvents btn_blue_sbkp As Button
|
||||
Friend WithEvents btn_blue_dhkn As Button
|
||||
Friend WithEvents btn_blue_dhkp As Button
|
||||
Friend WithEvents btn_blue_shkn As Button
|
||||
Friend WithEvents btn_blue_shkp As Button
|
||||
Friend WithEvents lbl_match_number As Label
|
||||
Friend WithEvents lbl_time As Label
|
||||
Friend WithEvents lbl_court_number As Label
|
||||
Friend WithEvents lbl_red_team As Label
|
||||
Friend WithEvents lbl_red_score As Label
|
||||
Friend WithEvents lbl_red_fighter_name As Label
|
||||
Friend WithEvents pb_blue_flag As PictureBox
|
||||
Friend WithEvents lbl_blue_gamjum As Label
|
||||
Friend WithEvents Label11 As Label
|
||||
Friend WithEvents lbl_blue_code_3 As Label
|
||||
Friend WithEvents lbl_blue_team As Label
|
||||
Friend WithEvents lbl_blue_score As Label
|
||||
Friend WithEvents lbl_blue_fighter_name As Label
|
||||
End Class
|
||||
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="round_countdown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>419, 14</value>
|
||||
</metadata>
|
||||
<metadata name="tmr_display.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>570, 14</value>
|
||||
</metadata>
|
||||
<metadata name="break_countdown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>684, 14</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -0,0 +1,11 @@
|
||||
Imports System.ComponentModel
|
||||
|
||||
Public Class frm_friendly_scorecontrol
|
||||
|
||||
Private Sub frm_friendly_scorecontrol_Closing(sender As Object, e As CancelEventArgs) Handles Me.Closing
|
||||
|
||||
frm_friendly_match.Show()
|
||||
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
Reference in new issue
Block a user