58 references to FormStartPosition
Accessibility_Core_App (5)
CommonControl1.Designer.cs (1)
693this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
CommonControl2.Designer.cs (1)
281this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
ContainerControls.Designer.cs (1)
825this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
ContainerControls2.Designer.cs (1)
439this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
Main.Designer.cs (1)
182this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
106StartPosition = FormStartPosition.CenterScreen 110StartPosition = FormStartPosition.Manual
PresentationUI (9)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
736StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
171this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
227StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
213StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
220this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
130this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
214StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
265StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
MS\Internal\Documents\SigningProgress.Designer.cs (1)
66StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
System.Windows.Forms (28)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
277StartPosition = FormStartPosition.CenterScreen;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
4851if (dialog.StartPosition == FormStartPosition.CenterScreen) 4863dialog.StartPosition = FormStartPosition.Manual;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
62StartPosition = FormStartPosition.CenterParent;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
251StartPosition = FormStartPosition.CenterScreen;
System\Windows\Forms\Form.cs (22)
189Debug.Assert(_formState[s_formStateStartPos] == (int)FormStartPosition.WindowsDefaultLocation, "Failed to set formState[FormStateStartPos]"); 1867[DefaultValue(FormStartPosition.WindowsDefaultLocation)] 1869public FormStartPosition StartPosition 1873return (FormStartPosition)_formState[s_formStateStartPos]; 2034/// Adjusts form location based on <see cref="FormStartPosition"/> 2038FormStartPosition startPos = (FormStartPosition)_formState[s_formStateStartPos]; 2039if (startPos == FormStartPosition.CenterParent) 2043else if (startPos == FormStartPosition.CenterScreen) 3328if ((FormStartPosition)_formState[s_formStateStartPos] != FormStartPosition.WindowsDefaultBounds) 3625switch ((FormStartPosition)_formState[s_formStateStartPos]) 3627case FormStartPosition.WindowsDefaultBounds: 3631goto case FormStartPosition.WindowsDefaultLocation; 3632case FormStartPosition.WindowsDefaultLocation: 3633case FormStartPosition.CenterParent: 3646case FormStartPosition.CenterScreen: 4860FormStartPosition oldStartPosition = FormStartPosition.Manual; 4869if (StartPosition != FormStartPosition.Manual) 4875StartPosition = FormStartPosition.Manual; 4902if (oldStartPosition != FormStartPosition.Manual)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
299public new FormStartPosition StartPosition
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DataSourceProviderService.cs (2)
18public abstract DataSourceGroup InvokeAddNewDataSource(IWin32Window parentWindow, FormStartPosition startPosition); 20public abstract bool InvokeConfigureDataSource(IWin32Window parentWindow, FormStartPosition startPosition, DataSourceDescriptor dataSourceDescriptor);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
29StartPosition = FormStartPosition.Manual;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
850_addColumnDialog.StartPosition = FormStartPosition.CenterParent;
System\Windows\Forms\Design\DataSourceProviderService.cs (2)
16public abstract DataSourceGroup InvokeAddNewDataSource(IWin32Window parentWindow, FormStartPosition startPosition); 18public abstract bool InvokeConfigureDataSource(IWin32Window parentWindow, FormStartPosition startPosition, DataSourceDescriptor dataSourceDescriptor);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1692DataSourceGroup newProjectDataSources = _dataSourceProviderService.InvokeAddNewDataSource(this, FormStartPosition.CenterScreen);
System\Windows\Forms\Design\FormatStringDialog.cs (1)
210StartPosition = FormStartPosition.CenterScreen;
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
148Assert.Equal(FormStartPosition.CenterParent, control.StartPosition);
System\Windows\Forms\FormTests.cs (1)
150Assert.Equal(FormStartPosition.WindowsDefaultLocation, control.StartPosition);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
595StartPosition = FormStartPosition.Manual
WinFormsControlsTest (3)
FormShowInTaskbar.cs (2)
15StartPosition = FormStartPosition.CenterScreen; 35StartPosition = FormStartPosition.CenterScreen,
RichTextBoxes.cs (1)
125StartPosition = FormStartPosition.CenterScreen,