private void SendAnswerForm_Load(object sender, EventArgs e) { DaoRecall daoRecall = new DaoRecall(); recall = daoRecall.GetRecallOnId(Data.context, Data.intValue); recallTextBox.Text = recall.Comment; }
private void ViewRecallForm_Load(object sender, EventArgs e) { Recall recall = new Recall(); DaoRecall daoRecall = new DaoRecall(); recall = daoRecall.GetRecallOnId(Data.context, Data.intValue); topicTextBox.Text = recall.TopicRecall; recallTextBox.Text = recall.Comment; }