64 instantiations of MaskedTextBox
Accessibility_Core_App (2)
CommonControl1.Designer.cs (1)
77this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
DataBindingExample.Designer.cs (1)
35this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\MaskDescriptor.cs (1)
76MaskedTextBox maskedTextBox = new(maskedTextProvider)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
47_maskedTextBox = new MaskedTextBox();
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (3)
51designMaskedTextBox = new MaskedTextBox(); 59designMaskedTextBox = new MaskedTextBox 66designMaskedTextBox = new MaskedTextBox(maskedTextProvider);
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (1)
20maskedTextBox = new()
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (1)
13private readonly MaskedTextBox _maskedTextBox = new();
System\Windows\Forms\Design\MaskedTextBoxDesignerActionListTests.cs (1)
24_maskedTextBox = new();
System\Windows\Forms\Design\MaskedTextBoxDesignerTests.cs (3)
12using MaskedTextBox maskedTextBox = new(); 22using MaskedTextBox maskedTextBox = new(); 38using MaskedTextBox maskedTextBox = new();
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDownTests.cs (4)
13using MaskedTextBox maskedTextBox = new(); 23using MaskedTextBox maskedTextBox = new("00000"); 34using MaskedTextBox maskedTextBox = new(); 46using MaskedTextBox maskedTextBox = new("00:00");
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (2)
93MaskedTextBox CustomMaskedTextBox = new() 129MaskedTextBox CustomMaskedTextBox = new();
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (1)
18_maskedTextBox = new();
System.Windows.Forms.Tests (39)
MaskedTextBoxTests.cs (28)
17_maskedTextBox = new(); 60using MaskedTextBox maskedTextBox = new("Hello World!"); 68using MaskedTextBox maskedTextBox = new(new MaskedTextProvider("Hello World!")); 77using MaskedTextBox control = new() 101using MaskedTextBox control = new(); 151using MaskedTextBox control = new() 174using MaskedTextBox control = new(); 220using MaskedTextBox control = new(); 227using MaskedTextBox control = new() 271using MaskedTextBox control = new(); 316using MaskedTextBox control = new(); 346using MaskedTextBox control = new(); 389using MaskedTextBox control = new(); 419using MaskedTextBox control = new(); 432using MaskedTextBox control = new(); 448using MaskedTextBox control = new(); 478using MaskedTextBox control = new(); 510using MaskedTextBox control = new(); 520using MaskedTextBox control = new(); 528using MaskedTextBox control = new(); 538using MaskedTextBox control = new(); 569using MaskedTextBox control = new(); 580using MaskedTextBox control = new(); 601using MaskedTextBox control = new(); 620using MaskedTextBox control = new(); 642using MaskedTextBox control = new() 662using MaskedTextBox control = new(); 685using MaskedTextBox control = new();
System\Windows\Forms\AccessibleObjects\MaskedTextBox.MaskedTextBoxAccessibleObjectTests.cs (10)
14using MaskedTextBox maskedTextBox = new(); 24using MaskedTextBox maskedTextBox = new(); 37using MaskedTextBox maskedTextBox = new(); 66using MaskedTextBox maskedTextBox = new(); 81using MaskedTextBox maskedTextBox = new(); 102using MaskedTextBox maskedTextBox = new(); 118using MaskedTextBox maskedTextBox = new(); 132using MaskedTextBox maskedTextBox = new(); 147using MaskedTextBox maskedTextBox = new(); 161using MaskedTextBox maskedTextBox = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
290{ new MaskedTextBox(), new string[] { "DataContext: Object", "Tag: Object" } },
WinFormsControlsTest (5)
CollectionEditors.Designer.cs (1)
35this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
MultipleControls.Designer.cs (1)
38this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
Password.Designer.cs (3)
40maskedTextBox1 = new MaskedTextBox(); 41maskedTextBox2 = new MaskedTextBox(); 42maskedTextBox3 = new MaskedTextBox();
108 references to MaskedTextBox
Accessibility_Core_App (2)
CommonControl1.Designer.cs (1)
757private System.Windows.Forms.MaskedTextBox maskedTextBox1;
DataBindingExample.Designer.cs (1)
299private System.Windows.Forms.MaskedTextBox maskedTextBox1;
DesignSurface (2)
MainForm.cs (2)
198MaskedTextBox maskTextBox = surface.CreateControl<MaskedTextBox>(new Size(200, 20), new Point(260, 60));
System.Windows.Forms (4)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.MaskedTextBoxAccessibleObject.cs (3)
10public MaskedTextBoxAccessibleObject(MaskedTextBox owner) : base(owner) 16get => !this.TryGetOwnerAs(out MaskedTextBox? owner) || string.IsNullOrEmpty(owner.Mask) 26=> this.TryGetOwnerAs(out MaskedTextBox? owner) ? owner.WindowText : string.Empty;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
279: ((MaskedTextBox)Owner).PasswordChar, Owner.Text.Length)
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\MaskDescriptor.cs (5)
76MaskedTextBox maskedTextBox = new(maskedTextProvider) 110MaskedTextBox maskedTextBox = (MaskedTextBox)sender!; 121MaskedTextBox maskedTextBox = (MaskedTextBox)sender!;
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
26private readonly MaskedTextBox _maskedTextBox; 42public MaskDesignerDialog(MaskedTextBox instance, IHelpService? helpService)
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (11)
45internal static MaskedTextBox GetDesignMaskedTextBox(MaskedTextBox maskedTextBox) 47MaskedTextBox designMaskedTextBox; 209MaskedTextBox? maskedTextBox = Control as MaskedTextBox; 227MaskedTextBox? maskedTextBox = Control as MaskedTextBox; 246MaskedTextBox? maskedTextBox = Control as MaskedTextBox; 259MaskedTextBox? maskedTextBox = Control as MaskedTextBox;
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (2)
15private readonly MaskedTextBox _maskedTextBox; 28_maskedTextBox = (MaskedTextBox)designer.Component;
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (1)
18if (context.Instance is not MaskedTextBox maskedTextBox)
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (2)
11private readonly MaskedTextBox _cloneMtb; 14public MaskedTextBoxTextEditorDropDown(MaskedTextBox maskedTextBox)
System\Windows\Forms\Design\MaskPropertyEditor.cs (3)
10/// Design time editing class for the Mask property of the <see cref="MaskedTextBox"/> control. 26MaskedTextBox instance, 68(context.Instance as MaskedTextBox)!,
System.Windows.Forms.Design.Tests (25)
EnsureEditorsTests.cs (2)
116[InlineData(typeof(MaskedTextBox), "Mask", typeof(MaskPropertyEditor))] 117[InlineData(typeof(MaskedTextBox), "Text", typeof(MaskedTextBoxTextEditor))]
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (1)
13private readonly MaskedTextBox _maskedTextBox = new();
System\Windows\Forms\Design\MaskedTextBoxDesignerActionListTests.cs (1)
16private readonly MaskedTextBox _maskedTextBox;
System\Windows\Forms\Design\MaskedTextBoxDesignerTests.cs (3)
12using MaskedTextBox maskedTextBox = new(); 22using MaskedTextBox maskedTextBox = new(); 38using MaskedTextBox maskedTextBox = new();
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDownTests.cs (5)
13using MaskedTextBox maskedTextBox = new(); 23using MaskedTextBox maskedTextBox = new("00000"); 34using MaskedTextBox maskedTextBox = new(); 46using MaskedTextBox maskedTextBox = new("00:00"); 51using MaskedTextBox dropDownMaskedTextBox = dropDown.TestAccessor().Dynamic._cloneMtb;
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (11)
83mockContext.Object.Instance.Should().NotBeOfType<MaskedTextBox>(); 84MaskedTextBox? maskedText = mockContext.Object.Instance as MaskedTextBox; 93MaskedTextBox CustomMaskedTextBox = new() 119Assert.True(mockContext.Object.Instance is MaskedTextBox); 120MaskedTextBox? maskedTextBox = mockContext.Object.Instance as MaskedTextBox; 129MaskedTextBox CustomMaskedTextBox = new(); 152Assert.True(mockContext.Object.Instance is MaskedTextBox); 153MaskedTextBox? maskedTextBox = mockContext.Object.Instance as MaskedTextBox;
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (2)
13private readonly MaskedTextBox _maskedTextBox; 29if (context.Instance is MaskedTextBox maskedTextBox)
System.Windows.Forms.Tests (44)
MaskedTextBoxTests.cs (32)
13private readonly MaskedTextBox _maskedTextBox; 60using MaskedTextBox maskedTextBox = new("Hello World!"); 68using MaskedTextBox maskedTextBox = new(new MaskedTextProvider("Hello World!")); 77using MaskedTextBox control = new() 101using MaskedTextBox control = new(); 151using MaskedTextBox control = new() 174using MaskedTextBox control = new(); 220using MaskedTextBox control = new(); 227using MaskedTextBox control = new() 271using MaskedTextBox control = new(); 316using MaskedTextBox control = new(); 346using MaskedTextBox control = new(); 389using MaskedTextBox control = new(); 419using MaskedTextBox control = new(); 432using MaskedTextBox control = new(); 448using MaskedTextBox control = new(); 478using MaskedTextBox control = new(); 510using MaskedTextBox control = new(); 520using MaskedTextBox control = new(); 528using MaskedTextBox control = new(); 538using MaskedTextBox control = new(); 569using MaskedTextBox control = new(); 580using MaskedTextBox control = new(); 601using MaskedTextBox control = new(); 620using MaskedTextBox control = new(); 642using MaskedTextBox control = new() 662using MaskedTextBox control = new(); 685using MaskedTextBox control = new(); 707TestProperty(_maskedTextBox, nameof(MaskedTextBox.RejectInputOnFirstFailure), value); 708TestProperty(_maskedTextBox, nameof(MaskedTextBox.ResetOnPrompt), value); 711private void TestProperty(MaskedTextBox maskedTextBox, string propertyName, bool value) 713PropertyInfo property = typeof(MaskedTextBox).GetProperty(propertyName);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
28typeof(MaskedTextBox), 1346{ typeof(MaskedTextBox), string.Empty}
System\Windows\Forms\AccessibleObjects\MaskedTextBox.MaskedTextBoxAccessibleObjectTests.cs (10)
14using MaskedTextBox maskedTextBox = new(); 24using MaskedTextBox maskedTextBox = new(); 37using MaskedTextBox maskedTextBox = new(); 66using MaskedTextBox maskedTextBox = new(); 81using MaskedTextBox maskedTextBox = new(); 102using MaskedTextBox maskedTextBox = new(); 118using MaskedTextBox maskedTextBox = new(); 132using MaskedTextBox maskedTextBox = new(); 147using MaskedTextBox maskedTextBox = new(); 161using MaskedTextBox maskedTextBox = new();
WinFormsControlsTest (5)
CollectionEditors.Designer.cs (1)
126private System.Windows.Forms.MaskedTextBox maskedTextBox1;
MultipleControls.Designer.cs (1)
336private System.Windows.Forms.MaskedTextBox maskedTextBox1;
Password.Designer.cs (3)
272private MaskedTextBox maskedTextBox1; 273private MaskedTextBox maskedTextBox2; 274private MaskedTextBox maskedTextBox3;