コード例 #1
0
 public void RefreshBrowserObject(TreePathReference reference)
 {
     if (reference != null)
     {
         browser.RefreshObject(reference);
     }
     else
     {
         //browser.ReloadTree();
     }
 }
コード例 #2
0
        protected override void OnDrawSubItem(DrawListViewSubItemEventArgs e)
        {
            object o = ((OLVListItem)e.Item).RowObject;

            if (o is TreePathReference)
            {
                TreePathReference r = (TreePathReference)o;
                e.Item.ForeColor = ActiveGetter(r) ? ActiveForegroudColor : InactiveForegroudColor;
            }
            base.OnDrawSubItem(e);
        }