/// <summary>
        /// 添加随机值
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnNewRandom_Click(object sender, EventArgs e)
        {
            frmRandom formRandom = new frmRandom();

            formRandom.OutRandomDelegate = OutRandomDelegate;
            formRandom.Show(this);
        }
 /// <summary>
 /// 修改随机值
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnEditRandom_Click(object sender, EventArgs e)
 {
     if (this.listView_Random.SelectedItems.Count > 0)
     {
         frmRandom formRandom = new frmRandom();
         formRandom.EditObject        = this.listView_Random.SelectedItems[0];
         formRandom.OutRandomDelegate = OutRandomDelegate;
         formRandom.Show(this);
     }
     else
     {
         MessageBox.Show("请选择一个在进行编辑!");
     }
 }