示例#1
0
文件: WinPop.cs 项目: zxl881203/src
 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);
     }
 }
示例#2
0
 public int Add(WinPopItem item)
 {
     return(base.AddItem(item));
 }
示例#3
0
 public virtual void MergeWith(WinPopItem s)
 {
     base.MergeWith(s);
 }
示例#4
0
 public virtual void CopyFrom(WinPopItem s)
 {
     base.CopyFrom(s);
 }