59 references to FormBorderStyle
PresentationUI (11)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
732
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedDialog;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
167
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
222
FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
210
FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
216
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
126
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
189
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
376
this.FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
212
FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
261
FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedSingle;
MS\Internal\Documents\SigningProgress.Designer.cs (1)
63
FormBorderStyle = System.Windows.Forms.
FormBorderStyle
.FixedToolWindow;
System.Windows.Forms (37)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
272
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
59
FormBorderStyle =
FormBorderStyle
.None;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
57
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
248
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Form.cs (32)
181
Debug.Assert(_formState[s_formStateBorderStyle] == (int)
FormBorderStyle
.Sizable, "Failed to set formState[FormStateBorderStyle]");
652
[DefaultValue(
FormBorderStyle
.Sizable)]
655
public
FormBorderStyle
FormBorderStyle
657
get => (
FormBorderStyle
)_formState[s_formStateBorderStyle];
790
FormBorderStyle
borderStyle = FormBorderStyle;
791
if (!ShowIcon && (borderStyle is
FormBorderStyle
.Sizable or
FormBorderStyle
.Fixed3D or
FormBorderStyle
.FixedSingle))
2957
FormBorderStyle
borderStyle = FormBorderStyle;
2958
bool sizableBorder = (borderStyle is
FormBorderStyle
.SizableToolWindow
2959
or
FormBorderStyle
.Sizable);
3579
if (FormBorderStyle !=
FormBorderStyle
.None)
3633
switch ((
FormBorderStyle
)_formState[s_formStateBorderStyle])
3635
case
FormBorderStyle
.None:
3637
case
FormBorderStyle
.FixedSingle:
3640
case
FormBorderStyle
.Sizable:
3643
case
FormBorderStyle
.Fixed3D:
3647
case
FormBorderStyle
.FixedDialog:
3651
case
FormBorderStyle
.FixedToolWindow:
3655
case
FormBorderStyle
.SizableToolWindow:
5312
FormBorderStyle
borderStyle = FormBorderStyle;
5313
if (borderStyle !=
FormBorderStyle
.None
5314
&& borderStyle !=
FormBorderStyle
.FixedToolWindow
5315
&& borderStyle !=
FormBorderStyle
.SizableToolWindow
6040
case
FormBorderStyle
.None:
6041
case
FormBorderStyle
.FixedSingle:
6042
case
FormBorderStyle
.Fixed3D:
6043
case
FormBorderStyle
.FixedDialog:
6044
case
FormBorderStyle
.FixedToolWindow:
6047
case
FormBorderStyle
.Sizable:
6048
case
FormBorderStyle
.SizableToolWindow:
6445
if ((FormBorderStyle ==
FormBorderStyle
.FixedDialog && _formState[s_formStateIconSet] == 0) || !ShowIcon)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
170
public new
FormBorderStyle
FormBorderStyle
System.Windows.Forms.Design (6)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
286
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
25
FormBorderStyle =
FormBorderStyle
.None;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
458
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
241
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Design\FormatStringDialog.cs (1)
209
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
283
FormBorderStyle =
FormBorderStyle
.FixedDialog;
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
97
Assert.Equal(
FormBorderStyle
.FixedDialog, control.FormBorderStyle);
System\Windows\Forms\FormTests.cs (1)
99
Assert.Equal(
FormBorderStyle
.Sizable, control.FormBorderStyle);
WinFormsControlsTest (3)
FormBorderStyles.cs (2)
24
if (currentBorderStyle > (int)
FormBorderStyle
.SizableToolWindow)
29
FormBorderStyle = (
FormBorderStyle
)currentBorderStyle;
RichTextBoxes.cs (1)
123
FormBorderStyle =
FormBorderStyle
.FixedDialog,