public CreateTender(IGlobalValues data, int parent) { InitializeComponent(); Data = data; ForecastDocument doc = ForecastDocument.LoadDocument(parent, Data.ActiveSchema + ".ForecastDocumentHead", Data.ActiveSchema + ".ForecastDocumentBody", Data.ConnectionString); parentDoc = doc.Head; }
public static ForecastDocument LoadDocument(int docnum, IGlobalValues data) { return(ForecastDocument.LoadDocument(docnum, data.ActiveSchema + ".ForecastDocumentHead", data.ActiveSchema + ".ForecastDocumentBody", data.ConnectionString)); }