Beispiel #1
0
 public virtual void LoadFromTable(DataTable table)
 {
     try
     {
         this.Items.Clear();
         foreach (DataRow row in table.Rows)
         {
             WinPopItem item = new WinPopItem();
             item.LoadFromDataRow(row);
             this.Items.Add(item);
         }
     }
     catch
     {
         throw new ArgumentException("Table or filed name error!", table.TableName);
     }
 }
Beispiel #2
0
 public int Add(WinPopItem item)
 {
     return(base.AddItem(item));
 }
Beispiel #3
0
 public virtual void MergeWith(WinPopItem s)
 {
     base.MergeWith(s);
 }
Beispiel #4
0
 public virtual void CopyFrom(WinPopItem s)
 {
     base.CopyFrom(s);
 }