mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-23 03:39:43 -10:00
2006-12-23 Chris Toshok <[email protected]> * Control.cs: make SetImplicitBounds internal, do some futzing with LayoutEngine so that it's available in 1.1, and remove the entire duplicated code mess from PerformLayout. Use System.Windows.Forms.Layout.DefaultLayout instead. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0. In System.Windows.Forms.Layout: 2006-12-23 Chris Toshok <[email protected]> * DefaultLayout.cs: include this in 1.1, and make use of SetImplicitBounds like the Control.PerformLayout code does. 2006-12-06 Chris Toshok <[email protected]> * DefaultLayout.cs: make Control.child_controls private. switch all uses over to Control.Controls. 2006-12-04 Chris Toshok <[email protected]> * ArrangedElementCollection.cs: fix up corcompare for this file. we need to make all the interface methods explicit, not public, and add internal methods that can be called from the subclasses (we also call them from the explicit implementations.) 2006-11-30 Jonathan Pobst <[email protected]> * ArrangedElementCollection.cs: Make constructor internal. * FlowLayout.cs: Make work with ToolStrip. 2006-10-02 Jonathan Pobst <[email protected]> * ArrangedElementCollection.cs: Initial commit. 2006-09-15 Jonathan Pobst <[email protected]> svn path=/trunk/mcs/; revision=70004
49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
// Permission is hereby granted, free of charge, to any person obtaining
|
|
// a copy of this software and associated documentation files (the
|
|
// "Software"), to deal in the Software without restriction, including
|
|
// without limitation the rights to use, copy, modify, merge, publish,
|
|
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
// permit persons to whom the Software is furnished to do so, subject to
|
|
// the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be
|
|
// included in all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2004 Novell, Inc.
|
|
//
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace System.Windows.Forms.Layout {
|
|
|
|
#if NET_2_0
|
|
public
|
|
#else
|
|
internal
|
|
#endif
|
|
abstract class LayoutEngine {
|
|
|
|
public virtual void InitLayout (object child, BoundsSpecified specified)
|
|
{
|
|
}
|
|
|
|
public virtual bool Layout (object container, LayoutEventArgs args)
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|