private void btnAdd_Click(object sender, EventArgs e)
 {
     XiaCiEditForm form = new XiaCiEditForm();
     XiaCiEditForm.Result = null;
     form.ShowDialog();
     if (XiaCiEditForm.Result != null)
     {
         UccRuntime.Dop.Insert(XiaCiEditForm.Result);
         MessageBox.Show("添加成功!");
     }
     Flush();
 }
        private void btnEidt_Click(object sender, EventArgs e)
        {
            XiaCiEditForm form = new XiaCiEditForm();
            try
            {
                form.Bind(lv.Data[lv.SelectedItems[0].Index]);
            }
            catch
            {

            }
            form.ShowDialog();
            UccRuntime.Dop.Update(XiaCiEditForm.Result);
            MessageBox.Show("修改成功!");
            Flush();
        }