Example #1
0
        protected override void OnDoubleClick(DataGridEXT datagrid1, HistroyInfo info)
        {
            var file = Path.Combine(Config.Images, $"{info.Id}.bmp");

            if (File.Exists(file))
            {
                Method.Show(datagrid1, new ImageWindow(file));
            }
            else
            {
                Method.Toast(datagrid1, "图片不存在");
            }
        }
 protected virtual void OnDoubleClick(DataGridEXT datagrid1, T info)
 {
     Edit(datagrid1, info);
 }