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