36 references to FormStartPosition
System.Messaging (1)
System\Messaging\Design\QueuePathDialog.cs (1)
289
this.StartPosition =
FormStartPosition
.CenterParent;
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
97
StartPosition = System.Windows.Forms.
FormStartPosition
.CenterParent;
System.Web.Mobile (2)
UI\MobileControls\Design\DesignerForm.cs (1)
74
StartPosition = System.Windows.Forms.
FormStartPosition
.CenterParent;
UI\MobileControls\Design\Util\GenericUI.cs (1)
53
dialog.StartPosition =
FormStartPosition
.CenterParent;
System.Windows.Forms (30)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
84
StartPosition =
FormStartPosition
.CenterParent;
winforms\Managed\System\WinForms\Form.cs (24)
287
Debug.Assert(formState[FormStateStartPos] == (int)
FormStartPosition
.WindowsDefaultLocation, "Failed to set formState[FormStateStartPos]");
2426
DefaultValue(
FormStartPosition
.WindowsDefaultLocation),
2429
public
FormStartPosition
StartPosition {
2431
return(
FormStartPosition
)formState[FormStateStartPos];
2435
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
FormStartPosition
.Manual, (int)
FormStartPosition
.CenterParent))
2437
throw new InvalidEnumArgumentException("value", (int)value, typeof(
FormStartPosition
));
3680
if ((
FormStartPosition
)formState[FormStateStartPos] !=
FormStartPosition
.WindowsDefaultBounds) {
3999
switch ((
FormStartPosition
)formState[FormStateStartPos]) {
4000
case
FormStartPosition
.WindowsDefaultBounds:
4004
goto case
FormStartPosition
.WindowsDefaultLocation;
4005
case
FormStartPosition
.WindowsDefaultLocation:
4006
case
FormStartPosition
.CenterParent:
4018
case
FormStartPosition
.CenterScreen:
4874
FormStartPosition
startPos = (
FormStartPosition
)formState[FormStateStartPos];
4875
if (startPos ==
FormStartPosition
.CenterParent) {
4878
else if (startPos ==
FormStartPosition
.CenterScreen) {
5510
FormStartPosition
oldStartPosition =
FormStartPosition
.Manual;
5517
if (StartPosition !=
FormStartPosition
.Manual) {
5521
StartPosition =
FormStartPosition
.Manual;
5547
if (oldStartPosition !=
FormStartPosition
.Manual) {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
533
new public
FormStartPosition
StartPosition {
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
301
this.StartPosition = System.Windows.Forms.
FormStartPosition
.CenterScreen;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4917
if (dialog.StartPosition ==
FormStartPosition
.CenterScreen) {
4924
dialog.StartPosition =
FormStartPosition
.Manual;
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
276
StartPosition =
FormStartPosition
.CenterScreen;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerWidgets.cs (2)
1093
StartPosition =
FormStartPosition
.Manual;
1410
StartPosition =
FormStartPosition
.Manual;