[c#]代码库
//GridForm.cs
/*****************************************************************************
*
* ReoGrid - .NET Spreadsheet Control
*
* http://reogrid.codeplex.com/
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
* PURPOSE.
*
* This software released under LGPLv3 license.
* Author: Jing Lu <dujid0 at gmail.com>
*
* Copyright (c) 2012-2014 unvell.com, all rights reserved.
*
****************************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace unvell.ReoGrid.Demo
{
public partial class GridForm : Form
{
public GridForm()
{
InitializeComponent();
}
public void Open(string file, Action<ReoGridControl> postHandler)
{
#if DEBUG
grid.Load(System.IO.Path.Combine("..\\..\\..\\Samples", file));
#else
grid.Load(file);
#endif
if (postHandler != null) postHandler(grid);
}
}
}
[源代码打包下载]
by: 发表于:2017-12-08 09:42:19 顶(0) | 踩(0) 回复
??
回复评论