예제 #1
0
            public TServersRow AddTServersRow(string serverName, string ipAddress, int minPort, int maxPort, bool inactive)
            {
                TServersRow rowTServersRow = ((TServersRow)(this.NewRow()));

                rowTServersRow.ItemArray = new object[] {
                    null,
                    serverName,
                    ipAddress,
                    minPort,
                    maxPort,
                    inactive
                };
                this.Rows.Add(rowTServersRow);
                return(rowTServersRow);
            }
예제 #2
0
 public TServersRowChangeEvent(TServersRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
예제 #3
0
 public void RemoveTServersRow(TServersRow row)
 {
     this.Rows.Remove(row);
 }
예제 #4
0
 public void AddTServersRow(TServersRow row)
 {
     this.Rows.Add(row);
 }