void gridView1_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
        {
            DataRow dr = gridView1.GetDataRow(e.RowHandle);

            if (e.Column.Name == "update")
            {
                ucPharmacyDiaryAdd uclivingdiaryadd = new ucPharmacyDiaryAdd();
                uclivingdiaryadd.Datarow = dr;
                uclivingdiaryadd.SetDate();
                DialogResult dialogresult = uclivingdiaryadd.ShowDialog();
                if (dialogresult == DialogResult.OK)
                {
                    GetData();
                }
                uclivingdiaryadd.Dispose();
            }
            if (e.Column.Name == "del")
            {
                object obj = TmoServiceClient.InvokeServerMethodT <bool>(funCode.DeleteProduct, dr["living_guid"].ToString());
                if (Convert.ToBoolean(obj))
                {
                    DXMessageBox.Show("删除成功!", true);
                    GetData();
                }
                else
                {
                    DXMessageBox.Show("删除失败!", true);
                }
            }
        }