Exemple #1
0
 /// <summary>
 /// 指定被代理者
 /// </summary>
 /// <param name="realSub">被代理的实体</param>
 internal void setRealSubject(DB_GOODS realSub)
 {
     realSubject = realSub;
 }
Exemple #2
0
 /// <summary>
 /// 构造代理者
 /// </summary>
 /// <param name="realSub">被代理的实体(被代理的是商品、仓库还是货架)</param>
 /// <param name="dataGridView">数据表控件</param>
 public Proxy(DB_GOODS realSub, DataGridView dataGridView)
 {
     realSubject       = realSub;
     this.dataGridView = dataGridView;
 }