コード例 #1
0
ファイル: scoreFrame.cs プロジェクト: jack-liaojie/EQ_C-
 public scoreFrame()
 {
     InitializeComponent();
     OVRDataBaseUtils.SetDataGridViewStyle(dgViewScore);
     timer.Interval = 4000;
     timer.Tick    += new EventHandler(timer_Tick);
 }
コード例 #2
0
 private void frmOfficialEntry_Load(object sender, EventArgs e)
 {
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailOfficial);
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial);
     ResetAvailableOfficial();
     ResetMatchOfficial();
 }
コード例 #3
0
        private void InitUI()
        {
            OVRDataBaseUtils.SetDataGridViewStyle(dgvHomeList);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvVisitList);

            InitMatchInfo();
        }
コード例 #4
0
 public frmImportTempData(int matchID)
 {
     m_iMatchID = matchID;
     InitializeComponent();
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTempSetData);
     dgvTempSetData.MultiSelect = false;
 }
コード例 #5
0
ファイル: frmSetPartModel.cs プロジェクト: jack-liaojie/EQ_C-
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     Localization();
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvModels);
     FillModels();
 }
コード例 #6
0
        public frmSetTeamPlayer(Int32 iMatchID)
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvTeamPlayers);
            m_iMatchID = iMatchID;
        }
コード例 #7
0
 private void InitGridStyle()
 {
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAllVenues);
     //dgvAllVenues.RowHeadersVisible = true;
     OVRDataBaseUtils.SetDataGridViewStyle(this.dgvDisciplineVenue);
     //dgvDisciplineVenue.RowHeadersVisible = true;
 }
コード例 #8
0
        public frmMatchResultEntry(int iMatchID)
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchResult);
            m_iMatchID = iMatchID;
        }
コード例 #9
0
ファイル: frmModifyResult.cs プロジェクト: jack-liaojie/EQ_C-
        public frmModifyResult(Int32 nMatchID, Int32 nMatchSpitID)
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchResult);
            m_iMatchID      = nMatchID;
            m_iMatchSplitID = nMatchSpitID;
        }
コード例 #10
0
        public frmModifyMatchTime(Int32 nMatchID, Int32 nMatchType)
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchTime);
            m_iMatchID   = nMatchID;
            m_iMatchType = nMatchType;
        }
コード例 #11
0
        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;
        }
コード例 #12
0
ファイル: frmDiveList.cs プロジェクト: jack-liaojie/EQ_C-
        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;
        }
コード例 #13
0
 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;
 }
コード例 #14
0
ファイル: frmOVRRecord.cs プロジェクト: jack-liaojie/EQ_C-
        public OVRRecordForm()
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(dgv_Events);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvEventRecords);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordValue);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordMember);
        }
コード例 #15
0
 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;
 }
コード例 #16
0
        private void frmScoreDetail_Load(object sender, EventArgs e)
        {
            OVRDataBaseUtils.SetDataGridViewStyle(_dgvWinLose);

            dgvWinLoseInit();
            dgvWinLoseRefresh();

            _btnOK.Enabled = false;
        }
コード例 #17
0
        private void frmOfficialEntry_Load(object sender, EventArgs e)
        {
            Localization();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvAvailOfficial);
            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial);
            InitFunctionCombBox();
            ResetAvailableOfficial();
            ResetMatchOfficial();
        }
コード例 #18
0
ファイル: frmOVRPluginMgr.cs プロジェクト: jack-liaojie/EQ_C-
        private void OVRPluginMgrForm_Load(object sender, EventArgs e)
        {
            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchList);

            Localization();

            SelCommandSetup();

            LoadData();
        }
コード例 #19
0
        public RegisterSelForm(Int32 iEventID, string strLanguageCode, SqlConnection dbConnection)
        {
            m_nEventID           = iEventID;
            m_strLanguageCode    = strLanguageCode;
            m_DatabaseConnection = dbConnection;

            InitializeComponent();
            OVRDataBaseUtils.SetDataGridViewStyle(dgvRegister);
            Localization();
        }
コード例 #20
0
        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;
        }
コード例 #21
0
        public frmEntryOfficial(Int32 iMatchID, Int32 iMatchType)
        {
            InitializeComponent();

            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvEventOfficials);
            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvMatchOfficial);

            m_iMatchID      = iMatchID;
            m_iMatchType    = iMatchType;
            m_iMatchSplitID = -1;
        }
コード例 #22
0
        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;
        }
コード例 #23
0
ファイル: frmTeamPlayers.cs プロジェクト: jack-liaojie/EQ_C-
        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;
        }
コード例 #24
0
        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();
        }
コード例 #25
0
        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;
        }
コード例 #26
0
        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);
        }
コード例 #27
0
        public OVREventRecordsForm(int nEventID, SqlConnection dbConnection)
        {
            m_nEventID     = nEventID;
            m_dbConnection = dbConnection;

            InitializeComponent();
            OVRDataBaseUtils.SetDataGridViewStyle(dgvEventRecords);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordValue);
            OVRDataBaseUtils.SetDataGridViewStyle(dgvRecordMember);

            Localization();
        }
コード例 #28
0
        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();
        }
コード例 #29
0
ファイル: frmGFCourse.cs プロジェクト: jack-liaojie/EQ_C-
        private void frmGFCourse_Load(object sender, EventArgs e)
        {
            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvCourseList);
            OVRDataBaseUtils.SetDataGridViewStyle(this.dgvCourseDetail);

            Localization();

            InitMatchInfo();
            InitCourseInfo();

            InitCmbRules();
            cmbCourseList.SelectedValue = m_iCurMatchRuleID;
        }
コード例 #30
0
        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();
        }