Пример #1
0
 public MenuCollectionListener(BrowserForm f, MenuItem menu, AbstractHostCollection collection, String empty)
 {
     _form = f;
     _menu = menu;
     _collection = collection;
     _empty = empty;
     if (_collection.size() > 0)
     {
         BuildMenuItems();
     }
 }
Пример #2
0
 public HostDropSink(BrowserForm form)
 {
     _form = form;
     CanDropOnBackground = true;
     CanDropBetween = true;
     FeedbackColor = Color.LightBlue;
     AcceptExternal = true;
 }
Пример #3
0
 public ExpandingBrowserDropSink(BrowserForm form)
 {
     _form = form;
     _timer.Tick += delegate
         {
             if (null != _currentDropTarget)
             {
                 ((TreeListView) ListView).Expand(_currentDropTarget);
             }
             _timer.Stop();
         };
     CanDropOnBackground = true;
     FeedbackColor = Color.LightBlue;
     AcceptExternal = true;
 }
Пример #4
0
 public HostDragSource(BrowserForm _form)
 {
     this._form = _form;
 }
Пример #5
0
 public BookmarkMenuCollectionListener(BrowserForm f)
 {
     _form = f;
     if (BookmarkCollection.defaultCollection().size() > 0)
     {
         BuildMenuItems();
     }
 }