Exemple #1
0
 public void RefreshBrowserObject(TreePathReference reference)
 {
     if (reference != null)
     {
         browser.RefreshObject(reference);
     }
     else
     {
         //browser.ReloadTree();
     }
 }
        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);
        }