Example #1
0
 /// <summary>
 /// Create a new item handle
 /// </summary>
 public GridItem(GridColumn column, GridRow row, GridList gridList)
 {
     Column = column;
     Row    = row;
     glist  = gridList;
 }
Example #2
0
 /// <summary>
 /// Create a new row
 /// </summary>
 public GridRow(GridList gridList)
 {
     this.ID = MtaClient.GuiGridListAddRow(gridList.MTAElement, null, null);
     glist   = gridList;
 }
Example #3
0
 /// <summary>
 /// Create a new row after an existing row index
 /// </summary>
 public GridRow(GridList gridList, int index)
 {
     this.ID = MtaClient.GuiGridListInsertRowAfter(gridList.MTAElement, index);
     glist   = gridList;
 }
Example #4
0
 /// <summary>
 /// Create a new column
 /// </summary>
 public GridColumn(string title, float width, GridList gridList)
 {
     this.ID = MtaClient.GuiGridListAddColumn(gridList.MTAElement, title, width);
     glist   = gridList;
 }