|
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace SourceGrid
{
/// <summary>
/// Summary description for CellWorksheet.
/// </summary>
public class CellWorksheet : Cell
{
private static CellVisualProperties m_DefaultWorksheetCellStype;
private static ICellEditor m_DefaultWorksheetCellEditor;
static CellWorksheet()
{
m_DefaultWorksheetCellStype = new CellVisualProperties();
m_DefaultWorksheetCellStype.EditableMode = EditableMode.DoubleClick|EditableMode.AnyKey;
m_DefaultWorksheetCellEditor = Utility.CreateCellEditor(typeof(string),null,true);
}
public CellWorksheet()
{
Editor = m_DefaultWorksheetCellEditor;
VisualProperties = m_DefaultWorksheetCellStype;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.