public sefaresh_show(string p_name, int c, int fcost, int ID, int sseq) { seq = sseq; this.p = null; product_name = p_name; count = c; id = ID; this.fcost = fcost; this.cost = ((int)this.fcost / this.count); }
public sefaresh_show(Product2 p, int c, int ID, int sseq) { seq = sseq; this.p = p; count = c; id = ID; }