private void btnEdit_Click(object sender, RoutedEventArgs e) { Notice obj = gv.SelectedItem as Notice; if (obj != null) { NoticeForm frm = new NoticeForm(obj, getData); Tools.OpenWindow("系统通告-编辑", frm, null); } }
public void OnCellDoubleClick(object sender, RadRoutedEventArgs e) { Notice obj = gv.SelectedItem as Notice; if (obj != null) { NoticeForm frm = new NoticeForm(obj, getData); Tools.OpenWindow("系统通告-编辑", frm, null); } }
private void btnAdd_Click(object sender, RoutedEventArgs e) { NoticeForm frm = new NoticeForm(getData); Tools.OpenWindow("系统通告-新增", frm, null); }