[C#] 类似Excel的电子表格控件 →→→→→进入此内容的聊天室

来自 , 2019-12-20, 写在 C#, 查看 126 次.
URL http://www.code666.cn/view/d89a66c7
  1. //GridForm.cs
  2.  
  3. /*****************************************************************************
  4.  *
  5.  * ReoGrid - .NET Spreadsheet Control
  6.  *
  7.  * http://reogrid.codeplex.com/
  8.  *
  9.  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  10.  * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  11.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  12.  * PURPOSE.
  13.  *
  14.  * This software released under LGPLv3 license.
  15.  * Author: Jing Lu <dujid0 at gmail.com>
  16.  *
  17.  * Copyright (c) 2012-2014 unvell.com, all rights reserved.
  18.  *
  19.  ****************************************************************************/
  20.  
  21. using System;
  22. using System.Collections.Generic;
  23. using System.ComponentModel;
  24. using System.Data;
  25. using System.Drawing;
  26. using System.Linq;
  27. using System.Text;
  28. using System.Windows.Forms;
  29.  
  30. namespace unvell.ReoGrid.Demo
  31. {
  32.         public partial class GridForm : Form
  33.         {
  34.                 public GridForm()
  35.                 {
  36.                         InitializeComponent();
  37.                 }
  38.  
  39.                 public void Open(string file, Action<ReoGridControl> postHandler)
  40.                 {
  41. #if DEBUG
  42.                         grid.Load(System.IO.Path.Combine("..\\..\\..\\Samples", file));
  43. #else
  44.                         grid.Load(file);
  45. #endif
  46.  
  47.                         if (postHandler != null) postHandler(grid);
  48.                 }
  49.         }
  50. }
  51.  

回复 "类似Excel的电子表格控件"

这儿你可以回复上面这条便签

captcha