25 types derived from Form
System.Messaging (1)
System\Messaging\Design\QueuePathDialog.cs (1)
28public class QueuePathDialog : Form
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
26internal abstract class DesignerForm : Form
System.Web.Mobile (1)
UI\MobileControls\Design\DesignerForm.cs (1)
37internal abstract class DesignerForm : Form {
System.Windows.Forms (9)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
34public class ComponentEditorForm : Form {
winforms\Managed\System\WinForms\MDIWindowDialog.cs (1)
23internal sealed class MdiWindowDialog : Form {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
234private class StatusDialog : Form {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
39public class PrintPreviewDialog : Form {
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
36internal class GridErrorDlg : Form {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5440private class DropDownHolder : Form, IMouseHookClient {
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
36public class ThreadExceptionDialog : Form {
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
17internal class TrustManagerMoreInformation : System.Windows.Forms.Form
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
41internal class TrustManagerPromptUI : System.Windows.Forms.Form
System.Workflow.Activities (4)
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
27internal abstract partial class BasicBrowserDialog : Form
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
17internal partial class RenameRuleObjectDialog : Form
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
21public partial class RuleConditionDialog : Form
Rules\Design\Dialogs\RuleSetDialog.cs (1)
25public partial class RuleSetDialog : Form
System.Workflow.ComponentModel (6)
AuthoringOM\Design\DesignerWidgets.cs (2)
1036private sealed class Palette : Form 1391private sealed class PaletteShadow : Form
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
20internal sealed partial class ActivityBindForm : Form
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
26public sealed class ThemeConfigurationDialog : System.Windows.Forms.Form
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
27public sealed class TypeBrowserDialog : Form, ISite
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
15public sealed class WorkflowPageSetupDialog : System.Windows.Forms.Form
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
20partial class OperationPickerDialog : Form
WsatUI (2)
MMCUI\AcceptedCertificatesForm.cs (1)
19partial class AcceptedCertificatesForm : Form
MMCUI\TraceOptionsForm.cs (1)
16partial class TraceOptionsForm : Form
1 instantiation of Form
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
94_dialogWindow = new Form();
279 references to Form
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
32private System.Windows.Forms.Form _dialogWindow;
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\UIHelper.cs (1)
38internal static DialogResult ShowDialog(IServiceProvider serviceProvider, Form form)
System.Web.Mobile (4)
UI\MobileControls\Design\DesignerForm.cs (1)
20using Form = System.Windows.Forms.Form;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (1)
27using Form = System.Windows.Forms.Form;
UI\MobileControls\Design\Util\GenericUI.cs (2)
45Form dialog, 76Form dialog,
System.Windows.Forms (256)
winforms\Managed\System\WinForms\Application.cs (10)
466internal static void OpenFormsInternalAdd(Form form) 476internal static void OpenFormsInternalRemove(Form form) 677foreach (Form f in OpenFormsInternal) 1126foreach (Form f in OpenFormsInternal) { 1494public static void Run(Form mainForm) { 1516internal static void RunDialog(Form form) { 2368private Form currentForm; 3398Form oldForm = currentForm; 3517private bool LocalModalMessageLoop(Form form) { 4330public ModalApplicationContext(Form modalForm) : base(modalForm) {
winforms\Managed\System\WinForms\ApplicationContext.cs (5)
21Form mainForm; 37public ApplicationContext(Form mainForm) { 53public Form MainForm { 152Form form = (Form)sender;
winforms\Managed\System\WinForms\Binding.cs (2)
226Form form = value as Form;
winforms\Managed\System\WinForms\Button.cs (1)
271Form form = FindFormInternal();
winforms\Managed\System\WinForms\ContainerControl.cs (6)
352public Form ParentForm { 360internal Form ParentFormInternal { 366if (this is Form) { 505Form f = FindFormInternal(); 588Form form = FindFormInternal(); 909Debug.Assert(this is Form);
winforms\Managed\System\WinForms\Control.cs (14)
5662Form lastOwner = null; 5673if (lastParent is Form) { 5674Form f = (Form)lastParent; 5675for (Form form = f; form != null; form = form.OwnerInternal) { 6259public Form FindForm() { 6264internal Form FindFormInternal() { 6266while (cur != null && !(cur is Form) ) { 6269return (Form)cur; 8730if (DpiHelper.EnableDpiChangedMessageHandling && !(typeof(Form).IsAssignableFrom(this.GetType()))) { 9601bool formRTL = ((this is Form || this is MdiClient) && this.IsMirrored); 11982Form f = this as Form; 12074if (this is Form) {
winforms\Managed\System\WinForms\Control.Ime.cs (4)
683Form form = FindFormInternal(); 707Form form = FindFormInternal(); 832Form appForm = topMostWinformsParent as Form;
winforms\Managed\System\WinForms\DataGridView.cs (2)
3695Form parentForm = this.TopLevelControlInternal as Form;
winforms\Managed\System\WinForms\Design\IUIService.cs (1)
67DialogResult ShowDialog(Form form);
winforms\Managed\System\WinForms\Design\IWinFormsEditorService.cs (1)
43DialogResult ShowDialog(Form dialog);
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
709return extendee is Control && !(extendee is Form) && !(extendee is ToolBar);
winforms\Managed\System\WinForms\Form.cs (105)
225/// Initializes a new instance of the <see cref='System.Windows.Forms.Form'/> class. 372Form parentForm = ParentFormInternal; 430public static Form ActiveForm { 437if (c != null && c is Form) { 438return(Form)c; 456public Form ActiveMdiChild { 458Form mdiChild = ActiveMdiChildInternal; 471mdiChild = Control.FromHandleInternal( hwnd ) as Form; 484internal Form ActiveMdiChildInternal{ 486return (Form)Properties.GetObject(PropActiveMdiChild); 496private Form FormerlyActiveMdiChild 500return (Form)Properties.GetObject(PropFormerlyActiveMdiChild); 1038Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 1039Form form = formMdiParent.ActiveMdiChildInternal; 1101defaultIcon = new Icon(typeof(Form), "wfc.ico"); 1135defaultRestrictedIcon = new Icon(typeof(Form), "wfsecurity.ico"); 1845public Form[] MdiChildren { 1851return new Form[0]; 1880public Form MdiParent { 1893private Form MdiParentInternal { 1895return (Form)Properties.GetObject(PropFormMdiParent); 1898Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 1987Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 2124/// <para>Gets an array of <see cref='System.Windows.Forms.Form'/> objects that represent all forms that are owned by this form.</para> 2132public Form[] OwnedForms { 2134Form[] ownedForms = (Form[])Properties.GetObject(PropOwnedForms); 2137Form[] result = new Form[ownedFormsCount]; 2156public Form Owner { 2162Form ownerOld = OwnerInternal; 2190internal Form OwnerInternal { 2192return (Form)Properties.GetObject(PropOwner); 2548if (!value && ((Form)this).IsMdiContainer && !DesignMode) { 3104protected void ActivateMdiChild(Form form) { 3112private void ActivateMdiChildInternal(Form form) { 3118Form activeMdiChild = ActiveMdiChildInternal; 3150public void AddOwnedForm(Form ownedForm) { 3159Form[] ownedForms = (Form[])Properties.GetObject(PropOwnedForms); 3170ownedForms = new Form[4]; 3174Form[] newOwnedForms = new Form[ownedFormsCount*2]; 3486Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 3639Form form = (Form)Properties.GetObject(PropFormMdiParent); 3725Form activeMdiChild = ActiveMdiChildInternal; 3727Form mdiParent = activeMdiChild.MdiParentInternal; 3740foreach(Form mdiChild in mdiParent.MdiChildren ){ 3819Form owner = (Form)Properties.GetObject(PropOwner); 3825Form[] ownedForms = (Form[])Properties.GetObject(PropOwnedForms); 4527Form parForm = ParentFormInternal; 4547Form parForm = ParentFormInternal; 4570if (ctl is Form && ctl.Properties.ContainsObject(PropMergedMenu)) { 4951/// <para>Raises the <see cref='System.Windows.Forms.Form.InputLanguageChanged'/> 4962/// <para>Raises the <see cref='System.Windows.Forms.Form.InputLanguageChanging'/> 4978Form mdiParent = MdiParentInternal; 5017/// <para>Raises the <see cref='System.Windows.Forms.Form.MdiChildActivate'/> event.</para> 5029/// <para>Raises the <see cref='System.Windows.Forms.Form.MenuStart'/> 5443Form[] ownedForms = this.OwnedForms; 5484Form[] ownedForms = this.OwnedForms; 5567public void RemoveOwnedForm(Form ownedForm) { 5576Form[] ownedForms = (Form[])Properties.GetObject(PropOwnedForms); 5774Form form = ParentFormInternal; 6101Form oldOwner = OwnerInternal; 6102if (owner is Form && owner != oldOwner) { 6103Owner = (Form)owner; 6179Form oldOwner = OwnerInternal; 6181if (owner is Form && owner != oldOwner) { 6182Owner = (Form)owner; 6266/// <para>Indicates whether the <see cref='System.Windows.Forms.Form.AutoScaleBaseSize'/> property should be 6279/// <para>Indicates whether the <see cref='System.Windows.Forms.Form.Icon'/> property should be persisted.</para> 6296/// <para>Indicates whether the <see cref='System.Windows.Forms.Form.Size'/> property should be persisted.</para> 6305/// <para>Indicates whether the <see cref='System.Windows.Forms.Form.TransparencyKey'/> property should be 6403if (cc is Form) 6431Form owner = (Form)Properties.GetObject(PropOwner); 6477Form form; 6570Form activeMdiChild = this.ActiveMdiChildInternal; 6651Form activeMdiForm = ActiveMdiChildInternal; 6752/// <para>Raises the <see cref='System.Windows.Forms.Form.ResizeBegin'/> 6767/// <para>Raises the <see cref='System.Windows.Forms.Form.ResizeEnd'/> 7026foreach(Form mdiChild in MdiChildren) { 7045Form[] ownedForms = this.OwnedForms; 7090foreach(Form mdiChild in MdiChildren) { 7100Form[] ownedForms = this.OwnedForms; 7258Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 7285Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 7301Form formMdiParent = (Form)Properties.GetObject(PropFormMdiParent); 7684private Form owner; 7692public ControlCollection(Form owner) 7716if (value is Form && ((Form)value).MdiParentInternal != null) { 7795Form owner; 7800internal SecurityToolTip(Form owner) {
winforms\Managed\System\WinForms\FormClosedEvent.cs (2)
23/// Provides data for the <see cref='System.Windows.Forms.Form.OnClosed'/>, 24/// <see cref='System.Windows.Forms.Form.OnClosed'/>
winforms\Managed\System\WinForms\FormClosingEvent.cs (2)
20/// Provides data for the <see cref='System.Windows.Forms.Form.OnClosing'/>, 21/// <see cref='System.Windows.Forms.Form.OnClosing'/>
winforms\Managed\System\WinForms\FormCollection.cs (8)
31public virtual Form this[string name] { 35foreach(Form form in InnerList) { 52public virtual Form this[int index] { 54Form f = null; 57f = (Form) InnerList[index]; 66internal void Add(Form form) { 75internal bool Contains(Form form) 88internal void Remove(Form form) {
winforms\Managed\System\WinForms\InputLangChangeEvent.cs (1)
24/// Provides data for the <see cref='System.Windows.Forms.Form.InputLanguageChanged'/>
winforms\Managed\System\WinForms\InputLangChangeEventHandler.cs (2)
17/// Represents the method that will handle the <see cref='System.Windows.Forms.Form.InputLanguageChanged'/> event of a 18/// <see cref='System.Windows.Forms.Form'/>.
winforms\Managed\System\WinForms\InputLangChangeRequestEvent.cs (1)
22/// Provides data for the <see cref='System.Windows.Forms.Form.InputLanguageChanging'/>
winforms\Managed\System\WinForms\InputLangChangeRequestEventHandler.cs (2)
17/// Represents the method that will handle the <see cref='System.Windows.Forms.Form.InputLanguageChanging'/> event of a <see cref='System.Windows.Forms.Form'/>.
winforms\Managed\System\WinForms\MainMenu.cs (4)
25internal Form form; 26internal Form ownerForm; // this is the form that created this menu, and is the only form allowed to dispose it. 162public Form GetForm() { 166internal Form GetFormUnsafe() {
winforms\Managed\System\WinForms\MDIClient.cs (12)
144public Form[] MdiChildren { 146Form[] temp = new Form[children.Count]; 255if (ctl != null && ctl is Form) { 256Form child = (Form)ctl; 363Form childForm = null; 364if (ParentInternal is Form) { 365childForm = ((Form)ParentInternal).ActiveMdiChildInternal; 434if (!(value is Form) || !((Form)value).IsMdiChild) { 440owner.children.Add((Form)value);
winforms\Managed\System\WinForms\MDIControlStrip.cs (1)
134Icon icon = (hIcon != IntPtr.Zero) ? Icon.FromHandle(hIcon) : Form.DefaultIcon;
winforms\Managed\System\WinForms\MDIWindowDialog.cs (6)
28Form active; 36public Form ActiveChildForm { 51public Form form; 53public ListItem(Form f) { 62public void SetItems(Form active, Form[] all) {
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (6)
22private Form mdiParent = null; 67public void PopulateItems(Form mdiParent, ToolStripMenuItem mdiMergeItem, bool includeSeparator) { 76Form[] forms = mdiParent.MdiChildren; 86Form activeMdiChild = mdiParent.ActiveMdiChild; 142Form[] forms = mdiParent.MdiChildren; 175Form boundForm = windowListItem.MdiForm;
winforms\Managed\System\WinForms\MenuItem.cs (11)
1119internal Form[] FindMdiForms() { 1120Form[] forms = null; 1122Form menuForm = null; 1130forms = new Form[0]; 1150Form[] forms = FindMdiForms(); 1153Form activeMdiChild = GetMainMenu().GetFormUnsafe().ActiveMdiChild; 1476Form f = ((MainMenu)menu).GetFormUnsafe(); 1798Form[] forms = parent.FindMdiForms(); 1802Form boundForm = forms[boundIndex]; 1825Form[] forms = parent.FindMdiForms(); 1827Form active = parent.GetMainMenu().GetFormUnsafe().ActiveMdiChild;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
336while(parent != null && !(parent is Form)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4231public virtual DialogResult RunDialog(Form dialog) { 4915public DialogResult /* IWindowsFormsEditorService. */ ShowDialog(Form dialog) {
winforms\Managed\System\WinForms\SizeGripStyle.cs (1)
15/// Specifies the style of the sizing grip on a <see cref='System.Windows.Forms.Form'/>.
winforms\Managed\System\WinForms\StatusBar.cs (3)
1112if (parent != null && parent is Form) { 1113FormBorderStyle bs = ((Form)parent).FormBorderStyle; 1120if (!((Form)parent).TopLevel
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
260Form activeForm = Form.ActiveForm;
winforms\Managed\System\WinForms\ToolStripManager.cs (11)
177internal static ToolStrip FindToolStrip(Form owningForm, string toolStripName) 656public static void LoadSettings(Form targetForm) { 667public static void LoadSettings(Form targetForm, string key) { 684public static void SaveSettings(Form sourceForm) { 695public static void SaveSettings(Form sourceForm, string key) { 1647Form mainForm = Control.FromHandleInternal(rootWindowOfControl.Handle) as Form; 1649Form toolStripForm = topMostToolStrip.FindFormInternal(); 1725Form mdiChild = toplevelControl as Form; 1771Form mainForm = control.FindFormInternal();
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
99internal ToolStripMenuItem(Form mdiForm) { 598internal Form MdiForm { 601return Properties.GetObject(PropMdiForm) as Form;
winforms\Managed\System\WinForms\ToolStripSettings.cs (3)
113private Form form; 116internal ToolStripSettingsManager(Form owner, string formKey) { 310if (controlsToLookIn[i] == null || controlsToLookIn[i] is Form) {
winforms\Managed\System\WinForms\ToolTip.cs (6)
1057Form topForm = topLevelControl as Form; 1097Form baseFrom = TopLevelControl as Form; 1980Form baseFrom = tool.FindFormInternal(); 2088Form baseFrom = tool.FindFormInternal();
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (4)
368bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerOKSm.bmp"); 379bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerWarningSm.bmp"); 391bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerHighRiskSm.bmp"); 405var icon = new Icon(typeof(System.Windows.Forms.Form), iconName);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (10)
403lock (typeof(System.Windows.Forms.Form)) 407var globeIcon = new Icon(typeof(System.Windows.Forms.Form), "TrustManagerGlobe.ico"); 412Bitmap globeBmp = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerGlobe.bmp"); 652var icon = new Icon(typeof(System.Windows.Forms.Form), "TrustManagerOK.ico"); 657bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerOK.bmp"); 664var icon = new Icon(typeof(System.Windows.Forms.Form), "TrustManagerWarning.ico"); 669bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerWarning.bmp"); 677var icon = new Icon(typeof(System.Windows.Forms.Form), "TrustManagerHighRisk.ico"); 682bitmap = new Bitmap(typeof(System.Windows.Forms.Form), "TrustManagerHighRisk.bmp"); 808if (this.Visible && Form.ActiveForm != this)
System.Workflow.Activities (2)
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
439Size topLevelControlSize = (TopLevelControl is Form) ? ((Form)TopLevelControl).ClientSize : TopLevelControl.Size;
System.Workflow.ComponentModel (12)
AuthoringOM\Design\ActivityDesigner.cs (5)
3064if (Form.ActiveForm != null && Form.ActiveForm.GetType().FullName.Equals(typeof(ItemPalette).FullName + "+Palette", StringComparison.Ordinal)) 3065formShown = (Form.ActiveForm.Location == designer.PointToScreen(new Point(activatedBounds.Left, activatedBounds.Bottom))); 3074else if (Form.ActiveForm != null && Form.ActiveForm.GetType().FullName.Equals(typeof(ItemPalette).FullName + "+Palette", StringComparison.Ordinal))
AuthoringOM\Design\DesignerHelpers.cs (1)
1393owner = Form.ActiveForm as IWin32Window;
AuthoringOM\Design\WorkflowView.cs (6)
249Form host = TopLevelControl as Form; 540Form host = TopLevelControl as Form; 554Form host = TopLevelControl as Form;
System.WorkflowServices (3)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (3)
234formCancelButton = Form.ActiveForm.CancelButton as Button; 235Form.ActiveForm.CancelButton = null; 242Form.ActiveForm.CancelButton = formCancelButton;