예제 #1
0
        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);
        }
예제 #2
0
 void MailPage_AfterSelect(object sender, TreeViewEventArgs e)
 {
     _viewPart.Select(e.Node);
 }