Form Architecture Basic Frame Demo Code

xiaoxiao2021-03-06  110

Recently, I'm going to work, just write something, give yourself, spur incentives! ///

///// The name space: MemoryTableDemo /// ///// version number: BEAT 0.1 /// // Naming space contains classes and its function description: /////morytable table /// MemoryRow table Category /// Memorycell table cell class ///// Developer: Zhu Liang /// Development time: 2004.10.30 /// ///

Using system;

Namespace MemoryTableDemo {///

/// Table /// public class memoryTable {/// /// Private line set /// public memoryrow [] m_mrrows; /// /// Row attribute set /// public memoryrow [] rower {get {return m_mrrows;} set {m_mrrows = value;}} /// /// Table constructor Function logic /// /// Table number of lines /// Table number public memorytable (int Rowcount) , int color) {// Initialization line set ROWS = new memoryrow [RowCount]; for (int i = 0; i

For (int J = 0; j

/ / Add cell object to cell collection, save Cell object information, end Cell object lifecycle row.cells [j] = cell;} // will add row objects to row collection, save ROW object information, end ROW object lifecycle Rows [i] = row;}}} ///

/// Table line class /// public class memoryrow {/// /// Private cell collection /// < / summary> private meterycell [] m_mccells; /// /// cell property set /// public memoryCell [] cells {get {return m_mccells;} set {m_mccells = value;}} / // /// line constructive function logic /// /// cell number public memoryRow (int cellcount) {// initialization unit collection Cells = new memoryCell [Cellcount]; for (int i = 0; i
转载请注明原文地址:https://www.9cbs.com/read-97740.html

New Post(0)