dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms DateRangeEventA


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms DateRangeEventArgs.cs,NONE,1.1 DateRangeEventHandler.cs,NONE,1.1 DrawItemEventArgs.cs,NONE,1.1 DrawItemEventHandler.cs,NONE,1.1 GridItem.cs,NONE,1.1 ItemDragEventArgs.cs,NONE,1.1 ItemDragEventHandler.cs,NONE,1.1 LabelEditEventArgs.cs,NONE,1.1 LabelEditEventHandler.cs,NONE,1.1 LinkClickedEventArgs.cs,NONE,1.1 LinkClickedEventHandler.cs,NONE,1.1 LinkLabel.cs,NONE,1.1 LinkLabelLinkClickedEventArgs.cs,NONE,1.1 LinkLabelLinkClickedEventHandler.cs,NONE,1.1 MeasureItemEventArgs.cs,NONE,1.1 MeasureItemEventHandler.cs,NONE,1.1 MethodInvoker.cs,NONE,1.1 NavigateEventArgs.cs,NONE,1.1 NavigateEventHandler.cs,NONE,1.1 NodeLabelEditEventArgs.cs,NONE,1.1 NodeLabelEditEventHandler.cs,NONE,1.1 PropertyTab.cs,NONE,1.1 PropertyTabChangedEventArgs.cs,NONE,1.1 PropertyTabChangedEventHandler.cs,NONE,1.1 PropertyValueChangedEventArgs.cs,NONE,1.1 PropertyValueChangedEventHandler.cs,NONE,1.1 ScrollEventArgs.cs,NONE,1.1 ScrollEventHandler.cs,NONE,1.1 SelectedGridItemChangedEventArgs.cs,NONE,1.1 SelectedGridItemChangedEventHandler.cs,NONE,1.1 SplitterEventArgs.cs,NONE,1.1 SplitterEventHandler.cs,NONE,1.1 StatusBarDrawItemEventArgs.cs,NONE,1.1 StatusBarDrawItemEventHandler.cs,NONE,1.1 StatusBarPanel.cs,NONE,1.1 StatusBarPanelClickEventArgs.cs,NONE,1.1 StatusBarPanelClickEventHandler.cs,NONE,1.1
Date: Wed, 18 Jun 2003 05:46:51 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Windows.Forms
In directory subversions:/tmp/cvs-serv19762/System.Windows.Forms

Added Files:
        DateRangeEventArgs.cs DateRangeEventHandler.cs 
        DrawItemEventArgs.cs DrawItemEventHandler.cs GridItem.cs 
        ItemDragEventArgs.cs ItemDragEventHandler.cs 
        LabelEditEventArgs.cs LabelEditEventHandler.cs 
        LinkClickedEventArgs.cs LinkClickedEventHandler.cs 
        LinkLabel.cs LinkLabelLinkClickedEventArgs.cs 
        LinkLabelLinkClickedEventHandler.cs MeasureItemEventArgs.cs 
        MeasureItemEventHandler.cs MethodInvoker.cs 
        NavigateEventArgs.cs NavigateEventHandler.cs 
        NodeLabelEditEventArgs.cs NodeLabelEditEventHandler.cs 
        PropertyTab.cs PropertyTabChangedEventArgs.cs 
        PropertyTabChangedEventHandler.cs 
        PropertyValueChangedEventArgs.cs 
        PropertyValueChangedEventHandler.cs ScrollEventArgs.cs 
        ScrollEventHandler.cs SelectedGridItemChangedEventArgs.cs 
        SelectedGridItemChangedEventHandler.cs SplitterEventArgs.cs 
        SplitterEventHandler.cs StatusBarDrawItemEventArgs.cs 
        StatusBarDrawItemEventHandler.cs StatusBarPanel.cs 
        StatusBarPanelClickEventArgs.cs 
        StatusBarPanelClickEventHandler.cs 
Log Message:


Missing "*EventArgs" and "*EventHandler" classes for Forms.


--- NEW FILE ---
/*
 * DateRangeEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.DateRangeEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class DateRangeEventArgs : EventArgs
{
        // Internal state.
        private DateTime start;
        private DateTime end;

        // Constructor.
        public DateRangeEventArgs(DateTime start, DateTime end)
                        {
                                this.start = start;
                                this.end = end;
                        }

        // Get this object's properties.
        public DateTime Start
                        {
                                get
                                {
                                        return start;
                                }
                        }
        public DateTime End
                        {
                                get
                                {
                                        return end;
                                }
                        }

}; // class DateRangeEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * DateRangeEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.DateRangeEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void DateRangeEventHandler
                (Object sender, DateRangeEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * DrawItemEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.DrawItemEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Drawing;

public class DrawItemEventArgs : EventArgs
{
        // Internal state.
        private Graphics graphics;
        private Font font;
        private Rectangle rect;
        private int index;
        private DrawItemState state;
        private Color foreColor;
        private Color backColor;

        // Constructors.
        public DrawItemEventArgs(Graphics graphics, Font font,
                                                 Rectangle rect, int index, 
DrawItemState state)
                        {
                                this.graphics = graphics;
                                this.font = font;
                                this.rect = rect;
                                this.index = index;
                                this.state = state;
                                this.foreColor = SystemColors.WindowText;
                                this.backColor = SystemColors.Window;
                        }
        public DrawItemEventArgs(Graphics graphics, Font font,
                                                 Rectangle rect, int index, 
DrawItemState state,
                                                         Color foreColor, Color 
backColor)
                        {
                                this.graphics = graphics;
                                this.font = font;
                                this.rect = rect;
                                this.index = index;
                                this.state = state;
                                this.foreColor = foreColor;
                                this.backColor = backColor;
                        }

        // Get this object's properties.
        public Color BackColor
                        {
                                get
                                {
                                        return backColor;
                                }
                        }
        public Rectangle Bounds
                        {
                                get
                                {
                                        return rect;
                                }
                        }
        public Color ForeColor
                        {
                                get
                                {
                                        return foreColor;
                                }
                        }
        public Graphics Graphics
                        {
                                get
                                {
                                        return graphics;
                                }
                        }
        public int Index
                        {
                                get
                                {
                                        return index;
                                }
                        }
        public DrawItemState State
                        {
                                get
                                {
                                        return state;
                                }
                        }

        // Draw the background of the item, using BackColor.
        public virtual void DrawBackground()
                        {
                                SolidBrush brush = new SolidBrush(backColor);
                                graphics.FillRectangle(brush, rect);
                                brush.Dispose();
                        }

        // Draw the focus rectangle for the item.
        public virtual void DrawFocusRectangle()
                        {
                                if((state & (DrawItemState.Focus | 
DrawItemState.NoFocusRect))
                                                == DrawItemState.Focus)
                                {
                                        ControlPaint.DrawFocusRectangle
                                                (graphics, rect, foreColor, 
backColor);
                                }
                        }

}; // class DrawItemEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * DrawItemEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.DrawItemEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void DrawItemEventHandler
                (Object sender, DrawItemEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * GridItem.cs - Implementation of the
 *                      "System.Windows.Forms.GridItem" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class GridItem
{
        // TODO

}; // class GridItem

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * ItemDragEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.ItemDragEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class ItemDragEventArgs : EventArgs
{
        // Internal state.
        private MouseButtons button;
        private Object item;

        // Constructors.
        public ItemDragEventArgs(MouseButtons button)
                        {
                                this.button = button;
                        }
        public ItemDragEventArgs(MouseButtons button, Object item)
                        {
                                this.button = button;
                                this.item = item;
                        }

        // Get this object's properties.
        public MouseButtons Button
                        {
                                get
                                {
                                        return button;
                                }
                        }
        public Object Item
                        {
                                get
                                {
                                        return item;
                                }
                        }

}; // class ItemDragEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * ItemDragEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.ItemDragEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void ItemDragEventHandler
                (Object sender, ItemDragEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LabelEditEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.LabelEditEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class LabelEditEventArgs : EventArgs
{
        // Internal state.
        private int item;
        private String label;
        private bool cancelEdit;

        // Constructors.
        public LabelEditEventArgs(int item)
                        {
                                this.item = item;
                        }
        public LabelEditEventArgs(int item, String label)
                        {
                                this.item = item;
                                this.label = label;
                        }

        // Get this object's properties.
        public bool CancelEdit
                        {
                                get
                                {
                                        return cancelEdit;
                                }
                                set
                                {
                                        cancelEdit = value;
                                }
                        }
        public int Item
                        {
                                get
                                {
                                        return item;
                                }
                        }
        public String Label
                        {
                                get
                                {
                                        return label;
                                }
                        }

}; // class LabelEditEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LabelEditEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.LabelEditEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void LabelEditEventHandler
                (Object sender, LabelEditEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LinkClickedEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.LinkClickedEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class LinkClickedEventArgs : EventArgs
{
        // Internal state.
        private String linkText;

        // Constructor.
        public LinkClickedEventArgs(String linkText)
                        {
                                this.linkText = linkText;
                        }

        // Get this object's properties.
        public String LinkText
                        {
                                get
                                {
                                        return linkText;
                                }
                        }

}; // class LinkClickedEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LinkClickedEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.LinkClickedEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void LinkClickedEventHandler
                (Object sender, LinkClickedEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LinkLabel.cs - Implementation of the
 *                      "System.Windows.Forms.LinkLabel" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Drawing;
using System.Drawing.Text;

[TODO]
public class LinkLabel
{
        // TODO

        [TODO]
        public class Link {}

}; // class LinkLabel

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LinkLabelLinkClickedEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.LinkLabelLinkClickedEventArgs" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class LinkLabelLinkClickedEventArgs : EventArgs
{
        // Internal state.
        private LinkLabel.Link link;

        // Constructor.
        public LinkLabelLinkClickedEventArgs(LinkLabel.Link link)
                        {
                                this.link = link;
                        }

        // Get this object's properties.
        public LinkLabel.Link Link
                        {
                                get
                                {
                                        return link;
                                }
                        }

}; // class LinkLabelLinkClickedEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * LinkLabelLinkClickedEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.LinkLabelLinkClickedEventHandler" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void LinkLabelLinkClickedEventHandler
                (Object sender, LinkLabelLinkClickedEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * MeasureItemEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.MeasureItemEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Drawing;

public class MeasureItemEventArgs : EventArgs
{
        // Internal state.
        private Graphics graphics;
        private int index;
        private int itemHeight;
        private int itemWidth;

        // Constructors.
        public MeasureItemEventArgs(Graphics graphics, int index)
                        {
                                this.graphics = graphics;
                                this.index = index;
                        }
        public MeasureItemEventArgs(Graphics graphics, int index, int 
itemHeight)
                        {
                                this.graphics = graphics;
                                this.index = index;
                                this.itemHeight = itemHeight;
                        }

        // Get or set this object's properties.
        public Graphics Graphics
                        {
                                get
                                {
                                        return graphics;
                                }
                        }
        public int Index
                        {
                                get
                                {
                                        return index;
                                }
                        }
        public int ItemHeight
                        {
                                get
                                {
                                        return itemHeight;
                                }
                                set
                                {
                                        itemHeight = value;
                                }
                        }
        public int ItemWidth
                        {
                                get
                                {
                                        return itemWidth;
                                }
                                set
                                {
                                        itemWidth = value;
                                }
                        }

}; // class MeasureItemEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * MeasureItemEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.MeasureItemEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void MeasureItemEventHandler
                (Object sender, MeasureItemEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * MethodInvoker.cs - Implementation of the
 *                      "System.Windows.Forms.MethodInvoker" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void MethodInvoker();

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * NavigateEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.NavigateEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class NavigateEventArgs : EventArgs
{
        // Internal state.
        private bool isForward;

        // Constructor.
        public NavigateEventArgs(bool isForward)
                        {
                                this.isForward = isForward;
                        }

        // Get this object's properties.
        public bool Forward
                        {
                                get
                                {
                                        return isForward;
                                }
                        }

}; // class NavigateEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * NavigateEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.NavigateEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void NavigateEventHandler
                (Object sender, NavigateEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * NodeLabelEditEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.NodeLabelEditEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class NodeLabelEditEventArgs : EventArgs
{
        // Internal state.
        private TreeNode node;
        private String label;
        private bool cancelEdit;

        // Constructors.
        public NodeLabelEditEventArgs(TreeNode node)
                        {
                                this.node = node;
                        }
        public NodeLabelEditEventArgs(TreeNode node, String label)
                        {
                                this.node = node;
                                this.label = label;
                        }

        // Get this object's properties.
        public bool CancelEdit
                        {
                                get
                                {
                                        return cancelEdit;
                                }
                                set
                                {
                                        cancelEdit = value;
                                }
                        }
        public TreeNode Node
                        {
                                get
                                {
                                        return node;
                                }
                        }
        public String Label
                        {
                                get
                                {
                                        return label;
                                }
                        }

}; // class NodeLabelEditEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * NodeLabelEditEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.NodeLabelEditEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void NodeLabelEditEventHandler
                (Object sender, NodeLabelEditEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * PropertyTab.cs - Implementation of the
 *                      "System.Windows.Forms.PropertyTab" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class PropertyTab
{
        // TODO

}; // class PropertyTab

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * PropertyTabChangedEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.PropertyTabChangedEventArgs" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class PropertyTabChangedEventArgs : EventArgs
{
        // Internal state.
        private PropertyTab oldTab;
        private PropertyTab newTab;

        // Constructor.
        public PropertyTabChangedEventArgs(PropertyTab oldTab, PropertyTab 
newTab)
                        {
                                this.oldTab = oldTab;
                                this.newTab = newTab;
                        }

        // Get this object's properties.
        public PropertyTab OldTab
                        {
                                get
                                {
                                        return oldTab;
                                }
                        }
        public PropertyTab NewTab
                        {
                                get
                                {
                                        return newTab;
                                }
                        }

}; // class PropertyTabChangedEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * PropertyTabChangedEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.PropertyTabChangedEventHandler" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void PropertyTabChangedEventHandler
                (Object sender, PropertyTabChangedEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * PropertyValueChangedEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.PropertyValueChangedEventArgs" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class PropertyValueChangedEventArgs : EventArgs
{
        // Internal state.
        private GridItem changedItem;
        private Object oldValue;

        // Constructor.
        public PropertyValueChangedEventArgs(GridItem changedItem, Object 
oldValue)
                        {
                                this.changedItem = changedItem;
                                this.oldValue = oldValue;
                        }

        // Get this object's properties.
        public GridItem ChangedItem
                        {
                                get
                                {
                                        return changedItem;
                                }
                        }
        public Object OldValue
                        {
                                get
                                {
                                        return oldValue;
                                }
                        }

}; // class PropertyValueChangedEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * PropertyValueChangedEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.PropertyValueChangedEventHandler" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void PropertyValueChangedEventHandler
                (Object sender, PropertyValueChangedEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * ScrollEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.ScrollEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class ScrollEventArgs : EventArgs
{
        // Internal state.
        private ScrollEventType type;
        private int newValue;

        // Constructor.
        public ScrollEventArgs(ScrollEventType type, int newValue)
                        {
                                this.type = type;
                                this.newValue = newValue;
                        }

        // Get this object's properties.
        public int NewValue
                        {
                                get
                                {
                                        return newValue;
                                }
                        }
        public ScrollEventType Type
                        {
                                get
                                {
                                        return type;
                                }
                        }

}; // class ScrollEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * ScrollEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.ScrollEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void ScrollEventHandler
                (Object sender, ScrollEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * SelectedGridItemChangedEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.SelectedGridItemChangedEventArgs" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

public class SelectedGridItemChangedEventArgs : EventArgs
{
        // Internal state.
        private GridItem oldSel;
        private GridItem newSel;

        // Constructor.
        public SelectedGridItemChangedEventArgs(GridItem oldSel, GridItem 
newSel)
                        {
                                this.oldSel = oldSel;
                                this.newSel = newSel;
                        }

        // Get this object's properties.
        public GridItem NewSelection
                        {
                                get
                                {
                                        return newSel;
                                }
                        }
        public GridItem OldSelection
                        {
                                get
                                {
                                        return oldSel;
                                }
                        }

}; // class SelectedGridItemChangedEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * SelectedGridItemChangedEventHandler.cs - Implementation of the
 *                      
"System.Windows.Forms.SelectedGridItemChangedEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void SelectedGridItemChangedEventHandler
                (Object sender, SelectedGridItemChangedEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * SplitterEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.SplitterEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Runtime.InteropServices;

#if !ECMA_COMPAT
[ComVisible(true)]
#endif
public class SplitterEventArgs : EventArgs
{
        // Internal state.
        private int x, y, splitX, splitY;

        // Constructor.
        public SplitterEventArgs(int x, int y, int splitX, int splitY)
                        {
                                this.x = x;
                                this.y = y;
                                this.splitX = splitX;
                                this.splitY = splitY;
                        }

        // Get or set this object's properties.
        public int SplitX
                        {
                                get
                                {
                                        return splitX;
                                }
                                set
                                {
                                        splitX = value;
                                }
                        }
        public int SplitY
                        {
                                get
                                {
                                        return splitY;
                                }
                                set
                                {
                                        splitY = value;
                                }
                        }
        public int X
                        {
                                get
                                {
                                        return x;
                                }
                        }
        public int Y
                        {
                                get
                                {
                                        return y;
                                }
                        }

}; // class SplitterEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * SplitterEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.SplitterEventHandler" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void SplitterEventHandler
                (Object sender, SplitterEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * StatusBarDrawItemEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.StatusBarDrawItemEventArgs" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Drawing;

public class StatusBarDrawItemEventArgs : DrawItemEventArgs
{
        // Internal state.
        private StatusBarPanel panel;

        // Constructors.
        public StatusBarDrawItemEventArgs
                                        (Graphics graphics, Font font, 
Rectangle rect,
                                         int index, DrawItemState state, 
StatusBarPanel panel)
                        : base(graphics, font, rect, index, state)
                        {
                                this.panel = panel;
                        }
        public StatusBarDrawItemEventArgs
                                        (Graphics graphics, Font font, 
Rectangle rect,
                                         int index, DrawItemState state, 
StatusBarPanel panel,
                                         Color foreColor, Color backColor)
                        : base(graphics, font, rect, index, state, foreColor, 
backColor)
                        {
                                this.panel = panel;
                        }

        // Get this object's properties.
        public StatusBarPanel Panel
                        {
                                get
                                {
                                        return panel;
                                }
                        }

}; // class StatusBarDrawItemEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * StatusBarDrawItemEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.StatusBarDrawItemEventHandler" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void StatusBarDrawItemEventHandler
                (Object sender, StatusBarDrawItemEventArgs e);

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * StatusBarPanel.cs - Implementation of the
 *                      "System.Windows.Forms.StatusBarPanel" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public class StatusBarPanel
{
        // TODO

}; // class StatusBarPanel

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * StatusBarPanelClickEventArgs.cs - Implementation of the
 *                      "System.Windows.Forms.StatusBarPanelClickEventArgs" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

using System.Drawing;

public class StatusBarPanelClickEventArgs : MouseEventArgs
{
        // Internal state.
        private StatusBarPanel statusBarPanel;

        // Constructor.
        public StatusBarPanelClickEventArgs
                                (StatusBarPanel statusBarPanel, MouseButtons 
button,
                                 int clicks, int x, int y)
                        : base(button, clicks, x, y, 0)
                        {
                                this.statusBarPanel = statusBarPanel;
                        }

        // Get this object's properties.
        public StatusBarPanel StatusBarPanel
                        {
                                get
                                {
                                        return statusBarPanel;
                                }
                        }

}; // class StatusBarPanelClickEventArgs

}; // namespace System.Windows.Forms

--- NEW FILE ---
/*
 * StatusBarPanelClickEventHandler.cs - Implementation of the
 *                      "System.Windows.Forms.StatusBarPanelClickEventHandler" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Windows.Forms
{

public delegate void StatusBarPanelClickEventHandler
                (Object sender, StatusBarPanelClickEventArgs e);

}; // namespace System.Windows.Forms





reply via email to

[Prev in Thread] Current Thread [Next in Thread]