private void MngCash_Load(object sender, EventArgs e) { if (_UserId == null) { return; } List <EvalHistoryInfo> evalHistoryList = Database.GetInstance().GetAllEvalHistoryList(_UserId); if (evalHistoryList == null) { return; } for (int i = 0; i < evalHistoryList.Count; i++) { EvalHistoryInfo historyInfo = evalHistoryList[i]; EvalHistoryView.Rows.Add( historyInfo.BuyerId, historyInfo.Value, BaseInfo.ConvDateToString(historyInfo.EvalTime) ); } }
// 점수보내기 단추를 클릭하였을때... private void btnSendMark_Click(object sender, System.Windows.RoutedEventArgs e) { try { int nNum = Convert.ToInt32(numberMark.Text); EvalHistoryInfo evalHistoryInfo = new EvalHistoryInfo(); evalHistoryInfo.OwnId = Main._UserInfo.Id; evalHistoryInfo.Value = nNum; evalHistoryInfo.BuyerId = m_userFemaleInfo.Id; Main._ClientEngine.Send(NotifyType.Request_Evaluation, evalHistoryInfo); } catch (Exception) { } }