Exemple #1
0
 /// <summary>
 /// Create a new item handle
 /// </summary>
 public GridItem(GridColumn column, GridRow row, GridList gridList)
 {
     Column = column;
     Row    = row;
     glist  = gridList;
 }
Exemple #2
0
 /// <summary>
 /// Create a new row
 /// </summary>
 public GridRow(GridList gridList)
 {
     this.ID = MtaClient.GuiGridListAddRow(gridList.MTAElement, null, null);
     glist   = gridList;
 }
Exemple #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;
 }
Exemple #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;
 }