using DevExpress.Data; using DevExpress.XtraEditors; using DevExpress.XtraExport.Helpers; using DevExpress.XtraGrid.Columns; using DevExpress.XtraGrid.Views.Grid; using DxHelper; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Entity; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Forms; using XdCxRhDW.Repostory.EFContext; using XdCxRhDW.Repostory.Model; namespace XdCxRhDW.App.UserControl { public partial class CtrlCgRes : DevExpress.XtraEditors.XtraUserControl { public CtrlCgRes() { InitializeComponent(); gridCg.Init().AddMenu("删除", SvgHelper.CreateClose(), async () => { try { } catch (Exception ex) { Serilog.Log.Error(ex, "删除参估结果异常"); DxHelper.MsgBoxHelper.ShowError("删除参估结果异常"); } }); } private async void CtrlCgRes_Load(object sender, EventArgs e) { try { } catch (Exception ex) { Serilog.Log.Error(ex, "查询参估结果异常"); DxHelper.MsgBoxHelper.ShowError("查询参估结果异常"); } } } }