private void btComment_Click(object sender, EventArgs e) { fmComment cs = new fmComment(WSSalesCommentLines.Document_Type.Order, SalesOrderResult.No); cs.ShowDialog(); GetCommentLines(); }
public void GetCommentLines() { if (SalesOrderResult.CommentSpecified) { fmComment cs = new fmComment(WSSalesCommentLines.Document_Type.Order, SalesOrderResult.No); SalesCommentLines[] Comments = cs.GetCommentArray(); tbComments.Text = ""; foreach (var item in Comments) { tbComments.Text = tbComments.Text + item.Comment + Environment.NewLine; } } }
private void btComment_Click(object sender, EventArgs e) { fmComment sl = new fmComment(Document_Type.Order, newOrder.No); sl.ShowDialog(); }