private void btnView_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { NoticeDto dto = grvNotice.GetRow(grvNotice.FocusedRowHandle) as NoticeDto; NoticePop note = new NoticePop(dto.NoticeID); note.ShowDialog(); }
public override void AddButtonClick() { NoticePop note = new NoticePop(); note.ShowDialog(); }