public T Add <T>(T control) where T : WebControl
        {
            MainRow.Add(
                RenderUtils.CreateTableCell().Add(
                    control
                    )
                );

            InternalControlsList.Add(control);

            return(control);
        }
Ejemplo n.º 2
0
            public MainRow AddMainRow(string Username, int PIN, bool Admin)
            {
                MainRow rowMainRow = ((MainRow)(this.NewRow()));

                rowMainRow.ItemArray = new object[] {
                    Username,
                    PIN,
                    Admin
                };
                this.Rows.Add(rowMainRow);
                return(rowMainRow);
            }
Ejemplo n.º 3
0
 public MainRowChangeEvent(MainRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Ejemplo n.º 4
0
 public void RemoveMainRow(MainRow row)
 {
     this.Rows.Remove(row);
 }
Ejemplo n.º 5
0
 public void AddMainRow(MainRow row)
 {
     this.Rows.Add(row);
 }