Exemple #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);
     }
 }
 public int Add(WinPopItem item)
 {
     return(base.AddItem(item));
 }
Exemple #3
0
 public virtual void MergeWith(WinPopItem s)
 {
     base.MergeWith(s);
 }
Exemple #4
0
 public virtual void CopyFrom(WinPopItem s)
 {
     base.CopyFrom(s);
 }