private void table_SelectionChanged(object sender, SelectionEventArgs e) { if (1 != e.NewSelectedIndicies.Length) { return; } MessageRow row = e.TableModel.Rows[e.NewSelectedIndicies[0]] as MessageRow; if (null == row) { return; } m_viewPart.Select(row.Instance); }
void MailPage_AfterSelect(object sender, TreeViewEventArgs e) { _viewPart.Select(e.Node); }