示例#1
0
        public RowCollection(RowCollectionMenager rowCollectionMenager, int columnCount, string name)
        {
            InitializeComponent();
            this.objectCollectionRows    = new ObjectCollectionRows(rowCollectionMenager, this);
            this.objectCollectionColumns = new ObjectCollectionColumns(columnCount);
            // set RowCollectionMenager for this instance
            this.rowCollectionMenager = rowCollectionMenager;
            // new instance of RowCollectionHelper
            rowCollectionHelper = new RowCollectionHelper(this);
            // bind filter menu to rowCollectionHelper
            tsmFilter.Click += new EventHandler(rowCollectionHelper.ShowFilter);
            // bind group by menu to rowCollectionHelper
            tsmGroupBy.Click += new EventHandler(rowCollectionHelper.GroupBy);

            this.positionColumn = new int[columnCount];
            lObjectName.Text    = name;
            ttToolTip.SetToolTip(lObjectName, name);
            this.Name = name;
            cbPriority.SelectedIndex = 0;
        }
 public RowCollectionIO(string path)
 {
     this.rowCollectionMenager = null;
     this.path = path;
 }
 public RowCollectionIO(RowCollectionMenager rowCollectionMenager, string path)
 {
     this.rowCollectionMenager = rowCollectionMenager;
     this.path = path;
 }
示例#4
0
 public ObjectCollectionRows(RowCollectionMenager rowCollectionMenager, RowCollection rowCollection)
 {
     this.rowCollection        = rowCollection;
     this.rowCollectionMenager = rowCollectionMenager;
 }
 public RowCollectionHelper(RowCollection rowCollection)
 {
     this.rowCollection        = rowCollection;
     this.rowCollectionMenager = rowCollection.RowCollectionMenager;
 }