Commit Graph
11 Commits
Author SHA1 Message Date
Jackson Harper 180617da12 * TreeView.cs: We don't need to keep a count anymore.
* TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
	use the Grow method.


svn path=/trunk/mcs/; revision=51898
2005-10-19 03:46:28 +00:00
Jackson Harper 3cb82308b5 * TreeNodeCollection.cs: Insert is not supported on arrays, so
implement it manually here.


svn path=/trunk/mcs/; revision=51897
2005-10-19 03:03:04 +00:00
Jackson Harper 3b6582ba41 * TreeView.cs: If updating the root node do a full refresh.
* TreeNode.cs: The root node should be expanded by default. Also
	added a utility prop to tell if we are the root node.
	* TreeNodeCollection.cs: Only refresh if the node we are being
	added to is expanded. Also added a comment on a potential
	optimization.


svn path=/trunk/mcs/; revision=51231
2005-10-05 08:42:55 +00:00
Jordi Mas i Hernandez a696443950 2005-05-17 Jordi Mas i Hernandez <[email protected]>
* TreeNodeCollection.cs: fixes get/set item ranges
	

svn path=/trunk/mcs/; revision=44610
2005-05-17 09:17:33 +00:00
Peter Dennis Bartok 37becc5332 2005-02-17 Peter Bartok <[email protected]>
* Application.cs: Now calls registered message filters
        * DockStyle.cs: Fixed attribute
        * Form.cs: Fixed attribute
        * Menu.cs: Fixed attribute
        * ToolTip.cs: Fixed attribute
        * TreeNode.cs: Added missing attributes and arranged in regions
        * PropertyGrid.cs: Fixed signatures
        * TreeNodeCollection.cs: Added attributes
        * Splitter.cs: Added missing attributes; arranged into regions
        * TabPage.cs: Added missing attributes; arranged into regions
        * TextBoxBase.cs: Added missing attributes
        * TextBox.cs: Added missing attributes
        * ArrangeDirection.cs: Added missing attributes
        * TreeNodeConverter.cs: Added stub (needed for TreeNode)
        * ToolBarButton.cs: Fixed attributes
        * AnchorStyles.cs: Fixed attribute
        * TrackBar.cs: Fixed attributes
        * TabControl.cs: Added missing attributes and arranged into regions
        * ToolBar.cs: Fixed attribute
        * StatusBar.cs: Fixed signature, organized into regions and added
          attributes
        * StatusBarPanel.cs: Fixed attributes
        * ContentsResizedEventArgs.cs: Implemented
        * ContentsResizedEventHandler.cs: Implemented
        * DateBoldEventArgs.cs: Implemented
        * DateBoldEventHandler.cs: Implemented
        * UpDownEventArgs.cs: Implemented
        * UpDownEventHandler.cs: Implemented


svn path=/trunk/mcs/; revision=40801
2005-02-17 11:12:28 +00:00
Jackson Harper 30cdaf4c14 * TreeView.cs: Refresh the tree after sorting the nodes. Always
draw the connecting node lines (when ShowLines is true).
	* TreeNode.cs: The nodes index can now be updated. This is used
	when a node collection is sorted.
	* TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
	insert or an existing unsorted node collection can be sorted.


svn path=/trunk/mcs/; revision=38837
2005-01-12 23:49:09 +00:00
Jackson Harper 40e9d4030d * TreeNodeCollection.cs: Refresh the tree when a new node is added.
svn path=/trunk/mcs/; revision=38636
2005-01-10 18:41:31 +00:00
Marek Safar 907a18f667 2004-12-03 Marek Safar <[email protected]>
* OwnerDrawPropertyBag.cs: New internal parameterless ctor.

	* TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
	tests.
	
	* TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
	
	* TreeView.cs: BackColor is Colors.Window.

svn path=/trunk/mcs/; revision=36999
2004-12-03 09:55:02 +00:00
Jackson Harper 322faf65e9 Initial Implementation
svn path=/trunk/mcs/; revision=36922
2004-12-02 07:32:11 +00:00
Peter Dennis Bartok 2983d68386 - Removed TreeView additions.
I am removing these files as they conflict with already completed 
  work. While it is fantastic to get contributions to MWF, I 
  respectfully ask that everyone please coordinate their contributions 
  through mono-winforms-list or #mono-winforms at this time. We're 
  explicitly avoiding stubbing and don't want controls that don't have 
  their basic functionality implemented in svn. Please also see 
  http://www.mono-project.com/contributing/winforms.html



svn path=/trunk/mcs/; revision=36822
2004-11-30 07:23:03 +00:00
Marek Safar aa000d60d4 2004-11-29 Marek Safar <[email protected]>
* System.Windows.Forms.dll.sources: Added
	TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
	TreeViewAction.cs, TreeViewEventArgs.cs

	* System.Windows.Forms_test.dll.sources: Added
	TreeNodeTest.cs

svn path=/trunk/mcs/; revision=36785
2004-11-29 17:16:26 +00:00