public void OnCellDoubleClick(object sender, RadRoutedEventArgs e) { GradeType obj = gv.SelectedItem as GradeType; if (obj != null) { GradeTypeForm form = new GradeTypeForm(obj, getData); Tools.OpenWindow("评分内容-编辑", form, null); } }
private void btnEdit_Click(object sender, RoutedEventArgs e) { GradeType obj = gv.SelectedItem as GradeType; if (obj != null) { GradeTypeForm frm = new GradeTypeForm(obj, getData); Tools.OpenWindow("评分内容-编辑", frm, null); } }
private void btnAdd_Click(object sender, RoutedEventArgs e) { GradeTypeForm frm = new GradeTypeForm(getData); Tools.OpenWindow("评分内容-新增", frm, null); }