123456789101112131415161718192021222324252627282930313233343536373839 |
- using DevExpress.XtraEditors;
- using DevExpress.XtraGrid.Views.Grid;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Documents;
- using System.Windows.Forms;
- using XdCxRhDW.App.Model;
- namespace XdCxRhDW.App.UserControl
- {
- public partial class CtrlPosRes : DevExpress.XtraEditors.XtraUserControl
- {
- List<PosRes> list = new List<PosRes>();
- public CtrlPosRes()
- {
- InitializeComponent();
- }
- private async void CtrlPosRes_Load(object sender, EventArgs e)
- {
- try
- {
- gridPos.Init().UseFilter().UseRowNumber();
- gridPos.DataSource = list;
- }
- catch (Exception ex)
- {
- Serilog.Log.Error("查询定位结果失败", ex);
- XtraMessageBox.Show("查询定位结果失败");
- }
- }
- }
- }
|