public PriceRate(PriceListView view) { viewForm = view; Code = 0.0; InitializeComponent(); this.Text = this.Text + " (Add)"; }
/// <summary> /// open page in edit format existing record /// </summary> /// <param name="_accountMasterView"></param> /// <param name="_Code"></param> /// public PriceRate(PriceListView view, Double code) { viewForm = view; Code = code; InitializeComponent(); this.Text = this.Text + " (Edit)"; }
public static PriceListView Instance() { if (sForm == null) { sForm = new PriceListView(); } return(sForm); }