Exemple #1
0
 public Cell(Cell cell)
 {
     this.m_anchor        = AnchorStyles.Left | AnchorStyles.Top;
     this.m_bVisible      = true;
     this.m_sName         = "";
     this.Changed         = null;
     this.m_BackColor     = cell.m_BackColor;
     this.m_ForeColor     = cell.m_ForeColor;
     this.m_Bounds        = cell.m_Bounds;
     this.m_cellSource    = cell.m_cellSource.Copy();
     this.m_Border        = cell.m_Border;
     this.m_CustomizeCell = cell.m_CustomizeCell;
     this.Name            = cell.Name;
     this.m_IsAutoHeight  = cell.m_IsAutoHeight;
     this.m_scale         = cell.m_scale;
 }
Exemple #2
0
 public Cell()
 {
     this.m_anchor            = AnchorStyles.Left | AnchorStyles.Top;
     this.m_bVisible          = true;
     this.m_sName             = "";
     this.Changed             = null;
     this.m_BackColor         = Color.Transparent;
     this.m_ForeColor         = Color.Transparent;
     this.m_Bounds            = new Rectangle(-1, -1, -1, -1);
     this.m_cellSource        = new Resco.Controls.AdvancedTree.CellSource();
     this.m_cellSource.Parent = this;
     this.m_Border            = BorderType.None;
     this.m_IsAutoHeight      = false;
     this.m_CustomizeCell     = false;
     this.m_scale             = new SizeF(1f, 1f);
 }