Commit Graph
51 Commits
Author SHA1 Message Date
Rolf Bjarne Kvinge 6ac024e9ed * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
control is removed from a control collecftion.
* XplatUIX11.cs: The first location for toplevel form is (22, 22).
  Fixes FormPropertyTest (failed on rare occasions).
* XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  of Win32SetParent (when changing from no parent to a parent it
  might add the new parent's location in screen coordinates to this
  window's location).
* Form.cs: Rework ChangingParent once again, now the handle is
  recreated whenever a FormWindowManager is added or removed (that is
  whenever a normal form is parented or abandoned). Also change
  CreateParams so that all non-toplevel windows always get the
  specified sice (StartupPosition is never considered for
  non-TopLevel forms).
* ContainerControl.cs: Add ChildControlRemoved, the container control
  needs to be notified when a control is removed from it's
  collection, in the case the removed control is the active control.
* Hwnd.cs: Completely reworked GetWindowRectangle and
  GetClientRectangle - they are now passed a CreateParams and they
  only use Style and ExStyle to determine the rectangles (they should
  now work just like Win32AdjustWindowRectEx - though quite a few
  special cases are probably missing). They should also be 100%
  complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  == rect), and all numbers (borders, menu sizes) are taken from the
  current theme. Added a GetBorders helper function that will return
  the borders for any given CreateParams (including captions and
  menus), and GetBorderSize that returns the given border size only.

svn path=/trunk/mcs/; revision=75287
2007-04-02 16:54:59 +00:00
Jonathan Pobst 557cb80ff1 2007-03-16 Jonathan Pobst <[email protected]>
* ContainerControl.cs: Give ToolStripManager the opportunity to handle
	ProcessCmdKey().
	* ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs, 
	ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
	Implement keyboard shortcuts.

svn path=/trunk/mcs/; revision=74467
2007-03-16 14:57:02 +00:00
Andreia Gaita 95e77ac861 * ContainerControl.cs: Focus fix for nunit treeview selection bug.
A selected control would not get a Focus call if:
	- the default active control of the container is the same as
	  the one that was selected
	- we are switching from one container to another
Under these conditions, the container being selected already has
an active_control, which is the same as the one being activated, 
so set_ActiveControl would always return and not send the Focus
call. Fix to check if the currently active control of the container
is actually focused.

2007-02-13  Andreia Gaita  <[email protected]

svn path=/trunk/mcs/; revision=72807
2007-02-14 01:59:23 +00:00
Jonathan Pobst 7a4b68d425 2007-01-22 Jonathan Pobst <[email protected]>
[Moma work]
	* ContainerControl.cs: ProcessCmdKey.
	* ErrorProvider.cs: new constructor.
	* Form.cs: fix AutoValidateEvent compiler warning.
	* Label.cs: fix OnAutoSizeChanged compiler warning.
	* MenuStrip.cs: fix CanOverflow compiler warning.
	* TabControl.cs: SelectTab, OnSelected methods, Selected event.
	* TextBox.cs: Dispose.
	* ToolStrip.cs: CanOverflow, re-enable double buffering.
	* ToolStripControlHost.cs: fix CausesValidation compiler warning.
	* ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
	* ToolStripItem.cs: Overflow, RightToLeft properties.

svn path=/trunk/mcs/; revision=71464
2007-01-22 21:01:09 +00:00
Chris Toshok ea590d9ad7 In System.Windows.Forms.VisualStyles:
2007-01-19  Chris Toshok  <[email protected]>

	* VisualStyleElement.cs: rename TaskBar to Taskbar, and
	TaskBarClock to TaskbarClock to make corcompare happy.

2006-08-05  Jonathan Pobst <[email protected]>
	* TextMetrics.cs: Change variables to properties.
	* VisualStyleRenderer.cs, EdgeEffects.cs, Edges.cs,
	  HitTestOptions.cs, TextMetricsPitchAndFamilyValues.cs:
	    Add various attributes.
	* TabItemState.cs, TextBoxState.cs, TrackBarThumbState.cs:
	    Fix typos.

2006-08-04  Jonathan Pobst <[email protected]>
	* VisualStyleRenderer.cs: Fixed null compare that broke the build.

2006-08-04  Jonathan Pobst <[email protected]>
In System.Windows.Forms.Design:
2007-01-20  Chris Toshok  <[email protected]>

	* ComponentEditorPage.cs: class status fixes.

	* ComponentEditorForm.cs: same.

2006-11-08  Jonathan Pobst  <[email protected]>

	* ToolStripItemDesignerAvailability.cs: Added.
	* ToolStripItemDesignerAvailabilityAttribute.cs: Added.

2005-12-01  Peter Dennis Bartok  <[email protected]>

	* ComponentEditorForm.cs: Added missing attribute

2005-10-13  Peter Dennis Bartok  <[email protected]>

	* EventsTab.cs: Made .ctor() private to fix signature

2005-05-14  Rafael Teixeira <[email protected]>
	* EventsTab.cs: Implementation start with many gaping holes

2005-05-09  Marek Safar  <[email protected]>

	* PropertyTab.cs: Implemented.

2005-02-14  Peter Bartok  <[email protected]>

	* PropertyTab.cs: Made class abstract

2004-04-14  Andreas Nahr <[email protected]>

	* AssemblyInfo.cs: Removed
	* TODOAttribute.cs: Removed (duplicate)

	* System.Windows.Forms.Design.csproj.user
	* System.Windows.Forms.Design.csproj: Removed (outdated)

	* WindowsFormsComponentEditor.cs
	* ComponentEditorPage.cs: Added, mostly implemented

	* ComponentEditor.cs: Removed (does not belong here)

2004-02-24  Andreas Nahr <[email protected]>

	* IWindowsFormsEditorService.cs: Corrected casing,
	  it is not yet corrected in the filename, implemented

2003-08-30  Alexandre Pigolkine <[email protected]>

	* ComponentEditor.cs
	* IUIService.cs: stubs added 

2003-03-31  Alan Tam <[email protected]>

	* UITypeEditor.cs: Removed because it shan't be here

2002-08-04  DennisHayes <[email protected]>

	* Started cheanglog

2002-08-04  DennisHayes <[email protected]>

	* AnchorEditor.cs
	* AxImporter.cs
	* ComponentDocumentDesigner.cs
	* ComponentEditorForm.cs: Stubbed out
	
	* ComponentTray.cs
	* ControlDesigner.cs
	* ComponentEditor.cs
	* DocumentDesigner.cs
	* EventsTab.cs
	* FileNameEditor.cs
	* IMenuEditorService.cs
	* IUIService.cs
	* IWindowsformsEditorService.cs
	* MenusCommands.cs
	* ParentControlDesigner.cs
	* PropertyTab.cs
	* ScrollableControlDesigner.cs
	* SelectionRules.cs
	* UITypeEditor.cs: Class body defined only. No stubbs done.
	
	* TODOAttribute.cs:
	  Used to mark unimplemented functions.
	
	* System.Windows.Forms.Design.csproj
	* System.Windows.Forms.Design.csproj.user
	* AssemblyInfo.cs:
	  Needed for Visual Studio compile.

In System.Windows.Forms:
2007-01-20  Chris Toshok  <[email protected]>

	* CheckedListBox.cs: class status changes.

	* ScrollableControl.cs: same.

	* RichTextBox.cs: same.

	* ContainerControl.cs: same.

	* ListView.cs: same.

	* NotifyIcon.cs: same.

	* MenuStrip.cs: same.

	* RadioButton.cs: same.

	* CheckBox.cs: same.

	* PrintPreviewDialog.cs: same.

	* Form.cs: same.


svn path=/trunk/mcs/; revision=71385
2007-01-20 09:28:34 +00:00
Jonathan Pobst d482155076 2007-01-18 Jonathan Pobst <[email protected]>
* ContainerControl.cs: Override OnLayout.

svn path=/trunk/mcs/; revision=71300
2007-01-18 17:08:01 +00:00
Chris Toshok c2ae49a6e6 2007-01-18 Chris Toshok <[email protected]>
* ContainerControl.cs: remove the partial handling of LBUTTONDOWN
	(leftover from the container_selected days, I'd wager).  fixes bug
	#80546.


svn path=/trunk/mcs/; revision=71287
2007-01-18 16:05:50 +00:00
Andreia Gaita 5f58f7e4d9 * ContainerControl.cs: Remove ContainerSelected flag, not needed
anymore.

* Control.cs (Controls.Add): Check if control to be added to the collection
is a top level control, and throw an ArgumentException if it is.
Remove ContainerSelectedFlag, not needed anymore.

* XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
top most control doesn't activate the form. This fixes a problem in the
MessageBox, where the default button wouldn't get focus because the form
was activated before being Loaded - when the Owner is set, SetTopMost is
called, and it would activate it.

2007-01-11  Andreia Gaita  <[email protected]>

svn path=/trunk/mcs/; revision=70869
2007-01-11 17:58:42 +00:00
Chris Toshok a1d40c4b8a 2007-01-10 Chris Toshok <[email protected]>
* ContainerControl.cs (set_ActiveControl): rework this a bit (and
	add some nice ascii art pictures and explanation of the process).
	(GetMostDeeplyNestedActiveControl): new utility function we need
	because our ActiveControl can refer to a child container with its
	own ActiveControl.

	* Form.cs (OnActivated): remove the call to SelectActiveControl
	from here, since you can override this method and not chain up,
	and winforms still sets the active control.
	(OnCreateControl): also remove the unnecessary SelectActiveControl
	call from here.
	(WndProc): it's actually called from the WM_ACTIVATE block, just
	before calling OnActivated.

	* Control.cs (Select (Control)): move the call to XplatUI.SetFocus
	inside the else.  the ActiveControl setter will end up setting
	focus on @control.  This keeps us from setting it again (and
	generating an extra LostFocus/GotFocus pair).
	(Select (bool, bool)): reindent.


svn path=/trunk/mcs/; revision=70804
2007-01-10 19:28:52 +00:00
Miguel de Icaza eb5b2ecefe 2007-01-02 Miguel de Icaza <[email protected]>
* ContainerControl.cs: Add AutoValidateChanged event (for PDN
	2.72). 

	* ScrollableControl.cs: Add Scroll event.


svn path=/trunk/mcs/; revision=70393
2007-01-03 01:05:30 +00:00
Andreia Gaita cbf6249d16 2006-12-31 Andreia Gaita <[email protected]>
* ContainerControl.cs: Use ContainerSelected flag to check if 
a Container is directly selected, or if Select is called on a 
non-container. If a container is directly selected, focus events 
should not be raised.
Apply #80411 patch to throw exception on set_ActiveControl if 
control is the same as the current one.

* Control.cs: Use ContainerSelected flag (see above).
Add invalidation check to raise event but not invalidate if 
dimensions are 0.	
Apply #80411 patch.

* ContainerControlTest.cs / FocusTest.cs: Moved Gert's 
ActiveControl tests to FocusTest, for easier management.
Add Validation tests.

svn path=/trunk/mcs/; revision=70293
2006-12-31 18:23:11 +00:00
Chris Toshok 44ff322658 revert the previous change. it's more 'right', but causes everything else to break
svn path=/trunk/mcs/; revision=70277
2006-12-31 04:11:33 +00:00
Chris Toshok 53141ecb6e * ContainerControl.cs: make sure we throw the exception if the
container control doesn't contain the control we're setting
	ActiveControl to.

2006-12-30  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=70276
2006-12-31 02:54:32 +00:00
Chris Toshok f987f8223e svn path=/trunk/mcs/; revision=70111 2006-12-27 07:51:47 +00:00
Andreia Gaita 2d44117558 * ContainerControl.cs: set activeControl for parent forms up the
tree when the new activecontrol is a container.
When validating the active control, if it is a container, also
raise up the validation for it's active control. Fixes #80280

* Control.cs: Add internal property flag and check to prevent
Focus events from getting raised when Select() is called for
a ContainerControl. There are still too many focus events being
raised at the moment though.
Cleaned up the code a bit.

2006-12-22  Andreia Gaita  <[email protected]>

svn path=/trunk/mcs/; revision=69980
2006-12-23 01:18:51 +00:00
Miguel de Icaza e25c6b7383 2006-12-15 Miguel de Icaza <[email protected]>
* Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
	TextBoxBase.cs, ListView.cs, ContainerControl.cs,
	ScrollableControl.cs: Add a handful of methods that are
	overwritten in 2.0 


svn path=/trunk/mcs/; revision=69566
2006-12-16 04:28:02 +00:00
Rolf Bjarne Kvinge 7cc6a28e4f * Form.cs: Make MdiClient have the focus even if it's
not selectable, since it should receive WM_KEY* and WM_MOUSE 
	messages. Fixes #79907.
	
2006-12-11  Rolf Bjarne Kvinge  <[email protected]>


svn path=/trunk/mcs/; revision=69409
2006-12-12 16:21:49 +00:00
Chris Toshok 8fe4f9c691 * System.Windows.Forms/GroupBox.cs,
System.Windows.Forms/AccessibleObject.cs,
	System.Windows.Forms/ErrorProvider.cs,
	System.Windows.Forms/Control.cs,
	System.Windows.Forms/UpDownBase.cs,
	System.Windows.Forms/ScrollBar.cs,
	System.Windows.Forms/DateTimePicker.cs,
	System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
	System.Windows.Forms/ToolTip.cs,
	System.Windows.Forms/RadioButton.cs,
	System.Windows.Forms/LinkLabel.cs,
	System.Windows.Forms/Splitter.cs,
	System.Windows.Forms/TextBoxBase.cs,
	System.Windows.Forms/ToolStripTextBox.cs,
	System.Windows.Forms/ContainerControl.cs,
	System.Windows.Forms/ThemeWin32Classic.cs,
	System.Windows.Forms/SizeGrip.cs,
	System.Windows.Forms/ToolStripDropDown.cs,
	System.Windows.Forms/ScrollableControl.cs: Make Control.parent
	private.  switch all uses over to Control.Parent.

2006-12-06  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=69102
2006-12-06 15:43:50 +00:00
Chris Toshok 9279f78f95 [ after removing all warning suppressions, this cleans up over 100 warnings. ]
* Win32DnD.cs: comment out some unused fields.

	* XplatUIWin32.cs: comment out some unused pinvokes, and remove
	some unused properties/methods.

	* XplatUIX11.cs: fix MousePosition so we override the base class's
	property instead of conflicting with it.

	* PictureBox.cs: comment out some unused fields

	* OSXStructs.cs: make some struct fields public.

	* XplatUIOSX.cs: comment out some unused pinvokes, and fix
	MousePosition so we override the base class's property instead of
	conflicting with it.

	* X11Dnd.cs: comment out some unused fields

	* X11DesktopColors.cs: fix some struct field visibility to quiet
	the compiler.

	* X11Dnd.cs: remove some debug code.

	* ThemeClearlooks.cs: comment out unused field.

	* ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.

	* ThemeGtk.cs: comment out some unused pinvokes.

	* Timer.cs: remove some unused fields.

	* ThemeClearlooks.cs: comment out unused field.

	* UpDownBase.cs: comment out unused field.

	* DataObject.cs: comment out unused field.

	* DataGridBoolColumn.cs: reomve unused field.

	* DataGrid.cs: remove unused field.

	* Cursor.cs: remove old ToBitmap code.

	* ControlPaint.cs: remove unused method.

	* ScrollBar.cs: remove unused fields.

	* ComboBox.cs: remove unused field, and chain up to
	AccessibleObject ctor.

	* ListBox.cs: remove unused field.

	* ButtonBase.cs: wrap a couple fields in NET_2_0.

	* GridEntry.cs: remove unused fields.

	* Binding.cs: remove unused fields.

	* AxHost.cs: remove unused method.

	* ContainerControl.cs: remove unused field.

	* ScrollableControl.cs: remove unused fields.

2006-12-01  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=68867
2006-12-01 22:50:43 +00:00
Andreia Gaita f6e94cec95 * ContainerControl.cs: reverted rev.67183 (which was itself
a reversion of rev.66853... eh).

* Control.cs: Fixes Reflector hang by changing Focus() call
to what it was before rev.66643 (calling Select() here sets 
ActiveControl, which in some situations calls back Focus and 
eventually does a stack overflow). Temp fix.	
Changes to GetNextControl() to not look for children to select when
parent cannot be selectable (so it looks for siblings instead)

2006-10-31	Andreia Gaita <[email protected]>

svn path=/trunk/mcs/; revision=67203
2006-11-01 03:15:32 +00:00
Andreia Gaita a85a7ad8a3 * ContainerControl.cs: reversed Contains check from
ActiveControl due to hanging problems. This fix
partly regresses #79667 (button does not have
initial focus), so this might be a symptom for 
a larger parenting problem (set_ActiveControl
is being called but the child control does
not have the parent set yet?)

2006-10-31	Andreia Gaita <[email protected]>

svn path=/trunk/mcs/; revision=67183
2006-10-31 18:19:41 +00:00
Andreia Gaita d14967f4b6 2006-10-20 Andreia Gaita <[email protected]>
* ContainerControl.cs: Incorrect contains check in ActiveControl 
	from previous fix (duh).

svn path=/trunk/mcs/; revision=66853
2006-10-20 22:57:52 +00:00
Andreia Gaita 18a9b0aff3 2006-10-20 Andreia Gaita <[email protected]>
Fixes #79384, #79394, #79652, #79667
	* Application.cs: 
	
	- Modal windows are now destroyed in the proper order for windows
	
	* ContainerControl.cs:
	
	- ActiveControl setter has more conditions on when to return:
		- if we're reselecting the active control, but it actually
		didn't have focus (window hidden or some such), it runs
		- if the active control being selected doesn't actually 
		exist in the container, it returns
	
	* Form.cs
	
	- The ShowDialog now gets the current form as the owner when
	invoking without parameters, and correctly activates the owner 
	when returning
	
	* MessageBox.cs
	
	- MessageBox now catches the Escape key to exit

svn path=/trunk/mcs/; revision=66846
2006-10-20 22:04:17 +00:00
Jackson Harper 48b10e79f0 * Control.cs:
* ContainerControl.cs: Make validation events fire in the
        * correct
        order.  TODO: For some reason the first validation event is not
        getting fired.


svn path=/trunk/mcs/; revision=63939
2006-08-17 19:38:25 +00:00
Jackson Harper 73f2fb17d1 * ContainerControl.cs: Add a field that disables auto selecting
the next control in a container when the container is activated.
        * UpDownBase.cs: Don't select the text box when the up down is
        selected.


svn path=/trunk/mcs/; revision=63018
2006-07-26 19:11:10 +00:00
Jackson Harper 53d121aad0 * Control.cs: Use the directed select when selecting a control,
this way the container controls override will get called and the
        whole ActiveControl chain will get triggered.  TODO: probably
need
        to make sure this gets done everywhere instead of the old
        Select(Control).
        * ContainerControl.cs: Implement the directed Select method to
        find and activate the correct child control.    


svn path=/trunk/mcs/; revision=62932
2006-07-24 21:59:49 +00:00
Jackson Harper d6e9fa8c2b * ContainerControl.cs: Override SETFOCUS in the container
* control,
        so that it is not selected on mouse click.


svn path=/trunk/mcs/; revision=62465
2006-07-11 21:43:01 +00:00
Jackson Harper 31b45eb949 - Use the correct active control
svn path=/trunk/mcs/; revision=62438
2006-07-11 12:23:43 +00:00
Jackson Harper 6ccdd120c6 * Control.cs: When hiding a control only select the next control
if the current control was focused.
        - Don't handle enter/leave when setting/killing focus, this is
        done by the container control.
        - Remove is_selected, it's not needed anymore.
        - Add utility methods for selecting a child control, and for
        firing the Enter/Leave events.
        * ContainerControl.cs: When a control is activated fire the
        enter/leave events.
        - Don't wrap when processing the tab key, so that focus can be
        moved outside of the container.


svn path=/trunk/mcs/; revision=62436
2006-07-11 12:06:56 +00:00
Peter Dennis Bartok a6248ea49d 2006-06-02 Peter Dennis Bartok <[email protected]>
* Control.cs 
	  - Select: Implemented to just use activate. Seems to match MS 
	    behaviour closest. Documented to only do actual control walking 
	    based on it's parameters if in a container control so I moved 
	    the code there.
	  - Removed selection check logic from our internal Select() method
	* ContainerControl.cs:
	  - Select: Moved selection logic from Control here, since MS documents
	    that containers obey the bool arguments. No longer calling base


svn path=/trunk/mcs/; revision=61421
2006-06-02 20:10:54 +00:00
Peter Dennis Bartok 1e3c42c9ef 2006-04-10 Peter Dennis Bartok <[email protected]>
* ScrollableControl.cs:
	  - Rewrote DisplayRectangle code, now returning the proper x/y coords 
	    (instead of 0,0) and we now return the real width/height instead of
	    just the clientrectangle, adjusted for padding. The rectangle is
	    now cached and created by the new CalculateDisplayRectangle method.
	  - Created new CalculateDisplayRectange method, which basically does
	    what get_DisplayRectangle() did originally, but now using the 
	    right edge instead of DisplayRectangle to determine the size of
	    our scrollbars
	  - get_Canvas(): Fixed it to properly calculate canvas for 
	    right/bottom controls which seem to be placed to the right/bottom
	    of any controls that have a fixed location
	  - Removed TODO that's taken care of
	  - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
	    and SetDisplayRectLocation according to new MSDN2 docs
	  - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
	    event when that is called, this is added for compatibility
	  - ScrollControlIntoView(): Implemented.
	  - Switched scrollbars to be implicit, they shouldn't be selectable
	* ContainerControl: Now that ScrollControlIntoView is implemented, we 
	  call it when the active control is set/changed
	* ScrollBar.cs: Added support for generating Win32 scrollbar messages
	* ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
	  implicit_control variable (used for native Win32 message generation)
	* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new 
	  HorizontalScrollBarHeight and VerticalScrollBarWidth properties
	* ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
	* XplatUIStructs.cs: Added ScrollBarCommands enum


svn path=/trunk/mcs/; revision=59370
2006-04-11 19:14:49 +00:00
Peter Dennis Bartok a8251899ca 2006-03-10 Peter Dennis Bartok <[email protected]>
* PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
	* ContainerControl.cs: Partial implementation of some 2.0 scaling
	  methods. Moved the new 2.0 properties into alphabetical order with
	  other properties and added MonoTODO tags


svn path=/trunk/mcs/; revision=57767
2006-03-10 08:19:54 +00:00
Jonathan Gilbert b95ea0bfd8 * System.Windows.Forms/AutoScaleMode.cs: Added new file for
the 2.0 enumeration.
        * System.Windows.Forms/ContainerControl.cs: Added stub for
          AutoScaleMode property; outputs a message to stderr to
          encourage people familiar with its behaviour to implement
          it. :-)
        * System.Windows.Forms/Control.cs: Added stub for AutoScale;
          outputs a message just like ContainerControl::AutoScaleMode.
        * System.Windows.Forms.dll.sources: Added AutoScaleMode.cs to
          the list of files to build.


svn path=/trunk/mcs/; revision=57763
2006-03-10 05:36:37 +00:00
Jackson Harper 5b52efd24d 2006-03-03 Matt Hargett <[email protected]>
* Control.cs: implement Control.Padding
        * Padding.cs: -Padding.All returns -1 when constructing with the
        implicit default ctor
        -Padding.ToString() matches MS.NET
        * ContainerControl.cs: implement
        ContainerControl.AutoScaleDimensions
        * ListControl.cs: implement ListControl.FormattingEnabled
        * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
        * ButtonBase.cs:
        * TabPage.cs: Implement UseVisualStyleBackColor.
        * PictureBox.cs: Implement PictureBox.InitialImage.


svn path=/trunk/mcs/; revision=57562
2006-03-03 23:55:04 +00:00
Alexander Olk 5682f64b88 2006-02-03 Alexander Olk <[email protected]>
* ButtonBase.cs, ContainerControl.cs, Forms.cs,
	  ThemeWin32Classic.cs: Fix for #77458. Correct handling of
	  AcceptButton border drawing.


svn path=/trunk/mcs/; revision=56544
2006-02-03 21:06:58 +00:00
Peter Dennis Bartok a6a5c010ac 2005-09-21 Peter Dennis Bartok <[email protected]>
* ContainerControl.cs: Instead of throwing an exception, print
	  a one-time warning about Validate not being implemented
	* XplatUIWin32.cs: Removed debug output


svn path=/trunk/mcs/; revision=50426
2005-09-21 22:23:38 +00:00
Peter Dennis Bartok 10753885c6 2005-06-06 Peter Bartok <[email protected]>
* ImageListStreamer.cs: Fixed signature for GetData
	* CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
	* ComboBox.cs: 
	  - Added missing ChildAccessibleObject class
	  - Added missing OnXXXFocus overrides, switched to using those 
	    instead of the event handler
	* Control.cs:
	  - Added Parent property for ControlAccessibleObject
	  - Fixed signatures
	  - Fixed attributes
	  - Added ResetBindings()
	* ListBindingConverter.cs: Implemented some methods
	* ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
	* ImageList.cs: Implemented basic handle scheme, removed TODOs
	* ContainerControl.cs: Fixed signature, now subscribing to the 
	  ControlRemoved event instead of overriding the handler, LAMESPEC
	* CurrencyManager.cs: Added missing attribute
	* MonthCalendar.cs: Added missing properties


svn path=/trunk/mcs/; revision=45548
2005-06-06 22:07:33 +00:00
Peter Dennis Bartok 2f658596c9 2005-05-26 Peter Bartok <[email protected]>
* ContainerControl.cs: Pass AdjustFormScrollbars() call on to base


svn path=/trunk/mcs/; revision=45033
2005-05-26 07:08:43 +00:00
Jackson Harper 7f5e0f78f8 * BindingContext.cs:
* ControlBindingsCollection.cs:
	* CurrencyManager.cs:
	* Binding.cs:
	* BindingManagerBase.cs: Initial implementation
	* BindingsCollection.cs: Add an internal contains method that the
	BindingManagerBase uses to ensure bindings aren't added twice to
	the collection.
	* PropertyManager.cs: Stubbed out.
	* Control.cs: 
	* ContainerControl.cs: Hook up databinding


svn path=/trunk/mcs/; revision=41070
2005-02-22 23:00:34 +00:00
Peter Dennis Bartok 6459692d1b 2005-02-16 Peter Bartok <[email protected]>
* ImeMode.cs: Added missing attributes
        * Menu.cs: Fixed attribute
        * GroupBox.cs: Fixed attribute
        * Label.cs: Fixed attribute
        * ColorDialog.cs (RunDialog): Removed TODO attribute
        * ComboBox.cs: Fixed attributes
        * ListControl.cs: Added missing attributes
        * PropertyGrid.cs: Fixed attributes
        * Control.cs: Fixed attributes
        * ListViewItem.cs: Added TypeConverter attribute
        * NotifyIcon.cs: Fixed attributes
        * ListView.cs: Fixed attributes
        * ButtonBase.cs: Fixed attribute
        * ImageList.cs: Added missing attributes
        * ContainerControl.cs: Fixed signature
        * CheckedListBox.cs: Fixed attribute; added missing attributes
        * Panel.cs: Fixed attributes
        * PropertyTabChangedEventArgs.cs: Added missing attribute
        * PropertyValueChangedEventArgs.cs: Added missing attribute
        * Binding.cs: Fixed attribute
        * ListViewItemConverter: Implemented ListViewSubItemConverter class
        * ListBox.cs: Fixed attribute; added missing attributes;
        * ScrollableControl.cs: Added missing attributes
        * PictureBox.cs: Added missing attributes; implemented missing property
        * DateTimePicker.cs: Added missing attributes
        * Theme.cs (ToolWindowCaptionHeight): Fixed type
        * MonthCalendar.cs: Fixed attributes
        * StatusBarPanel.cs: Added missing attributes
        * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type


svn path=/trunk/mcs/; revision=40741
2005-02-16 11:33:50 +00:00
Peter Dennis Bartok 7e50c6e29f - Implemented RadioButton.ProcessMnemonic
- Implemented CheckBox.ProcessMnemonic
- Added handling of WM_SYSxxx keyboard messages to support mnemonic handling
- Added internal method to allow calling ProcessMnemonic from other controls
- Started support for handling validation chain handling
- Implemented ProcessMnemonic support
- Added Select() call to ContainerControl.ActiveControl, to make sure the 
  active control receives focus
- Marking Forms as TopLevel
- Fixed CheckBox and RadioButton to show hotkeys
- Removed WndProc override in CommonDialog, not needed
- Added various missing attributes


svn path=/trunk/mcs/; revision=40684
2005-02-15 10:33:44 +00:00
Peter Dennis Bartok 6226256403 - Forgot to commit
svn path=/trunk/mcs/; revision=39123
2005-01-18 23:01:29 +00:00
Peter Dennis Bartok d384ea4439 - Changes and fixes to implement focus and keyboard traversal; still very incomplete
and missing most associated events

svn path=/trunk/mcs/; revision=38866
2005-01-13 11:59:43 +00:00
Peter Dennis Bartok 0824dc8904 - Implemented ProcessDialogKey()
- Bug fixes

svn path=/trunk/mcs/; revision=38836
2005-01-12 23:27:11 +00:00
Jordi Mas i Hernandez 97e8a55f84 keyboard navigation and bug fixes
svn path=/trunk/mcs/; revision=38789
2005-01-12 16:22:58 +00:00
Jordi Mas i Hernandez 19dd25a7c6 remove old cvs comments since they are no longer updated and we use ChangeLog now
svn path=/trunk/mcs/; revision=37958
2004-12-20 11:04:09 +00:00
John BouAntoun c0c203367c * ContainerControl.cs: correct accidental check in of local changes
svn path=/trunk/mcs/; revision=36459
2004-11-24 09:42:31 +00:00
John BouAntoun 6525568507 * ThemeWin32Classic.cs:
- Fixed Drawing Last month in grid (sometimes not showing)
* MonthCalendar.cs:
 - Fixed title width calculation bug (makeing title small)

svn path=/trunk/mcs/; revision=36457
2004-11-24 09:04:30 +00:00
Peter Dennis Bartok c3d26b7f6b - Implemented BindingContext
- Implemented ParentForm

svn path=/trunk/mcs/; revision=35841
2004-11-08 20:36:11 +00:00
Peter Dennis Bartok 7c5352cb07 - Signature fixes
svn path=/trunk/mcs/; revision=32247
2004-08-11 22:20:59 +00:00