Ejemplo n.º 1
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            C_Global.Betweenness btwnValue = new Betweenness(C_Global.BetweennessValue.FAILURE);

            MatchInfoEdit matchInfoEdit = new MatchInfoEdit(true, btwnValue);

            matchInfoEdit.SceneID    = int.Parse(accountResult[selectRow, 0].oContent.ToString());
            matchInfoEdit.ServerIP   = _ServerIP;
            matchInfoEdit.WeekDAY    = int.Parse(accountResult[selectRow, 1].oContent.ToString());
            matchInfoEdit.MatPt_hr   = int.Parse(accountResult[selectRow, 2].oContent.ToString());
            matchInfoEdit.MatPt_min  = int.Parse(accountResult[selectRow, 3].oContent.ToString());
            matchInfoEdit.StPt_hr    = int.Parse(accountResult[selectRow, 4].oContent.ToString());
            matchInfoEdit.StPt_min   = int.Parse(accountResult[selectRow, 5].oContent.ToString());
            matchInfoEdit.EdPt_hr    = int.Parse(accountResult[selectRow, 6].oContent.ToString());
            matchInfoEdit.EdPt_min   = int.Parse(accountResult[selectRow, 7].oContent.ToString());
            matchInfoEdit.Gcash      = int.Parse(accountResult[selectRow, 8].oContent.ToString());
            matchInfoEdit.Mcash      = int.Parse(accountResult[selectRow, 9].oContent.ToString());
            matchInfoEdit.Scene      = accountResult[selectRow, 10].oContent.ToString();
            matchInfoEdit.MusicName1 = accountResult[selectRow, 11].oContent.ToString();
            matchInfoEdit.Lv1        = int.Parse(accountResult[selectRow, 12].oContent.ToString());
            matchInfoEdit.MusicName2 = accountResult[selectRow, 13].oContent.ToString();
            matchInfoEdit.Lv2        = int.Parse(accountResult[selectRow, 14].oContent.ToString());
            matchInfoEdit.MusicName3 = accountResult[selectRow, 15].oContent.ToString();
            matchInfoEdit.Lv3        = int.Parse(accountResult[selectRow, 16].oContent.ToString());
            matchInfoEdit.MusicName4 = accountResult[selectRow, 17].oContent.ToString();
            matchInfoEdit.Lv4        = int.Parse(accountResult[selectRow, 18].oContent.ToString());
            matchInfoEdit.MusicName5 = accountResult[selectRow, 19].oContent.ToString();
            matchInfoEdit.Lv5        = int.Parse(accountResult[selectRow, 20].oContent.ToString());
            matchInfoEdit.CreateModule(null, m_ClientEvent);

            if (btwnValue.BtwnValue == C_Global.BetweennessValue.SUCESS)
            {
                ReadInfos();
            }
        }
Ejemplo n.º 2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            C_Global.Betweenness btwnValue     = new Betweenness(C_Global.BetweennessValue.FAILURE);
            MatchInfoEdit        matchInfoEdit = new MatchInfoEdit(false, cbxServerIP.Text.ToString(), btwnValue);

            matchInfoEdit.CreateModule(null, m_ClientEvent);
            if (btwnValue.BtwnValue == C_Global.BetweennessValue.SUCESS)
            {
                ReadInfos();
            }
        }