Skip to Content
.NET Windows Forms in a Nutshell
book

.NET Windows Forms in a Nutshell

by Ian Griffiths, Matthew Adams
March 2003
Intermediate to advanced
896 pages
32h 35m
English
O'Reilly Media, Inc.
Content preview from .NET Windows Forms in a Nutshell

Name

ComponentEditorForm

Synopsis

This class provides the user interface for a WindowsFormsComponentEditor. It can show a number of ComponentEditorPage objects for a particular component. You specify the source component and the types of the pages to show in the constructor.

It is very similar in conception to the Win32 PropertySheet control, but is used by Visual Studio .NET to display component properties.


public class ComponentEditorForm : System.Windows.Forms.Form {

// Public Constructors

   public ComponentEditorForm(object component, Type[ ] pageTypes);

// Public Instance Methods

   public override bool PreProcessMessage(

  // overrides System.Windows.Forms.Control

   public virtual DialogResult ShowForm();

   public virtual DialogResult ShowForm(int page);

   public virtual DialogResult ShowForm(System.Windows.Forms.IWin32Window owner);

   public virtual DialogResult ShowForm(System.Windows.Forms.IWin32Window owner, int page);

// Protected Instance Methods

                  // overrides System.Windows.Forms.Form

   protected override void OnHelpRequested(

  // overrides System.Windows.Forms.Control

   protected virtual void OnSelChangeSelector(object source, System.Windows.Forms.TreeViewEventArgs e);

}

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.ICompone, System.IDisposable) System.Windows.Forms.Control(System.Windows.Forms.IOleContr, System.Windows.Forms.IOleObject, System.Windows.Forms.IOleInPlaceObject, System.Windows.Forms.IOleInPlaceActiveObject, System.Windows.Forms.IOleWindow ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Forms 2.0 Programming

Windows Forms 2.0 Programming

Chris Sells, Michael Weinhardt
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse

Publisher Resources

ISBN: 0596003382Supplemental ContentCatalog PageErrata