public scoreFrame() { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(dgViewScore); timer.Interval = 4000; timer.Tick += new EventHandler(timer_Tick); }
private void frmOfficialEntry_Load(object sender, EventArgs e) { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailOfficial); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial); ResetAvailableOfficial(); ResetMatchOfficial(); }
private void InitUI() { OVRDataBaseUtils.SetDataGridViewStyle(dgvHomeList); OVRDataBaseUtils.SetDataGridViewStyle(dgvVisitList); InitMatchInfo(); }
public frmImportTempData(int matchID) { m_iMatchID = matchID; InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTempSetData); dgvTempSetData.MultiSelect = false; }
protected override void OnShown(EventArgs e) { base.OnShown(e); Localization(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvModels); FillModels(); }
public frmSetTeamPlayer(Int32 iMatchID) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTeamPlayers); m_iMatchID = iMatchID; }
private void InitGridStyle() { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAllVenues); //dgvAllVenues.RowHeadersVisible = true; OVRDataBaseUtils.SetDataGridViewStyle(this.dgvDisciplineVenue); //dgvDisciplineVenue.RowHeadersVisible = true; }
public frmMatchResultEntry(int iMatchID) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchResult); m_iMatchID = iMatchID; }
public frmModifyResult(Int32 nMatchID, Int32 nMatchSpitID) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchResult); m_iMatchID = nMatchID; m_iMatchSplitID = nMatchSpitID; }
public frmModifyMatchTime(Int32 nMatchID, Int32 nMatchType) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchTime); m_iMatchID = nMatchID; m_iMatchType = nMatchType; }
private void frmOVRVODataEntry_Load(object sender, EventArgs e) { //For something, we don't display in BV btnStatEntryPlayer_Pos3.Visible = Common.g_isVB; btnStatEntryPlayer_Pos4.Visible = Common.g_isVB; btnStatEntryPlayer_Pos5.Visible = Common.g_isVB; btnStatEntryPlayer_Pos6.Visible = Common.g_isVB; btnStatEntryPlayer_Pos7.Visible = Common.g_isVB; btnStatEntryPlayer_Pos8.Visible = Common.g_isVB; btnStatEntryPlayerIn.Visible = Common.g_isVB; btnStatEntryPlayerChange.Visible = Common.g_isVB; _btnSubAAdd.Visible = Common.g_isVB; _btnSubBAdd.Visible = Common.g_isVB; _btnSubAReduce.Visible = Common.g_isVB; _btnSubBReduce.Visible = Common.g_isVB; _labSubitiutionA.Visible = Common.g_isVB; _labSubitiutionB.Visible = Common.g_isVB; _labSubSmallA.Visible = Common.g_isVB; _labSubSmallB.Visible = Common.g_isVB; _labSubA.Visible = Common.g_isVB; _labSubB.Visible = Common.g_isVB; btnStatEntryPlayer_Pos1.Text = ""; btnStatEntryPlayer_Pos2.Text = ""; btnStatEntryPlayer_Pos3.Text = ""; btnStatEntryPlayer_Pos4.Text = ""; btnStatEntryPlayer_Pos5.Text = ""; btnStatEntryPlayer_Pos6.Text = ""; btnStatEntryPlayer_Pos7.Text = ""; btnStatEntryPlayer_Pos8.Text = ""; OVRDataBaseUtils.SetDataGridViewStyle(dgvMatchScore); OVRDataBaseUtils.SetDataGridViewStyle(dgvStatItem); OVRDataBaseUtils.SetDataGridViewStyle(dgvActionList); OVRDataBaseUtils.SetDataGridViewStyle(dgvPlayerListA); OVRDataBaseUtils.SetDataGridViewStyle(dgvPlayerListB); OVRDataBaseUtils.SetDataGridViewStyle(dgvStatEntryPlayerAll); _splitMain.SplitterDistance = 175; dgvStatItemInit(); dgvMatchScoreInit(); dgvActionListInit(); dgvPlayerList_Init(true); dgvPlayerList_Init(false); dgvStatEntryPlayersAllInit(); this.Enabled = false; m_timerDbRefresh = new System.Windows.Forms.Timer(); m_timerDbRefresh.Interval = 1000; m_timerDbRefresh.Tick += this.timerDbRefresh_Tick; cPropertyGridClass pGridClass = new cPropertyGridClass(); propertyGridSetup.SelectedObject = pGridClass; }
private void SetdgvMatchDiveList() { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchDiveList); FontFamily fontFamily = new FontFamily("Arial"); FontStyle fontStyle = new FontStyle(); Font gridFont = new Font(fontFamily, 13, fontStyle); dgvMatchDiveList.Font = gridFont; }
public ModifyMatchTime(Int32 nMatchID, Int32 nMatchType, GameCountType type) { InitializeComponent(); m_gameCntType = type; OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchTime); m_iMatchID = nMatchID; m_iMatchType = nMatchType; m_iMatchSplitID = -1; }
public OVRRecordForm() { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(dgv_Events); OVRDataBaseUtils.SetDataGridViewStyle(dgvEventRecords); OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordValue); OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordMember); }
public btnSendSetFrm(int matchID, string strSendAddrDes) { m_iMatchID = matchID; m_strSendDestination = strSendAddrDes; InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTeamPlayers); dgvTeamPlayers.MultiSelect = false; lbSendDes.Text = "Send To: " + strSendAddrDes; }
private void frmScoreDetail_Load(object sender, EventArgs e) { OVRDataBaseUtils.SetDataGridViewStyle(_dgvWinLose); dgvWinLoseInit(); dgvWinLoseRefresh(); _btnOK.Enabled = false; }
private void frmOfficialEntry_Load(object sender, EventArgs e) { Localization(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailOfficial); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial); InitFunctionCombBox(); ResetAvailableOfficial(); ResetMatchOfficial(); }
private void OVRPluginMgrForm_Load(object sender, EventArgs e) { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchList); Localization(); SelCommandSetup(); LoadData(); }
public RegisterSelForm(Int32 iEventID, string strLanguageCode, SqlConnection dbConnection) { m_nEventID = iEventID; m_strLanguageCode = strLanguageCode; m_DatabaseConnection = dbConnection; InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(dgvRegister); Localization(); }
private void CustomSetDgvList(ref DataGridView theDgvlist) { OVRDataBaseUtils.SetDataGridViewStyle(theDgvlist); FontFamily fontFamily = new FontFamily("Arial"); FontStyle fontStyle = new FontStyle(); Font gridFont = new Font(fontFamily, 13, fontStyle); theDgvlist.Font = gridFont; }
public frmEntryOfficial(Int32 iMatchID, Int32 iMatchType) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvEventOfficials); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial); m_iMatchID = iMatchID; m_iMatchType = iMatchType; m_iMatchSplitID = -1; }
private void SetDgvSingleDiveList() { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvSingleDiveList); dgvSingleDiveList.SelectionMode = DataGridViewSelectionMode.CellSelect; FontFamily fontFamily = new FontFamily("Arial"); FontStyle fontStyle = new FontStyle(); Font gridFont = new Font(fontFamily, 13, fontStyle); dgvSingleDiveList.Font = gridFont; }
public frmTeamPlayers(Int32 iMatchID, Int32 iMatchType, Int32 iPos) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTeamPlayers); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchPlayers); m_iMatchID = iMatchID; m_iMatchType = iMatchType; m_iPos = iPos; }
private void frmOVRWPPenaltyPlayer_Load(object sender, EventArgs e) { Localization(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailable_Home); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailable_Visit); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMember_Home); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMember_Visit); ResetHomeGrid(); ResetVisitGrid(); }
public frmEntryOfficial(Int32 iMatchID, bool bIsTeam, ArrayList teamSplitIDs) { InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvEventOfficials); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial); m_bIsTeam = bIsTeam; m_iMatchID = iMatchID; m_teamSplitIDs = teamSplitIDs; }
private void frmOfficialEntry_Load(object sender, EventArgs e) { Localization(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailOfficial); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial); ResetAvailableOfficial(); ResetMatchOfficial(); InitPeriodCmb(); tbAttendance.Text = GVAR.g_ManageDB.GetMatchAttendance(m_iMatchID); }
public OVREventRecordsForm(int nEventID, SqlConnection dbConnection) { m_nEventID = nEventID; m_dbConnection = dbConnection; InitializeComponent(); OVRDataBaseUtils.SetDataGridViewStyle(dgvEventRecords); OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordValue); OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordMember); Localization(); }
private void frmOVRWPPenaltyScore_Load(object sender, EventArgs e) { Localization(); lbHomeName.Text = m_CCurMatch.m_CHomeTeam.TeamName; lbVisitName.Text = m_CCurMatch.m_CVisitTeam.TeamName; lbHGKName.Text = ""; lbVGKName.Text = ""; OVRDataBaseUtils.SetDataGridViewStyle(this.dgvHomePenalty); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvVisitPenalty); FillPlayerUI(); }
private void frmGFCourse_Load(object sender, EventArgs e) { OVRDataBaseUtils.SetDataGridViewStyle(this.dgvCourseList); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvCourseDetail); Localization(); InitMatchInfo(); InitCourseInfo(); InitCmbRules(); cmbCourseList.SelectedValue = m_iCurMatchRuleID; }
private void frmTeamMemberEntry_Load(object sender, EventArgs e) { Localization(); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailable_Home); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailable_Visit); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMember_Home); OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMember_Visit); ResetHomeGrid(); ResetVisitGrid(); InitUniformCmb(); }