void item3_MouseUp(object sender, MouseButtonEventArgs e) { contentsGrid.Children.Clear(); SelectLetterControl selectLetterControl = new SelectLetterControl(); selectLetterControl.markInfo(selUserDetail); contentsGrid.Children.Add(selectLetterControl); }
private void mark_MouseDown(object sender, MouseButtonEventArgs e) { titleName.Content = "评 分"; contentsGrid.Children.Clear(); SelectLetterControl selectLetterControl = new SelectLetterControl(); selectLetterControl.markInfo(selUserDetail); contentsGrid.Children.Add(selectLetterControl); }
void item3_MouseUp(object sender, MouseButtonEventArgs e) { try { contentsGrid.Children.Clear(); SelectLetterControl selectLetterControl = new SelectLetterControl(); selectLetterControl.markInfo(selUserDetail); contentsGrid.Children.Add(selectLetterControl); } catch (Exception ex) { string strError = ex.ToString(); ErrorCollection.GetInstance().SetErrorInfo(strError); } }