private void memoList_RowActivated(object o, RowActivatedArgs args) { Memo selectedMemo = GetSelectedMemo(); if (selectedMemo != null) { MemoWindow viewMemoWindow = new MemoWindow(selectedMemo); viewMemoWindow.Show(); } }
public void on_mnuViewMemo_activate(object o, EventArgs e) { MemoWindow w = new MemoWindow(selectedMemo); w.Show(); }
private void memoList_RowActivated(object o, RowActivatedArgs args) { Memo selectedMemo = GetSelectedMemo (); if (selectedMemo != null) { MemoWindow viewMemoWindow = new MemoWindow (selectedMemo); viewMemoWindow.Show (); } }