private void btnDel_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("确定删除?", "", MessageBoxButtons.YesNo) == DialogResult.No)
            {
                return;
            }

            if (this.dataGV.SelectedRows.Count >= 0)
            {
                Betweenness sysRv   = new Betweenness();
                frmGameEdit frmEdit = new frmGameEdit(1, this.dataGV.SelectedRows[0].Cells[1].Value.ToString(), this.dataGV.SelectedRows[0].Cells[0].Value.ToString());

                if (CommonCLS.DelData(this.dataGV.SelectedRows[0].Cells[0].Value.ToString()) > 0)
                {
                    MessageBox.Show("删除成功");
                    this.GetData();
                }
                else
                {
                    MessageBox.Show("删除失败");
                }
            }
            else
            {
                MessageBox.Show("请选择要操作的数据行");
            }
        }
 /// <summary>
 /// 添加按钮按下
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnNew_Click(object sender, EventArgs e)
 {
     try
     {
         Betweenness sysRv   = new Betweenness();
         frmGameEdit frmEdit = new frmGameEdit(0, "", "");
         frmEdit.CreateModule(null, null, null);
         if (frmEdit.DialogResult == DialogResult.OK)
         {
             this.GetData();
         }
         //if (sysRv.RESULT == BetweennessValue.SUCESS)
         //{
         //}
     }
     catch (System.Exception ex)
     {
         CommonCLS.SaveLog("btnNew_Click->" + ex.ToString());
     }
 }
 private void btnEdit_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.dataGV.SelectedRows.Count >= 0)
         {
             Betweenness sysRv   = new Betweenness();
             frmGameEdit frmEdit = new frmGameEdit(1, this.dataGV.SelectedRows[0].Cells[1].Value.ToString(), this.dataGV.SelectedRows[0].Cells[0].Value.ToString());
             frmEdit.CreateModule(null, null, null);
             if (frmEdit.DialogResult == DialogResult.OK)
             {
                 this.GetData();
             }
         }
         else
         {
             MessageBox.Show("请选择要操作的数据行");
         }
     }
     catch (System.Exception ex)
     {
         CommonCLS.SaveLog("btnNew_Click->" + ex.ToString());
     }
 }