35 types derived from Control
System.Web.Mobile (1)
UI\MobileControls\Design\Util\MSHTMLHost.cs (1)
35
internal sealed class MSHTMLHost :
Control
{
System.Windows.Forms (31)
winforms\Managed\System\WinForms\Application.cs (1)
4050
internal sealed class MarshalingControl :
Control
{
winforms\Managed\System\WinForms\AxHost.cs (1)
56
public abstract class AxHost :
Control
, ISupportInitialize, ICustomTypeDescriptor {
winforms\Managed\System\WinForms\ButtonBase.cs (1)
34
public abstract class ButtonBase :
Control
{
winforms\Managed\System\WinForms\DataGrid.cs (1)
42
public class DataGrid :
Control
, ISupportInitialize, IDataGridEditingService {
winforms\Managed\System\WinForms\DataGridView.cs (1)
42
public partial class DataGridView :
Control
, ISupportInitialize
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
40
public class DateTimePicker :
Control
{
winforms\Managed\System\WinForms\GroupBox.cs (1)
41
public class GroupBox :
Control
{
winforms\Managed\System\WinForms\Label.cs (1)
46
public class Label :
Control
, IAutomationLiveRegion {
winforms\Managed\System\WinForms\ListControl.cs (1)
38
public abstract class ListControl :
Control
{
winforms\Managed\System\WinForms\ListView.cs (1)
47
public class ListView :
Control
{
winforms\Managed\System\WinForms\MDIClient.cs (1)
37
public sealed class MdiClient :
Control
{
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
78
public class MonthCalendar :
Control
{
winforms\Managed\System\WinForms\PictureBox.cs (1)
40
public class PictureBox :
Control
, ISupportInitialize {
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
36
public class PrintPreviewControl :
Control
{
winforms\Managed\System\WinForms\ProgressBar.cs (1)
39
public class ProgressBar :
Control
{
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5020
internal abstract class SnappableControl :
Control
{
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
26
internal class GridToolTip :
Control
{
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
36
Control
,
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
37
public class ScrollableControl :
Control
, IArrangedElement {
winforms\Managed\System\WinForms\ScrollBar.cs (1)
36
public abstract class ScrollBar :
Control
{
winforms\Managed\System\WinForms\SendKeys.cs (1)
987
private class SKWindow :
Control
{
winforms\Managed\System\WinForms\Splitter.cs (1)
38
public class Splitter :
Control
{
winforms\Managed\System\WinForms\StatusBar.cs (1)
37
public class StatusBar :
Control
{
winforms\Managed\System\WinForms\StatusStrip.cs (1)
602
private class RightToLeftLayoutGrip :
Control
{
winforms\Managed\System\WinForms\TabControl.cs (1)
44
public class TabControl :
Control
{
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
45
public abstract class TextBoxBase :
Control
{
winforms\Managed\System\WinForms\ToolBar.cs (1)
34
public class ToolBar :
Control
{
winforms\Managed\System\WinForms\TrackBar.cs (1)
43
public class TrackBar :
Control
, ISupportInitialize {
winforms\Managed\System\WinForms\TreeView.cs (1)
48
public class TreeView :
Control
{
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1401
internal class UpDownButtons :
Control
{
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
55
public class WebBrowserBase :
Control
{
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
113
public class Chart : System.Windows.Forms.
Control
, ISupportInitialize, IDisposable
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerWidgets.cs (2)
1436
internal sealed class TabControl :
Control
1679
internal sealed class TabStrip :
Control
1 instantiation of Control
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
32
private Control spacer = new
Control
();
1242 references to Control
System.Messaging (1)
System\Messaging\Design\QueuePathDialog.cs (1)
277
this.Controls.AddRange(new System.Windows.Forms.
Control
[] { this.helpButton,
System.Web.Mobile (44)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (2)
177
this._pnlMain.Controls.AddRange(new System.Windows.Forms.
Control
[] {
235
this.Controls.AddRange(new System.Windows.Forms.
Control
[] {
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (7)
24
using Control = System.Windows.Forms.
Control
;
242
this._pnlHeader.Controls.AddRange(new System.Windows.Forms.
Control
[] {
249
this._pnlMain.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._dialogButtons,
270
this._pnlRight.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._pnlCompare,
285
this._pnlCompare.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._txtArgument,
297
this._pnlDelegate.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._txtType,
307
this.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._pnlHeader, this._pnlMain});
UI\MobileControls\Design\IDeviceSpecificDesigner.cs (1)
26
System.Windows.Forms.
Control
Header
UI\MobileControls\Design\ListComponentEditorPage.cs (1)
68
this.Controls.AddRange(new
Control
[] {TreeList /*, grplblProperties*/});
UI\MobileControls\Design\ListGeneralPage.cs (4)
32
using Control = System.Windows.Forms.
Control
;
199
this.Controls.AddRange(new
Control
[]
206
this.Controls.AddRange(new
Control
[]
219
this.Controls.AddRange(new
Control
[]
UI\MobileControls\Design\ListItemsPage.cs (1)
125
this.Controls.AddRange(new
Control
[]
UI\MobileControls\Design\MobileControlDesigner.cs (2)
39
private System.Windows.Forms.
Control
_header;
543
System.Windows.Forms.
Control
IDeviceSpecificDesigner.Header
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
42
private System.Windows.Forms.
Control
_header;
956
System.Windows.Forms.
Control
IDeviceSpecificDesigner.Header
UI\MobileControls\Design\ObjectListCommandsPage.cs (1)
116
this.Controls.AddRange(new
Control
[]
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
144
this.Controls.AddRange(new
Control
[] {
UI\MobileControls\Design\ObjectListGeneralPage.cs (2)
26
using Control = System.Windows.Forms.
Control
;
139
this.Controls.AddRange(new
Control
[]
UI\MobileControls\Design\PropertyOverridesDialog.cs (4)
39
private System.Windows.Forms.
Control
_header;
154
this._pnlMain.Controls.AddRange(new System.Windows.Forms.
Control
[] {
182
this.Controls.AddRange(new System.Windows.Forms.
Control
[] {this._pnlMain});
538
System.Windows.Forms.
Control
IDeviceSpecificDesigner.Header
UI\MobileControls\Design\StylesEditorDialog.cs (2)
28
using Control = System.Windows.Forms.
Control
;
326
this.Controls.AddRange(new
Control
[]
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
745
System.Windows.Forms.
Control
IDeviceSpecificDesigner.Header
1305
this.Controls.AddRange(new System.Windows.Forms.
Control
[] {this.CbStyles,
UI\MobileControls\Design\TemplatingOptionsDialog.cs (3)
37
private System.Windows.Forms.
Control
_header;
155
this._pnlMain.Controls.AddRange(new System.Windows.Forms.
Control
[] {
560
System.Windows.Forms.
Control
IDeviceSpecificDesigner.Header
UI\MobileControls\Design\Util\GenericUI.cs (4)
60
System.Drawing.Font vsfont =
Control
.DefaultFont;
83
Control
header = designer.Header;
100
internal static int GetMaxContainedTabIndex(
Control
control)
104
foreach(
Control
child in control.Controls)
UI\MobileControls\Design\Util\HeaderPanel.cs (3)
44
foreach(
Control
child in Controls)
53
Control
controlIterator = this;
75
foreach(
Control
child in Controls)
UI\MobileControls\Design\Util\MSHTMLHost.cs (2)
88
protected
Control
parentControl;
95
internal TridentSite(
Control
parent) {
System.Windows.Forms (1162)
winforms\Managed\System\WinForms\Application.cs (16)
1533
Control
.UseCompatibleTextRenderingDefault = defaultValue;
2346
private
Control
marshalingControl;
2652
internal
Control
ActivatingControl {
2655
return activatingControlRef.Target as
Control
;
2676
internal
Control
MarshalingControl {
3663
Control
target =
Control
.FromChildHandleInternal(msg.hwnd);
3673
if (
Control
.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed) {
3680
if (
Control
.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed) {
4255
Control
c =
Control
.FromHandleInternal(hWnd);
4276
Control
c =
Control
.FromHandleInternal(hWnd);
4289
Control
activatingControl = Application.ThreadContext.FromCurrent().ActivatingControl;
4335
Control
parentControl = null;
4347
parentControl =
Control
.FromHandleInternal(parentHandle);
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
32
private
Control
spacer = new Control();
winforms\Managed\System\WinForms\AxHost.cs (44)
1212
private static ISelectionService GetSelectionService(
Control
ctl) {
1333
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.LostFocus'/> event.</para>
1939
Control
ctl = f == null ? null : f.ActiveControl;
2333
Control
control = this;
2398
Control
richParent = ParentInternal;
2447
Control
ctl = this;
2469
Control
parent = ParentInternal;
3354
public void ShowPropertyPages(
Control
control) {
3569
for (
Control
c = this; c != null; c = c.ParentInternal) {
3583
for (
Control
c = this; c != null; c = c.ParentInternal) {
4128
bool f = ((
Control
)host).PreProcessMessage(ref msg);
4229
Control
parent = host.ParentInternal;
4447
Control
p = ParentInternal;
5326
string ctlName = GetNameForControl((
Control
)e.Key);
5328
return GetProxyForControl((
Control
)e.Value);
5344
internal UnsafeNativeMethods.IExtender GetProxyForControl(
Control
ctl) {
5376
internal string GetNameForControl(
Control
ctl) {
5391
internal void AddControl(
Control
ctl) {
5420
internal void RemoveControl(
Control
ctl) {
5450
internal UnsafeNativeMethods.IEnumUnknown EnumControls(
Control
ctl, int dwOleContF, int dwWhich) {
5475
Control
[] ctls = null;
5485
Control
p = ctl.ParentInternal;
5496
ctls = new
Control
[0];
5516
ctls = new
Control
[htbl.Keys.Count];
5548
private void MaybeAdd(ArrayList l,
Control
ctl, bool selected, int dwOleContF, bool ignoreBelong) {
5573
if (comp is
Control
&& comp != parent && comp.Site != null) {
5585
Control
[] ctls = new
Control
[containerCache.Values.Count];
5602
private void GetAllChildren(
Control
ctl) {
5613
foreach(
Control
c in ctl.Controls) {
5638
private bool GetControlBelongs(
Control
ctl) {
5687
Control
c = e.Component as
Control
;
5696
internal static AxContainer FindContainerForControl(
Control
ctl) {
5864
Control
[] ctls = new
Control
[components.Keys.Count];
5868
Control
ctl = ctls[i];
6125
internal ExtenderProxy(
Control
principal, AxContainer container) {
6130
private
Control
GetP() {
6131
return(
Control
) pRef.Target;
6149
Control
ctl = GetP();
6175
int rval = (int)((
Control
)GetP()).Dock;
6192
return AxHost.GetOleColorFromColor(((
Control
)GetP()).BackColor);
6217
return AxHost.GetOleColorFromColor(((
Control
)GetP()).ForeColor);
winforms\Managed\System\WinForms\Binding.cs (4)
171
public
Control
Control {
176
return this.control as
Control
;
184
Control
ctrl = (component as
Control
);
winforms\Managed\System\WinForms\BoundsSpecified.cs (4)
73
/// Both <see cref='System.Windows.Forms.
Control
.Width'/> and <see cref='System.Windows.Forms.
Control
.Height'/> property values of the control are
81
/// Both <see cref='System.Windows.Forms.
Control
.Location'/> and <see cref='System.Windows.Forms.
Control
.Size'/> property values are
winforms\Managed\System\WinForms\Button.cs (3)
201
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseEnter'/> event.
212
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseLeave'/> event.
342
/// Generates a <see cref='System.Windows.Forms.
Control
.Click'/> event for a
winforms\Managed\System\WinForms\ButtonBase.cs (5)
817
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseEnter'/> event.
843
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseLeave'/> event.
868
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseMove'/> event.
897
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseDown'/> event.
1340
public ButtonBaseAccessibleObject(
Control
owner) : base(owner) {
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
81
internal static double GetDpiScaleRatio(Graphics g,
Control
control) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
119
Control
control = null)
winforms\Managed\System\WinForms\ButtonRenderer.cs (1)
82
public static void DrawParentBackground(Graphics g, Rectangle bounds,
Control
childControl) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
722
public CheckBoxAccessibleObject(
Control
owner) : base(owner) {
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (1)
85
public static void DrawParentBackground(Graphics g, Rectangle bounds,
Control
childControl) {
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
644
this.Font =
Control
.DefaultFont;
winforms\Managed\System\WinForms\ComboBox.cs (3)
2912
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Resize'/> event.</para>
3455
Control
p = ParentInternal;
4463
public ComboBoxAccessibleObject(
Control
ownerControl)
winforms\Managed\System\WinForms\CommonDialog.cs (2)
179
Rectangle screen = Screen.GetWorkingArea(
Control
.MousePosition);
279
hwndOwner =
Control
.GetSafeHandle(owner);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2FontConverter.cs (3)
57
lastFont =
Control
.DefaultFont;
85
lastFont =
Control
.DefaultFont;
102
managedValue =
Control
.DefaultFont;
winforms\Managed\System\WinForms\ComponentModel\IComponentEditorPageSite.cs (1)
30
Control
GetControl();
winforms\Managed\System\WinForms\ContainerControl.cs (53)
36
private
Control
activeControl; // current active control
37
private
Control
focusedControl; // Current focused control. Do not directly edit this value.
38
private
Control
unvalidatedControl; // The last control that requires validation. Do not directly edit this value.
284
public
Control
ActiveControl {
381
bool IContainerControl.ActivateControl(
Control
control) {
388
internal bool ActivateControlInternal(
Control
control) {
392
internal bool ActivateControlInternal(
Control
control, bool originator) {
393
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::ActivateControlInternal(" + (control == null ? "null" : control.Name) + "," + originator.ToString() + ") - " + this.Name);
399
Control
parent = this.ParentInternal;
433
Control
ctl = null;
464
internal virtual void AfterControlRemoved(
Control
control,
Control
oldParent) {
467
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::AfterControlRemoved(" + control.Name + ") - " + this.Name);
529
Control
parent = cc.ParentInternal;
549
private bool AssignActiveControlInternal(
Control
value) {
557
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::AssignActiveControlInternal(" + (value == null ? "null" : value.Name) + ") - " + this.Name);
653
private void EnableRequiredScaling(
Control
start, bool enable) {
655
foreach(
Control
c in start.Controls) {
666
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::FocusActiveControlInternal() - " + this.Name);
678
if (focusHandle == IntPtr.Zero ||
Control
.FromChildHandleInternal(focusHandle) != activeControl) {
687
Control
parent = cc.ParentInternal;
840
internal override void OnChildLayoutResuming(
Control
child, bool performLayout) {
1032
internal void ResumeAllLayout(
Control
start, bool performLayout) {
1049
internal void SuspendAllLayout(
Control
start) {
1070
internal override void Scale(SizeF includedFactor, SizeF excludedFactor,
Control
requestingControl) {
1143
Control
group = this;
1250
Control
start = ActiveControl;
1266
Control
ctl = start;
1326
private ScrollableControl FindScrollableParent(
Control
ctl) {
1327
Control
current = ctl.ParentInternal;
1338
Control
last = activeControl;
1374
private void SetActiveControl(
Control
ctl) {
1375
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::SetActiveControl(" + (ctl == null ? "null" : ctl.Name) + ") - " + this.Name);
1383
internal void SetActiveControlInternal(
Control
value) {
1384
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::SetActiveControlInternal(" + (value == null ? "null" : value.Name) + ") - " + this.Name);
1472
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::UpdateFocusedControl() - " + this.Name);
1476
Control
pathControl = focusedControl;
1481
Control
nextControlDown = activeControl;
1483
Control
parent = nextControlDown.ParentInternal;
1489
Control
priorFocusedControl = focusedControl = pathControl;
1513
Control
stopControl = null;
1548
Control
leaveControl = pathControl;
1597
private void EnsureUnvalidatedControl(
Control
candidate) {
1644
private void EnterValidation(
Control
enterControl) {
1656
AutoValidate autoValidateMode =
Control
.GetAutoValidateForControl(unvalidatedControl);
1664
Control
commonAncestor = enterControl;
1729
Control
controlToValidate = unvalidatedControl != null ? unvalidatedControl : focusedControl;
1734
AutoValidate autoValidateMode =
Control
.GetAutoValidateForControl(controlToValidate);
1778
private bool ValidateThroughAncestor(
Control
ancestorControl, bool preventFocusChangeOnError) {
1795
Control
currentActiveControl = activeControl;
1796
Control
currentValidatingControl = unvalidatedControl;
1860
Control
.ControlCollection children = this.Controls;
1887
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "ContainerControl::WmSetFocus() - " + this.Name);
winforms\Managed\System\WinForms\ContextMenu.cs (7)
32
internal
Control
sourceControl;
63
public
Control
SourceControl {
115
return ((
Control
)sourceControl).RightToLeft;
172
protected internal virtual bool ProcessCmdKey(ref Message msg, Keys keyData,
Control
control) {
197
public void Show(
Control
control, Point pos) {
206
public void Show(
Control
control, Point pos, LeftRightAlignment alignment) {
220
private void Show(
Control
control, Point pos, int flags) {
winforms\Managed\System\WinForms\ContextMenuStrip.cs (2)
47
public
Control
SourceControl {
90
internal void ShowInternal(
Control
source, Point location, bool isKeyboardActivated) {
winforms\Managed\System\WinForms\Control.cs (252)
410
private
Control
parent;
411
private
Control
reflectParent;
476
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
Control
'/> class.</para>
560
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
Control
'/> class.</para>
562
public Control( string text ) : this( (
Control
) null, text ) {
567
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
Control
'/> class.</para>
570
this( (
Control
) null, text, left, top, width, height ) {
575
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
Control
'/> class.</para>
577
public Control(
Control
parent, string text ) : this() {
584
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
Control
'/> class.</para>
586
public Control(
Control
parent, string text, int left, int top, int width, int height ) : this( parent, text ) {
1088
Control
p = ParentInternal;
1287
Control
p = ParentInternal;
1938
Control
parent = container.ParentInternal;
1969
Control
parent = this.ParentInternal;
2058
Control
p = ParentInternal;
2255
Control
control = ParentInternal;
2718
Control
p = ParentInternal;
2924
Control
topMost = TopMostParent;
2993
Control
parent = ParentInternal;
3090
Control
marshalingControl = FindMarshalingControl();
3430
public
Control
Parent {
3443
internal virtual
Control
ParentInternal {
3534
private
Control
ReflectParent {
3543
Control
c = ReflectParent as
Control
;
3750
Control
parent = ParentInternal;
4064
for(
Control
ctl = this; ctl != null; ctl = ctl.ParentInternal ) {
4121
public
Control
TopLevelControl {
4130
internal
Control
TopLevelControlInternal {
4132
Control
control = this;
4141
internal
Control
TopMostParent {
4143
Control
control = this;
4330
return
Control
.UseCompatibleTextRenderingDefault;
5466
internal virtual void AssignParent(
Control
value) {
5594
Control
marshaler = FindMarshalingControl();
5648
for (
Control
ctl = this; ctl != null; ctl = ctl.parent) {
5661
internal static void CheckParentingCycle(
Control
bottom,
Control
toFind) {
5663
Control
lastParent = null;
5665
for (
Control
ctl = bottom; ctl != null; ctl = ctl.ParentInternal) {
5693
private void ChildGotFocus(
Control
child) {
5706
public bool Contains(
Control
ctl) {
5736
return new System.Windows.Forms.
Control
.ControlCollection(this);
5891
Control
[] controlSnapshot = new
Control
[controlsCollection.Count];
5894
foreach(
Control
ctl in controlSnapshot) {
5991
/// <see cref='System.Windows.Forms.
Control
'/>
6046
Control
ctl = controlsCollection[i];
6213
Control
marshaler = FindMarshalingControl();
6265
Control
cur = this;
6279
private
Control
FindMarshalingControl() {
6282
Control
c = this;
6285
Control
p = c.ParentInternal;
6301
return(
Control
)c;
6351
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::Focus - " + this.Name);
6368
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::FocusInternal - " + this.Name);
6398
public static
Control
FromChildHandle(IntPtr handle) {
6405
internal static
Control
FromChildHandleInternal(IntPtr handle) {
6407
Control
ctl = FromHandleInternal(handle);
6419
public static
Control
FromHandle(IntPtr handle) {
6426
internal static
Control
FromHandleInternal(IntPtr handle) {
6477
public
Control
GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue) {
6497
Control
ctl = FromChildHandleInternal(hwnd);
6512
public
Control
GetChildAtPoint(Point pt) {
6527
private static bool IsFocusManagingContainerControl(
Control
ctl) {
6543
Control
c = this;
6661
Control
up = this;
6715
foreach (
Control
c in Controls) {
6751
internal
Control
[] GetChildControlsInTabOrder(bool handleCreatedOnly) {
6754
Control
[] ctls = new
Control
[holders.Count];
6771
internal readonly
Control
control;
6773
internal ControlTabOrderHolder(int oldOrder, int newOrder,
Control
control) {
6823
Control
ctl = FromHandleInternal(hWnd);
6835
internal virtual
Control
GetFirstChildControlInTabOrder(bool forward) {
6839
Control
found = null;
6868
public
Control
GetNextControl(
Control
ctl, bool forward) {
6877
Control
found = ctl.GetFirstChildControlInTabOrder(/*forward=*/true);
6886
Control
found = null;
6887
Control
p = ctl.parent;
6950
Control
found = null;
6951
Control
p = ctl.parent;
7022
Control
found = ctl.GetFirstChildControlInTabOrder(/*forward=*/false);
7044
Control
control = window as
Control
;
7372
Control
marshaler = FindMarshalingControl();
7527
protected void InvokePaint(
Control
c, PaintEventArgs e) {
7535
protected void InvokePaintBackground(
Control
c, PaintEventArgs e) {
7557
internal bool IsDescendant(
Control
descendant) {
7558
Control
control = descendant;
7765
private Object MarshaledInvoke(
Control
caller, Delegate method, Object[] args, bool synchronous) {
7897
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::NotifyEnter() - " + this.Name);
7904
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::NotifyLeave() - " + this.Name);
7937
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Click'/> event.</para>
7940
protected void InvokeOnClick(
Control
toInvoke, EventArgs e) {
8088
internal virtual void OnChildLayoutResuming(
Control
child, bool performLayout) {
8158
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Enabled'/> event.</para>
8402
Control
parent = ParentInternal;
8483
Control
ctl = controlsCollection[i];
8582
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Visible'/> event.</para>
8614
Control
ctl = controlsCollection[i];
8660
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Click'/>
8685
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.ControlAdded'/> event.</para>
8696
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.ControlRemoved'/> event.</para>
8860
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.HandleDestroyed'/> event.</para>
8913
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.DoubleClick'/> event.</para>
8924
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Enter'/> event.</para>
9001
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.GotFocus'/> event.</para>
9004
protected void InvokeGotFocus(
Control
toInvoke, EventArgs e) {
9015
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.GotFocus'/> event.</para>
9084
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyDown'/> event.</para>
9095
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyPress'/> event.</para>
9106
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyUp'/> event.</para>
9121
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Layout'/> event.</para>
9165
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Leave'/> event.</para>
9179
protected void InvokeLostFocus(
Control
toInvoke, EventArgs e) {
9190
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.LostFocus'/> event.</para>
9211
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseDoubleClick'/> event.</para>
9222
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.OnMouseClick'/> event.</para>
9233
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseCaptureChanged'/> event.</para>
9244
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseDown'/> event.</para>
9255
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseEnter'/> event.</para>
9266
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseLeave'/> event.</para>
9279
/// Raises the <see cref='System.Windows.Forms.
Control
.DpiChangedBeforeParent'/> event.
9297
/// Raises the <see cref='System.Windows.Forms.
Control
.DpiChangedAfterParent'/> event.
9314
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseHover'/> event.</para>
9325
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseMove'/> event.</para>
9336
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseUp'/> event.</para>
9347
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseWheel'/> event.</para>
9358
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Move'/> event.</para>
9442
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.RegionChanged'/> event when the Region property has changed.</para>
9455
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Resize'/> event.</para>
9471
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.PreviewKeyDown'/> event.</para>
9504
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.ChangeUICues'/>
9516
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.OnStyleChanged'/>
9528
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.SystemColorsChanged'/>
9551
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Validating'/>
9563
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Validated'/> event.</para>
9769
Control
parent = this.ParentInternal;
9888
for (
Control
c = this.ParentInternal; c != null; c = c.ParentInternal) {
9924
public void PerformLayout(
Control
affectedControl, string affectedProperty) {
10044
foreach (
Control
c in Controls) {
10225
internal static PreProcessControlState PreProcessControlMessageInternal(
Control
target, ref Message msg) {
10227
target =
Control
.FromChildHandleInternal(msg.HWnd);
10392
Control
child = Controls[i];
10776
Control
topMostParent = null;
10973
Control
[] controlSnapshot = null;
10989
controlSnapshot = new
Control
[controlsCollection.Count];
10991
Control
childControl = controlsCollection[i];
11017
Control
childControl = controlSnapshot[i];
11031
&& (
Control
.FromHandleInternal(parentHandle.Handle) == null || this.parent == null) // but wasnt a windows forms window
11096
Control
control =
Control
.FromHandleInternal(hWnd);
11321
Control
c = controlsCollection[i];
11349
internal virtual void Scale(SizeF includedFactor, SizeF excludedFactor,
Control
requestingControl) {
11381
internal void ScaleChildControls(SizeF includedFactor, SizeF excludedFactor,
Control
requestingControl, bool updateWindowFontIfNeeded = false) {
11391
Control
c = controlsCollection[i];
11431
internal void ScaleControl(SizeF includedFactor, SizeF excludedFactor,
Control
requestingControl) {
11657
public bool SelectNextControl(
Control
ctl, bool forward, bool tabStopOnly, bool nested, bool wrap) {
11658
Control
nextSelectableControl = this.GetNextSelectableControl(ctl, forward, tabStopOnly, nested, wrap);
11668
private
Control
GetNextSelectableControl(
Control
ctl, bool forward, bool tabStopOnly, bool nested, bool wrap) {
11672
Control
start = ctl;
11701
internal bool SelectNextControlInternal(
Control
ctl, bool forward, bool tabStopOnly, bool nested, bool wrap) {
11721
((
Control
)c).SelectNextControlInternal(this, true, true, true, true);
12050
Debug.WriteLineIf(
Control
.PaletteTracing.TraceVerbose, "SetUpPalette(force:=" + force + ", ralizePalette:=" + realizePalette + ")");
12054
Debug.WriteLineIf(
Control
.PaletteTracing.TraceVerbose, "select palette " + !force);
12216
internal static AutoValidate GetAutoValidateForControl(
Control
control) {
12453
/// <para>Determines if the <see cref='System.Windows.Forms.
Control
.Size'/> property needs to be persisted.</para>
12465
/// <para>Determines if the <see cref='System.Windows.Forms.
Control
.Text'/> property needs to be persisted.</para>
12631
private void UpdateChildControlIndex(
Control
ctl) {
12645
Control
c = FromHandleInternal(hWnd);
12674
ReflectParent =
Control
.FromHandleInternal(parentHandle);
12695
private void UpdateChildZOrder(
Control
ctl) {
12699
Control
c = Controls[i];
12852
internal void WmContextMenu(ref Message m,
Control
sourceControl) {
12903
Control
control =
Control
.FromHandleInternal(m.LParam);
13337
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::WmKillFocus - " + this.Name);
13629
Control
control =
Control
.FromHandleInternal(handle);
13794
Debug.WriteLineIf(
Control
.PaletteTracing.TraceVerbose, Handle + ": WM_QUERYNEWPALETTE");
13886
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Control::WmSetFocus - " + this.Name);
14396
else if (m.Msg ==
Control
.WM_GETCONTROLNAME) {
14400
else if (m.Msg ==
Control
.WM_GETCONTROLTYPE) {
14564
private
Control
control;
14568
internal ControlNativeWindow(
Control
control) {
14573
internal
Control
GetControl() {
14641
if (!control.GetState(
Control
.STATE_TRACKINGMOUSEEVENT)) {
14643
if (!control.GetState(
Control
.STATE_MOUSEENTERPENDING)) {
14647
control.SetState(
Control
.STATE_MOUSEENTERPENDING, false);
14711
private
Control
owner;
14724
public ControlCollection(
Control
owner) {
14742
public virtual void Add(
Control
value) {
14796
Control
oldParent = value.parent;
14833
if (control is
Control
) {
14834
Add((
Control
)control);
14835
return IndexOf((
Control
)control);
14847
public virtual void AddRange(
Control
[] controls) {
14886
public bool Contains(
Control
control) {
14897
public
Control
[] Find(string key, bool searchAllChildren) {
14905
Control
[] stronglyTypedFoundControls = new
Control
[foundControls.Count];
14967
public int IndexOf(
Control
control) {
15016
public
Control
Owner {
15027
public virtual void Remove(
Control
value) {
15059
if (control is
Control
) {
15060
Remove((
Control
)control);
15087
public new virtual
Control
this[int index] {
15094
Control
control = (
Control
) InnerList[index];
15104
public virtual
Control
this[string key] {
15155
public int GetChildIndex(
Control
child) {
15166
public virtual int GetChildIndex(
Control
child, bool throwException) {
15179
internal virtual void SetChildIndexInternal(
Control
child, int newIndex)
15211
public virtual void SetChildIndex(
Control
child, int newIndex) {
15411
OnHelpRequested(new HelpEventArgs(
Control
.MousePosition));
16106
return this.ClientRectangle.Contains(this.PointToClient(
Control
.MousePosition));
16110
Control
topLevelControl = TopLevelControlInternal;
16147
return
Control
.AreCommonNavigationalKeysDown();
16157
Control
controlParent = this.ParentInternal;
16159
Control
[] neighboringControls = new
Control
[4] {
16169
foreach (
Control
neighboringControl in neighboringControls) {
16207
return (tempKeyboardStateArray[(int)key] &
Control
.HighOrderBitMask) != 0;
16284
private
Control
control;
16303
internal ActiveXImpl(
Control
control) {
16566
Control
target = control;
16582
Control
realTarget = target.GetChildAtPoint(new Point(pt.x, pt.y));
16599
target.SelectNextControl(null,
Control
.ModifierKeys != Keys.Shift, true, true, true);
16973
private void GetMnemonicList(
Control
control, ArrayList mnemonicList) {
16983
foreach(
Control
c in control.Controls) {
17470
private void CallParentPropertyChanged(
Control
control, string propName) {
18517
Control
target =
Control
.FromChildHandleInternal(lpmsg.hwnd);
19009
font =
Control
.DefaultFont;
19412
private
Control
ownerControl = null; // The associated Control for this AccessibleChild (if any)
19421
public ControlAccessibleObject(
Control
ownerControl) {
19450
internal ControlAccessibleObject(
Control
ownerControl, int accObjId) {
19525
Control
parentControl = ownerControl.ParentInternal;
19529
Control
[] ctrls = null;
19767
public
Control
Owner {
19782
Control
parent = Owner.ParentInternal;
19795
for (
Control
previous = container.GetNextControl(Owner, false);
20035
internal
Control
caller;
20036
internal
Control
marshaler;
20056
internal ThreadMethodEntry(
Control
caller,
Control
marshaler, Delegate method, Object[] args, bool synchronous, ExecutionContext executionContext) {
20133
private
Control
owner;
20135
internal ControlVersionInfo(
Control
owner) {
winforms\Managed\System\WinForms\Control.Ime.cs (13)
114
Control
parent = ParentInternal;
218
bool val =
Control
.ignoreWmImeNotify;
227
Control
.ignoreWmImeNotify = value;
288
Control
ctl = null;
412
if(
Control
.propagatingImeMode == ImeMode.Inherit ) {
438
Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Verbose, "Value: " +
Control
.propagatingImeMode );
441
return
Control
.propagatingImeMode;
447
if (
Control
.propagatingImeMode != value) {
457
Control
.propagatingImeMode = value;
631
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.OnImeModeChanged'/>
834
Control
topMostWinformsParent = TopMostParent;
850
if (
Control
.propagatingImeMode != ImeMode.Inherit) {
1036
internal static void TraceImeStatus(
Control
ctl ) {
winforms\Managed\System\WinForms\ControlBindingsCollection.cs (2)
51
public
Control
Control {
53
return this.control as
Control
;
winforms\Managed\System\WinForms\ControlEvent.cs (3)
23
private
Control
control;
29
public
Control
Control {
39
public ControlEventArgs(
Control
control) {
winforms\Managed\System\WinForms\ControlPaint.cs (2)
2720
internal static StringFormat CreateStringFormat(
Control
ctl, ContentAlignment textAlign, bool showEllipsis, bool useMnemonic ) {
2758
internal static TextFormatFlags CreateTextFormatFlags(
Control
ctl, ContentAlignment textAlign, bool showEllipsis, bool useMnemonic ) {
winforms\Managed\System\WinForms\DataGrid.cs (20)
116
private static int defaultFontHeight =
Control
.DefaultFont.Height;
205
Control
toBeDisposedEditingControl = null;
3844
/// Raises the <see cref='System.Windows.Forms.
Control
.PaintBackground'/>
3855
/// Raises the <see cref='System.Windows.Forms.
Control
.Layout'/> event which
3892
/// Raises the <see cref='System.Windows.Forms.
Control
.CreateHandle'/>
3910
/// Raises the <see cref='System.Windows.Forms.
Control
.DestroyHandle'/>
3928
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Enter'/>
3943
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Leave'/>
3981
/// Raises the <see cref='System.Windows.Forms.
Control
.KeyDown'/>
3993
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyPress'/> event.</para>
4010
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseDown'/> event.</para>
4185
/// <para>Creates the <see cref='System.Windows.Forms.
Control
.MouseLeave'/>
4207
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseMove'/>
4263
&& !(((
Control
.ModifierKeys & Keys.Control) == Keys.Control) && (
Control
.ModifierKeys & Keys.Alt) == 0)){
4315
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseUp'/> event.</para>
4352
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseWheel'/> event.</para>
4400
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Paint'/>
4463
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Resize'/> event.</para>
6077
internal protected virtual void ColumnStartedEditing(
Control
editingControl) {
winforms\Managed\System\WinForms\DataGridColumn.cs (3)
26
void ColumnStartedEditing(
Control
editingControl);
1150
internal protected virtual void ColumnStartedEditing(
Control
editingControl) {
1156
void IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing(
Control
editingControl) {
winforms\Managed\System\WinForms\DataGridTable.cs (2)
84
internal static readonly Font defaultFont =
Control
.DefaultFont;
657
return(headerFont == null ? (this.DataGrid == null ?
Control
.DefaultFont : this.DataGrid.Font) : headerFont);
winforms\Managed\System\WinForms\DataGridTextBox.cs (5)
79
if (e.KeyChar == ' ' && (
Control
.ModifierKeys & Keys.Shift) == Keys.Shift)
88
if ((
Control
.ModifierKeys & Keys.Control) == Keys.Control && ((
Control
.ModifierKeys & Keys.Alt) == 0))
192
if (IsInEditOrNavigateMode && (
Control
.ModifierKeys & Keys.Shift) == Keys.Shift)
203
if (IsInEditOrNavigateMode && (
Control
.ModifierKeys & Keys.Control) == Keys.Control)
winforms\Managed\System\WinForms\DataGridView.cs (6)
302
private
Control
editingControl, latestEditingControl, cachedEditingControl;
2767
Point ptMouse = PointToClient(
Control
.MousePosition);
2780
Point ptMouse = PointToClient(
Control
.MousePosition);
2791
Point ptMouse = PointToClient(
Control
.MousePosition);
2812
public
Control
EditingControl
4859
Point mouseCoord = System.Windows.Forms.
Control
.MousePosition;
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
618
Control
.MouseButtons == MouseButtons.Left)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1050
Control
.MouseButtons == MouseButtons.Left)
1099
(this.DataGridView.AccessibilityObject as
Control
.ControlAccessibleObject).NotifyClients(AccessibleEvents.StateChange, objectID, childID);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2032
bool newMouseInDropDownButtonBounds = dropDownButtonRect.Contains(this.DataGridView.PointToClient(
Control
.MousePosition));
winforms\Managed\System\WinForms\DataGridViewControlCollection.cs (5)
20
public class DataGridViewControlCollection :
Control
.ControlCollection
32
public void CopyTo(
Control
[] array, int index)
38
public void Insert(int index,
Control
value)
44
public override void Remove(
Control
value)
52
internal void RemoveInternal(
Control
value)
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (2)
77
internal class DataGridViewEditingControlAccessibleObject :
Control
.ControlAccessibleObject
79
public DataGridViewEditingControlAccessibleObject(
Control
ownerControl) : base(ownerControl)
winforms\Managed\System\WinForms\DataGridViewEditingControlShowingEventArgs.cs (3)
15
Control
control = null;
19
public DataGridViewEditingControlShowingEventArgs(
Control
control, DataGridViewCellStyle cellStyle)
43
public
Control
Control
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
581
Control
.MouseButtons == MouseButtons.Left &&
winforms\Managed\System\WinForms\DataGridViewMethods.cs (9)
1491
internal override void AssignParent(
Control
value)
2704
this.editingControl = (
Control
)SecurityUtils.SecureCreateInstance(editControlType);
5401
protected override
Control
.ControlCollection CreateControlsInstance()
6056
Point ptMouse = PointToClient(
Control
.MousePosition);
9788
Point ptMouse = PointToClient(
Control
.MousePosition);
16581
bool mouseOverToolTipControl = this.toolTipControl.Activated && this.ClientRectangle.Contains(PointToClient(
Control
.MousePosition));
26115
Point ptMouse = PointToClient(
Control
.MousePosition);
29192
Point ptMouse = PointToClient(
Control
.MousePosition);
29755
Point ptMouse = PointToClient(
Control
.MousePosition);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
47
this.Thickness =
Control
.DefaultFont.Height + 9;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
348
internal class DataGridViewTextBoxEditingControlAccessibleObject :
Control
.ControlAccessibleObject
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (6)
212
Font uiFont =
Control
.DefaultFont;
325
this.Controls.AddRange(new
Control
[] {
533
internal
Control
parent;
543
internal ComponentEditorPageSite(
Control
parent, Type pageClass, IComponent component, ComponentEditorForm form) {
607
public
Control
GetControl() {
712
hfontOld = SafeNativeMethods.SelectObject(new HandleRef(null, dc), new HandleRef(Parent, ((
Control
)Parent).FontHandle));
winforms\Managed\System\WinForms\Design\ComponentEditorPage.cs (1)
246
public virtual
Control
GetControl() {
winforms\Managed\System\WinForms\Design\IWinFormsEditorService.cs (1)
35
void DropDownControl(
Control
control);
winforms\Managed\System\WinForms\DomainUpDown.cs (2)
409
/// <para>Handles the <see cref='System.Windows.Forms.
Control
.KeyPress'/>
733
public DomainUpDownAccessibleObject(
Control
owner) : base(owner) {
winforms\Managed\System\WinForms\DragEvent.cs (3)
22
/// Provides data for the <see cref='System.Windows.Forms.
Control
.DragDrop'/>, <see cref='System.Windows.Forms.
Control
.DragEnter'/>, or <see cref='System.Windows.Forms.
Control
.DragOver'/> event.
winforms\Managed\System\WinForms\DragEventHandler.cs (4)
18
/// the <see cref='System.Windows.Forms.
Control
.DragDrop'/>,
19
/// <see cref='System.Windows.Forms.
Control
.DragEnter'/>, or <see cref='System.Windows.Forms.
Control
.DragOver'/> event of a <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (3)
28
private readonly
Control
associatedControl;
39
public DrawToolTipEventArgs(Graphics graphics, IWin32Window associatedWindow,
Control
associatedControl, Rectangle bounds, string toolTipText,
78
public
Control
AssociatedControl
winforms\Managed\System\WinForms\ErrorProvider.cs (17)
33
ProvideProperty("IconPadding", typeof(
Control
)),
34
ProvideProperty("IconAlignment", typeof(
Control
)),
35
ProvideProperty("Error", typeof(
Control
)),
545
SetError((
Control
) entry.Key, (string) entry.Value);
709
return extendee is
Control
&& !(extendee is Form) && !(extendee is ToolBar);
743
private ControlItem EnsureControlItem(
Control
control) {
759
internal ErrorWindow EnsureErrorWindow(
Control
parent) {
778
public string GetError(
Control
control) {
792
public ErrorIconAlignment GetIconAlignment(
Control
control) {
806
public int GetIconPadding(
Control
control) {
835
public void SetError(
Control
control, string value) {
843
public void SetIconAlignment(
Control
control, ErrorIconAlignment value) {
851
public void SetIconPadding(
Control
control, int padding) {
876
Control
parent;
897
public ErrorWindow(ErrorProvider provider,
Control
parent) {
1321
Control
control;
1340
public ControlItem(ErrorProvider provider,
Control
control, IntPtr id) {
winforms\Managed\System\WinForms\FileDialog.cs (1)
982
if (
Control
.CheckForIllegalCrossThreadCalls && Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\FlowLayoutPanel.cs (5)
18
[ProvideProperty("FlowBreak", typeof(
Control
))]
66
Control
control = obj as
Control
;
72
public bool GetFlowBreak(
Control
control) {
77
public void SetFlowBreak(
Control
control, bool value) {
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
257
if (
Control
.CheckForIllegalCrossThreadCalls && Application.OleRequired() != System.Threading.ApartmentState.STA)
winforms\Managed\System\WinForms\FontDialog.cs (2)
229
result =
Control
.DefaultFont;
652
return !Font.Equals(
Control
.DefaultFont);
winforms\Managed\System\WinForms\Form.cs (37)
380
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Form::set_Active - " + this.Name);
436
Control
c =
Control
.FromHandleInternal(hwnd);
471
mdiChild =
Control
.FromHandleInternal( hwnd ) as Form;
713
Control
toLayout = DesignMode || ParentInternal == null ? this : ParentInternal;
1014
cp.Parent =
Control
.GetSafeHandle(dialogOwner);
2249
internal override
Control
ParentInternal {
2633
Debug.WriteLineIf(
Control
.FocusTracing.TraceVerbose, "Form::SetVisibleCore(" + value.ToString() + ") - " + this.Name);
3481
internal override void AssignParent(
Control
value) {
3603
protected override
Control
.ControlCollection CreateControlsInstance() {
3612
internal override void AfterControlRemoved(
Control
control,
Control
oldParent) {
4020
Control
mdiclient = MdiParentInternal.MdiClient;
4030
IntPtr ownerHandle = (dialogOwner != null) ?
Control
.GetSafeHandle(dialogOwner) : OwnerInternal.Handle;
4034
desktop = Screen.FromPoint(
Control
.MousePosition);
4424
Control
ctl = this.Controls[index];
4503
desktop = Screen.FromPoint(
Control
.MousePosition);
4567
Control
.ControlCollection children = ctlClient.Controls;
4569
Control
ctl = children[i];
4717
Control
activeControl = ActiveControl;
4900
foreach (
Control
c in Controls) {
4995
Control
button = AcceptButton as
Control
;
5218
foreach(
Control
c in this.Controls) {
5325
if (button is
Control
) {
5805
foreach(
Control
control in Controls) {
6091
else if ( (owner != null) && ((int)UnsafeNativeMethods.GetWindowLong(new HandleRef(owner,
Control
.GetSafeHandle(owner)), NativeMethods.GWL_EXSTYLE)
6093
if (owner is
Control
) {
6094
owner = ((
Control
)owner).TopLevelControlInternal;
6098
IntPtr hWndOwner = owner == null ? hWndActive :
Control
.GetSafeHandle(owner);
6156
else if ( (owner != null) && ((int)UnsafeNativeMethods.GetWindowLong(new HandleRef(owner,
Control
.GetSafeHandle(owner)), NativeMethods.GWL_EXSTYLE)
6158
if (owner is
Control
) {
6159
owner = ((
Control
)owner).TopLevelControlInternal;
6175
IntPtr hWndOwner = owner == null ? hWndActive :
Control
.GetSafeHandle(owner);
7682
public new class ControlCollection :
Control
.ControlCollection {
7702
public override void Add(
Control
value) {
7732
public override void Remove(
Control
value) {
winforms\Managed\System\WinForms\GiveFeedbackEvent.cs (1)
31
/// Provides data for the <see cref='System.Windows.Forms.
Control
.GiveFeedback'/>
winforms\Managed\System\WinForms\GiveFeedbackEventHandler.cs (2)
17
/// Represents the method that handles the <see cref='System.Windows.Forms.
Control
.GiveFeedback'/> event
18
/// of a <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
85
public static void DrawParentBackground(Graphics g, Rectangle bounds,
Control
childControl) {
winforms\Managed\System\WinForms\Help.cs (8)
84
public static void ShowHelp(
Control
parent, string url) {
96
public static void ShowHelp(
Control
parent, string url, HelpNavigator navigator) {
108
public static void ShowHelp(
Control
parent, string url, string keyword) {
126
public static void ShowHelp(
Control
parent, string url, HelpNavigator command, object parameter) {
145
public static void ShowHelpIndex(
Control
parent, string url) {
157
public static void ShowPopup(
Control
parent, string caption, Point location) {
190
private static void ShowHTML10Help(
Control
parent, string url, HelpNavigator command, object param) {
278
private static void ShowHTMLFile(
Control
parent, string url, HelpNavigator command, object param) {
winforms\Managed\System\WinForms\HelpProvider.cs (21)
29
ProvideProperty("HelpString", typeof(
Control
)),
30
ProvideProperty("HelpKeyword", typeof(
Control
)),
31
ProvideProperty("HelpNavigator", typeof(
Control
)),
32
ProvideProperty("ShowHelp", typeof(
Control
)),
105
return(target is
Control
);
120
public virtual string GetHelpKeyword(
Control
ctl) {
136
public virtual HelpNavigator GetHelpNavigator(
Control
ctl) {
153
public virtual string GetHelpString(
Control
ctl) {
168
public virtual bool GetShowHelp(
Control
ctl) {
184
Control
ctl = (
Control
)sender;
196
if (
Control
.MouseButtons != MouseButtons.None && helpString != null) {
250
Control
ctl = (
Control
)sender;
264
public virtual void SetHelpString(
Control
ctl, string helpString) {
281
public virtual void SetHelpKeyword(
Control
ctl, string keyword) {
298
public virtual void SetHelpNavigator(
Control
ctl, HelpNavigator navigator) {
315
public virtual void SetShowHelp(
Control
ctl, bool value) {
325
internal virtual bool ShouldSerializeShowHelp(
Control
ctl) {
334
public virtual void ResetShowHelp(
Control
ctl) {
343
private void UpdateEventBinding(
Control
ctl) {
winforms\Managed\System\WinForms\IButtonControl.cs (1)
49
/// <para>Generates a <see cref='System.Windows.Forms.
Control
.Click'/>
winforms\Managed\System\WinForms\IContainerControl.cs (2)
26
Control
ActiveControl { get; set; }
31
bool ActivateControl(
Control
active);
winforms\Managed\System\WinForms\InvalidateEvent.cs (1)
20
/// Provides data for the <see cref='System.Windows.Forms.
Control
.Invalidate'/>
winforms\Managed\System\WinForms\InvalidateEventHandler.cs (2)
18
/// Represents the method that will handle the <see cref='System.Windows.Forms.
Control
.Invalidate'/> event
19
/// of a <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\KeyEvent.cs (10)
22
/// Provides data for the <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
104
/// Gets the keyboard code for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
128
/// Gets the keyboard value for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
142
/// Gets the key data for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
155
/// Gets the modifier flags for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/> event.
winforms\Managed\System\WinForms\KeyEventHandler.cs (3)
18
/// Represents a method that will handle the <see cref='System.Windows.Forms.
Control
.KeyUp'/> or <see cref='System.Windows.Forms.
Control
.KeyDown'/> event of a <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\KeyPressEvent.cs (2)
21
/// Provides data for the <see cref='System.Windows.Forms.
Control
.KeyPress'/>
73
/// Gets or sets a value indicating whether the <see cref='System.Windows.Forms.
Control
.KeyPress'/>
winforms\Managed\System\WinForms\KeyPressEventHandler.cs (2)
20
/// Represents a method that will handle the <see cref='System.Windows.Forms.
Control
.KeyPress'/> event of a
21
/// <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\Label.cs (4)
819
return((
Control
) this).RenderTransparent;
1394
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseEnter'/> event.
1419
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseLeave'/> event.
1643
Control
parent = ParentInternal;
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (3)
232
using (new LayoutTransaction(element.Container as
Control
, element, PropertyNames.MinimumSize)) {
457
if (element.Container is
Control
) {
458
if (((
Control
)element.Container).LayoutEngine is DefaultLayout) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (4)
16
using ControlCollection = System.Windows.Forms.
Control
.ControlCollection;
514
Control
control = container as
Control
;
677
using (new LayoutTransaction(element.Container as
Control
, element, PropertyNames.Dock)) {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
330
if (_container is
Control
) {
331
_isContainerRTL = ((
Control
)(_container)).RightToLeft == RightToLeft.Yes;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (4)
670
Control
_controlToLayout;
676
public LayoutTransaction(
Control
controlToLayout, IArrangedElement controlCausingLayout, string property) :
680
public LayoutTransaction(
Control
controlToLayout, IArrangedElement controlCausingLayout, string property, bool resumeLayout) {
713
public static IDisposable CreateTransactionIf(bool condition,
Control
controlToLayout, IArrangedElement elementCausingLayout, string property) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (3)
1158
if (containerInfo.Container is
Control
) {
1159
Control
control = containerInfo.Container as
Control
;
winforms\Managed\System\WinForms\LayoutEvent.cs (3)
26
public LayoutEventArgs(
Control
affectedControl, string affectedProperty)
41
public
Control
AffectedControl {
43
return affectedComponent as
Control
;
winforms\Managed\System\WinForms\LinkLabel.cs (9)
893
/// Raises the <see cref='System.Windows.Forms.
Control
.GotFocus'/>
931
/// Raises the <see cref='System.Windows.Forms.
Control
.LostFocus'/>
946
/// Raises the <see cref='System.Windows.Forms.
Control
.OnKeyDown'/>
963
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseLeave'/>
991
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseDown'/>
1021
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseUp'/>
1057
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseMove'/>
1124
/// Raises the <see cref='System.Windows.Forms.
Control
.OnPaint'/>
1794
return !CanUseTextRenderer || UseCompatibleTextRendering !=
Control
.UseCompatibleTextRenderingDefault;
winforms\Managed\System\WinForms\ListView.cs (2)
2516
odCacheFontHandleWrapper = new
Control
.FontHandleWrapper(odCacheFont);
2851
odCacheFontHandleWrapper = new
Control
.FontHandleWrapper(subItemFont);
winforms\Managed\System\WinForms\ListViewItem.cs (2)
447
return
Control
.DefaultFont;
1546
return
Control
.DefaultFont;
winforms\Managed\System\WinForms\MaskedTextBox.cs (3)
2043
/// Raises the <see cref='System.Windows.Forms.
Control
.KeyDown'/> event.
2176
/// Raises the <see cref='System.Windows.Forms.
Control
.KeyPress'/> event.
2251
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyUp'/> event.</para>
winforms\Managed\System\WinForms\MDIClient.cs (5)
156
protected override
Control
.ControlCollection CreateControlsInstance() {
254
Control
ctl = Controls[i];
401
new public class ControlCollection :
Control
.ControlCollection {
430
public override void Add(
Control
value) {
448
public override void Remove(
Control
value) {
winforms\Managed\System\WinForms\MDIControlStrip.cs (8)
36
IntPtr hMenu= UnsafeNativeMethods.GetSystemMenu(new HandleRef(this,
Control
.GetSafeHandle(target)), /*bRevert=*/false);
48
Control
controlTarget = target as
Control
;
131
IntPtr hIcon = UnsafeNativeMethods.SendMessage(new HandleRef(this,
Control
.GetSafeHandle(target)), NativeMethods.WM_GETICON, NativeMethods.ICON_SMALL, 0);
167
IntPtr hMenu= UnsafeNativeMethods.GetSystemMenu(new HandleRef(this,
Control
.GetSafeHandle(target)), /*bRevert=*/false);
185
system.DropDown = ToolStripDropDownMenu.FromHMenu(UnsafeNativeMethods.GetSystemMenu(new HandleRef(this,
Control
.GetSafeHandle(target)), /*bRevert=*/false), target);
206
Control
controlTarget = target as
Control
;
winforms\Managed\System\WinForms\MenuItem.cs (3)
1365
/// Generates a <see cref='System.Windows.Forms.
Control
.Click'/>
1493
Debug.WriteLineIf(
Control
.PaletteTracing.TraceVerbose, Handle + ": Force set palette in MenuItem drawitem");
1494
IntPtr oldPal =
Control
.SetUpPalette(dis.hDC, false /*force*/, false);
winforms\Managed\System\WinForms\MessageBox.cs (1)
461
handle =
Control
.GetSafeHandle(owner);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2646
public MonthCalendarAccessibleObject(
Control
owner)
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
825
OnMouseMove(new MouseEventArgs(
Control
.MouseButtons, 0, 0, 0, 0));
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (2)
34
Control
.FontHandleWrapper fontWrapper = null;
102
fontWrapper = new
Control
.FontHandleWrapper(Font);
winforms\Managed\System\WinForms\PaintEvent.cs (2)
21
/// Provides data for the <see cref='System.Windows.Forms.
Control
.Paint'/>
133
oldPal =
Control
.SetUpPalette(dc, false /*force*/, false /*realize*/);
winforms\Managed\System\WinForms\PaintEventHandler.cs (2)
18
/// Represents the method that will handle the <see cref='System.Windows.Forms.
Control
.Paint'/>event of a <see cref='System.Windows.Forms.
Control
'/>class.
winforms\Managed\System\WinForms\PopupEventArgs.cs (3)
25
private
Control
associatedControl;
33
public PopupEventArgs(IWin32Window associatedWindow,
Control
associatedControl, bool isBalloon, Size size)
56
public
Control
AssociatedControl {
winforms\Managed\System\WinForms\PreviewKeyDownEventArgs.cs (8)
61
/// Gets the keyboard code for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
85
/// Gets the keyboard value for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
99
/// Gets the key data for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/>
112
/// Gets the modifier flags for a <see cref='System.Windows.Forms.
Control
.KeyDown'/> or <see cref='System.Windows.Forms.
Control
.KeyUp'/> event.
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
941
/// Indicates whether the <see cref='System.Windows.Forms.
Control
.BackColor'/> property should be
952
/// Indicates whether the <see cref='System.Windows.Forms.
Control
.ForeColor'/> property should be
winforms\Managed\System\WinForms\PropertyGrid.cs (8)
269
Controls.AddRange(new
Control
[] { doccomment, hotcommands, gridView, toolStrip });
2343
private static void DrawXorBar(
Control
ctlDrawTo, Rectangle rcFrame) {
2612
internal
Control
GetElementFromPoint(Point point) {
2789
if (ShouldForwardChildMouseMessage((
Control
)sender, me, ref newPt)) {
2803
if (ShouldForwardChildMouseMessage((
Control
)sender, me, ref newPt)) {
4655
private bool ShouldForwardChildMouseMessage(
Control
child, MouseEventArgs me, ref Point pt) {
5415
internal class PropertyGridAccessibleObject :
Control
.ControlAccessibleObject {
5441
var
element = _owningPropertyGrid.GetElementFromPoint(clientPoint);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
248
internal class DocCommentAccessibleObject :
Control
.ControlAccessibleObject {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
228
internal class DropDownButtonAccessibleObject :
Control
.ControlAccessibleObject {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2953
return((
Control
)this.owner.GridEntryHost).AccessibilityObject;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (3)
91
foreach(
Control
c in this.Controls ){
335
Control
parent = detailsBtn.Parent;
372
internal class DetailsButtonAccessibleObject:
Control
.ControlAccessibleObject {
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (7)
28
Control
[] controls;
36
internal GridToolTip(
Control
[] controls) {
121
private NativeMethods.TOOLINFO_T GetTOOLINFO(
Control
c) {
155
SetupToolTip((
Control
)sender);
160
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO((
Control
)sender));
173
internal void PositionToolTip(
Control
parent, Rectangle itemRect) {
202
private void SetupToolTip(
Control
c) {
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
235
internal class HotCommandsAccessibleObject :
Control
.ControlAccessibleObject {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (28)
126
private
Control
currentEditor = null;
760
toolTip = new GridToolTip(new
Control
[]{this, Edit});
1032
protected virtual void CommonEditorSetup(
Control
ctl) {
1038
protected virtual void CommonEditorUse(
Control
ctl, Rectangle rectTarget) {
1678
public void /* cpr IWindowsFormsEditorService. */ DropDownControl(
Control
ctl) {
1791
Control
ctl = dropDownHolder.Component;
2295
private bool IsMyChild(
Control
c) {
2301
Control
cParent = c.ParentInternal;
2331
internal bool IsSiblingControl(
Control
c1,
Control
c2) {
2333
Control
parent1 = c1.ParentInternal;
2334
Control
parent2 = c2.ParentInternal;
2825
private bool OnF4(
Control
sender) {
2837
private bool OnEscape(
Control
sender) {
3975
Control
focusedControl =
Control
.FromHandleInternal(UnsafeNativeMethods.GetFocus());
3980
focusedControl =
Control
.FromHandleInternal(UnsafeNativeMethods.GetFocus());
4425
Control
btn = fBtnDropDown ? (
Control
)DropDownButton : (
Control
)DialogButton;
4918
Control
topControl = this;
5442
private
Control
currentControl = null; // the control that is hosted in the holder
5584
public virtual
Control
Component {
5949
public void SetComponent(
Control
ctl, bool resizable) {
7074
private
Control
control;
7084
public MouseHook(
Control
control, IMouseHookClient client, PropertyGridView gridView) {
7230
Control
ctrlAtPoint =
Control
.FromHandleInternal(hWndAtPoint);
winforms\Managed\System\WinForms\QueryContinueDragEvent.cs (1)
21
/// Provides data for the <see cref='System.Windows.Forms.
Control
.QueryContinueDrag'/>
winforms\Managed\System\WinForms\QueryContinueDragEventHandler.cs (2)
18
/// Represents the method that will handle the <see cref='System.Windows.Forms.
Control
.QueryContinueDrag'/>
20
/// <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\RadioButton.cs (7)
501
Control
parent = ParentInternal;
503
Control
.ControlCollection children = parent.Controls;
505
Control
ctl = children[i];
525
Control
parent = ParentInternal;
527
Control
.ControlCollection children = parent.Controls;
529
Control
ctl = children[i];
592
/// Generates a <see cref='System.Windows.Forms.
Control
.Click'/> event for the
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (1)
84
public static void DrawParentBackground(Graphics g, Rectangle bounds,
Control
childControl) {
winforms\Managed\System\WinForms\RichTextBox.cs (6)
3872
MouseButtons b =
Control
.MouseButtons;
3873
Keys k =
Control
.ModifierKeys;
3910
Control
.MousePosition.X,
3911
Control
.MousePosition.Y,
3999
Control
.MousePosition.X,
4000
Control
.MousePosition.Y,
winforms\Managed\System\WinForms\Screen.cs (3)
344
public static Screen FromControl(
Control
control) {
401
public static Rectangle GetWorkingArea(
Control
ctl) {
432
public static Rectangle GetBounds(
Control
ctl) {
winforms\Managed\System\WinForms\ScrollableControl.cs (9)
459
Control
current = Controls[i];
472
switch (((
Control
)current).Dock) {
515
Control
current = Controls[i];
522
Control
richCurrent = (
Control
)current;
776
EventHandler handler = (EventHandler)Events[
Control
.EventPaddingChanged];
893
Control
ctl = Controls[i];
905
public void ScrollControlIntoView(
Control
activeControl) {
943
protected virtual Point ScrollToControl(
Control
activeControl) {
winforms\Managed\System\WinForms\SendKeys.cs (2)
870
private static void Send(string keys,
Control
control, bool wait) {
954
private static void SendWait(string keys,
Control
control) {
winforms\Managed\System\WinForms\SplitContainer.cs (18)
107
Control
nextActiveControl = null;
402
public new
Control
.ControlCollection Controls {
1691
Control
group = this;
1921
Control
parent = this.ParentInternal;
1940
private bool SelectNextControlInContainer(
Control
ctl, bool forward, bool tabStopOnly,
1943
Control
start = ctl;
2002
Control
parent = this.ParentInternal;
2025
private bool SelectNextControlInPanel(
Control
ctl, bool forward, bool tabStopOnly,
2029
Control
start = ctl;
2075
private static void SelectNextActiveControl(
Control
ctl, bool forward, bool tabStopOnly, bool nested, bool wrap)
2106
foreach(
Control
ctl in sc.Controls) {
2109
foreach (
Control
c in ctl.Controls) {
2386
internal override void AfterControlRemoved(
Control
control,
Control
oldParent) {
2520
protected override
Control
.ControlCollection CreateControlsInstance() {
2572
public SplitContainerTypedControlCollection(
Control
c, Type type, bool isReadOnly): base(c, type, isReadOnly)
2577
public override void Remove(
Control
value) {
2586
internal override void SetChildIndexInternal(
Control
child, int newIndex)
winforms\Managed\System\WinForms\Splitter.cs (16)
49
private
Control
splitTarget;
693
Control
target = FindTarget();
715
Control
target = FindTarget();
728
Control
parent = ParentInternal;
729
Control
.ControlCollection children = parent.Controls;
733
Control
ctl = children[i];
735
switch (((
Control
)ctl).Dock) {
803
private
Control
FindTarget() {
804
Control
parent = ParentInternal;
806
Control
.ControlCollection children = parent.Controls;
810
Control
target = children[i];
814
if (target.Bottom == Top) return(
Control
)target;
817
if (target.Top == Bottom) return(
Control
)target;
820
if (target.Right == Left) return(
Control
)target;
823
if (target.Left == Right) return(
Control
)target;
1064
internal
Control
target;
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
315
public new
Control
Parent {
winforms\Managed\System\WinForms\StatusBar.cs (7)
685
/// Raises the <see cref='System.Windows.Forms.
Control
.CreateHandle'/>
1111
Control
parent = ParentInternal;
1127
Control
.ControlCollection children = parent.Controls;
1130
Control
ctl = children[i];
1661
private
Control
parent = null;
1668
public ControlToolTip(
Control
parent) {
1882
Control
richParent = parent;
winforms\Managed\System\WinForms\StatusStrip.cs (1)
163
private
Control
RTLGrip {
winforms\Managed\System\WinForms\SystemInformation.cs (1)
400
menuFont =
Control
.DefaultFont;
winforms\Managed\System\WinForms\TabControl.cs (6)
1094
protected override
Control
.ControlCollection CreateControlsInstance() {
1197
public
Control
GetControl(int index) {
1198
return(
Control
) GetTabPage(index);
2713
public new class ControlCollection :
Control
.ControlCollection {
2733
public override void Add(
Control
value) {
2782
public override void Remove(
Control
value) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (23)
21
[ProvideProperty("ColumnSpan", typeof(
Control
))]
22
[ProvideProperty("RowSpan", typeof(
Control
))]
23
[ProvideProperty("Row", typeof(
Control
))]
24
[ProvideProperty("Column", typeof(
Control
))]
25
[ProvideProperty("CellPosition", typeof(
Control
))]
201
protected override
Control
.ControlCollection CreateControlsInstance() {
214
Control
control = obj as
Control
;
223
public int GetColumnSpan(
Control
control) {
228
public void SetColumnSpan(
Control
control, int value) {
239
public int GetRowSpan(
Control
control) {
244
public void SetRowSpan(
Control
control, int value) {
257
public int GetRow(
Control
control) {
263
public void SetRow(
Control
control, int row) {
275
public TableLayoutPanelCellPosition GetCellPosition(
Control
control) {
281
public void SetCellPosition(
Control
control, TableLayoutPanelCellPosition position) {
294
public int GetColumn(
Control
control) {
300
public void SetColumn(
Control
control, int column) {
309
public
Control
GetControlFromPosition (int column, int row) {
310
return (
Control
)_tableLayoutSettings.GetControlFromPosition(column, row);
314
public TableLayoutPanelCellPosition GetPositionFromControl (
Control
control) {
564
public class TableLayoutControlCollection :
Control
.ControlCollection {
580
public virtual void Add(
Control
control, int column, int row) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (5)
450
Control
c = element as
Control
;
519
Control
appliedControl = containerInfo.Container as
Control
;
530
foreach (
Control
tableControl in appliedControl.Controls) {
winforms\Managed\System\WinForms\TableLayoutStyle.cs (4)
35
Control
owner = Owner as
Control
;
54
Control
owner = Owner as
Control
;
winforms\Managed\System\WinForms\TabPage.cs (8)
156
protected override
Control
.ControlCollection CreateControlsInstance () {
531
internal override void AssignParent (
Control
value) {
545
if (!(comp is
Control
)) {
549
Control
c = (
Control
)comp;
740
Control
parent = ParentInternal;
787
public class TabPageControlCollection :
Control
.ControlCollection {
804
public override void Add (
Control
value) {
winforms\Managed\System\WinForms\TextBox.cs (1)
637
if (SelectionLength == 0 &&
Control
.MouseButtons == MouseButtons.None) {
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
2228
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "TextBox wants tabs");
2232
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "TextBox doesn't want tabs");
winforms\Managed\System\WinForms\ToolStrip.cs (11)
483
Control
p = ParentInternal;
572
public new
Control
.ControlCollection Controls {
2628
internal virtual
Control
GetOwnerControl() {
3021
if (!inMenuMode &&
Control
.ModifierKeys == Keys.Alt) {
3068
if (
Control
.IsMnemonic(charCode,currentItem.Text)) {
3994
public new
Control
GetChildAtPoint(Point point) {
3999
public new
Control
GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue) {
4006
internal override
Control
GetFirstChildControlInTabOrder(bool forward) {
4114
Control
c =
Control
.FromHandleInternal(hwndThatLostFocus);
4798
protected override
Control
.ControlCollection CreateControlsInstance() {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (4)
61
public ToolStripComboBox(
Control
c) : base(c) {
128
private static
Control
CreateControlInstance() {
558
protected override void OnSubscribeControlEvents(
Control
control) {
575
protected override void OnUnsubscribeControlEvents(
Control
control) {
winforms\Managed\System\WinForms\ToolStripContainer.cs (9)
391
public new
Control
.ControlCollection Controls {
398
protected override
Control
.ControlCollection CreateControlsInstance() {
418
foreach (
Control
c in this.Controls) {
422
foreach (
Control
c in this.Controls) {
432
foreach(
Control
c in Controls) {
450
public ToolStripContainerTypedControlCollection(
Control
c, bool isReadOnly)
455
public override void Add(
Control
value) {
469
public override void Remove(
Control
value) {
478
internal override void SetChildIndexInternal(
Control
child, int newIndex) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (6)
26
private
Control
control;
47
public ToolStripControlHost(
Control
c) {
66
public ToolStripControlHost(
Control
c, string name) : this (c){
159
public
Control
Control {
872
protected virtual void OnSubscribeControlEvents(
Control
control) {
921
protected virtual void OnUnsubscribeControlEvents(
Control
control) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (6)
935
internal
Control
SourceControlInternal {
937
return Properties.GetObject(PropSourceControl) as
Control
;
1711
foreach(
Control
control in Controls) {
2038
public void Show(
Control
control, Point position) {
2056
public void Show(
Control
control, Point position, ToolStripDropDownDirection direction) {
2068
public void Show(
Control
control, int x, int y) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
126
if ((
Control
.ModifierKeys != Keys.Alt) &&
142
if ((
Control
.ModifierKeys != Keys.Alt) &&
winforms\Managed\System\WinForms\ToolStripGrip.cs (3)
129
return (
Control
.MouseButtons == MouseButtons.Left) && (
Control
.ModifierKeys == Keys.None);
253
private static void SetCursor(
Control
control, Cursor cursor) {
winforms\Managed\System\WinForms\ToolStripItem.cs (8)
547
Control
p = ParentInternal;
551
return
Control
.DefaultBackColor;
1019
Control
p = ParentInternal;
1023
return
Control
.DefaultForeColor;
1429
Control
parent = ParentInternal;
2492
if (
Control
.ModifierKeys == Keys.Alt) {
3991
return ((IKeyboardToolTip)this).GetNativeScreenRectangle().Contains(
Control
.MousePosition);
4475
} while (sibling != null && sibling is
Control
.ControlAccessibleObject);
winforms\Managed\System\WinForms\ToolStripManager.cs (31)
102
sysFont =
Control
.DefaultFont;
255
private static bool IsOnSameWindow(
Control
control1,
Control
control2) {
619
internal static ToolStripPanel ToolStripPanelFromPoint(
Control
draggedControl, Point screenLocation) {
791
Control
control = null;
795
control =
Control
.FromHandleInternal(_activeHwnd.Handle);
804
control =
Control
.FromHandleInternal(_activeHwnd.Handle);
916
Control
control =
Control
.FromHandleInternal(ActiveHwnd.Handle);
978
Control
topLevel = sender as
Control
;
984
ToolStrip toolStrip =
Control
.FromHandleInternal(m.HWnd) as ToolStrip;
1257
else if (!(
Control
.FromChildHandleInternal(hwndCurrentActiveWindow.Handle) is ToolStripDropDown) // its NOT a dropdown
1283
Control
control =
Control
.FromChildHandleInternal(m.HWnd);
1531
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - processing: [" + keyData.ToString() + "]");
1537
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - IsValidShortcut: [" + keyData.ToString() + "]");
1542
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessCmdKey - Checking if it's a menu key: [" + keyData.ToString() + "]");
1559
Control
activeControl =
Control
.FromChildHandleInternal(m.HWnd);
1560
Control
activeControlInChain = activeControl;
1563
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessShortcut - processing: [" + shortcut.ToString() + "]");
1572
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessShortcut - found item on context menu: [" + item.ToString() + "]");
1647
Form mainForm =
Control
.FromHandleInternal(rootWindowOfControl.Handle) as Form;
1664
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessShortcut - found item on toolstrip: [" + item.ToString() + "]");
1690
Debug.WriteLineIf(
Control
.ControlKeyboardRouting.TraceVerbose, "ToolStripManager.ProcessMenuKey: [" + m.ToString() + "]");
1701
Control
intendedControl =
Control
.FromHandleInternal(m.HWnd);
1702
Control
toplevelControl = null;
1764
internal static MenuStrip GetMainMenuStrip(
Control
control) {
1780
private static MenuStrip GetFirstMenuStripRecursive(
Control
.ControlCollection controlsToLookIn) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
114
this.targetWindowHandle =
Control
.GetSafeHandle(targetWindow);
1203
targetWindowHandle =
Control
.GetSafeHandle(window);
winforms\Managed\System\WinForms\ToolStripPanel.cs (18)
457
protected override
Control
.ControlCollection CreateControlsInstance() {
552
if (e.AffectedComponent != ParentInternal && e.AffectedComponent as
Control
!= null) {
584
Control
[] controls = new
Control
[this.Controls.Count];
588
foreach (
Control
control in row.ControlsInternal) {
670
Control
[] controlArray = new
Control
[controls.Count];
1271
foreach (
Control
c1 in this.Controls) {
1272
foreach (
Control
c2 in this.Controls) {
1545
internal override void AddInternal(
Control
value) {
1571
Control
one = first as
Control
;
1572
Control
two = second as
Control
;
1593
Control
one = first as
Control
;
1594
Control
two = second as
Control
;
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
40
public ToolStripPanelCell(
Control
control):this(null, control) {
43
public ToolStripPanelCell(ToolStripPanelRow parent,
Control
control) {
74
public
Control
Control {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (35)
93
public
Control
[] Controls {
95
Control
[] controls = new
Control
[ControlsInternal.Count];
223
internal
Control
ParentInternal {
297
protected internal virtual void OnControlAdded(
Control
control, int index) {
322
protected internal virtual void OnControlRemoved(
Control
control, int index) {
778
foreach (
Control
c in Row.ControlsInternal) {
914
protected internal virtual void OnControlAdded(
Control
c, int index) {
917
protected internal virtual void OnControlRemoved(
Control
c, int index) {
1262
protected internal override void OnControlAdded(
Control
control, int index) {
1265
protected internal override void OnControlRemoved(
Control
control, int index) {
1301
Control
controlToPushAside = Row.ControlsInternal[index];
1790
protected internal override void OnControlRemoved(
Control
c, int index) {
1794
protected internal override void OnControlAdded(
Control
control, int index) {
1830
Control
controlToPushAside = Row.ControlsInternal[index];
2008
public ToolStripPanelRowControlCollection(ToolStripPanelRow owner,
Control
[] value) {
2014
public new virtual
Control
this[int index] {
2042
public int Add(
Control
value) {
2064
public void AddRange(
Control
[] value) {
2091
public bool Contains(
Control
value) {
2123
private
Control
GetControl(int index) {
2124
Control
control = null;
2134
private int IndexOfControl(
Control
c) {
2158
void IList.Remove(object value) { Remove(value as
Control
); }
2160
int IList.Add(object value) { return Add(value as
Control
); }
2162
int IList.IndexOf(object value) { return IndexOf(value as
Control
); }
2164
void IList.Insert(int index, object value) { Insert(index, value as
Control
); }
2170
public int IndexOf(
Control
value) {
2184
public void Insert(int index,
Control
value) {
2200
private void OnAfterRemove(
Control
control, int index) {
2225
Control
control = controlToBeDragged as
Control
;
2249
public void Remove(
Control
value) {
2261
Control
control = GetControl(index);
2273
public void CopyTo(
Control
[] array, int index) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
968
private void RenderBackgroundGradient(Graphics g,
Control
control, Color beginColor, Color endColor) {
972
private void RenderBackgroundGradient(Graphics g,
Control
control, Color beginColor, Color endColor, Orientation orientation) {
981
Control
parent = control.ParentInternal;
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (3)
272
private static
Control
CreateControlInstance() {
288
protected override void OnSubscribeControlEvents(
Control
control) {
300
protected override void OnUnsubscribeControlEvents(
Control
control) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
1066
internal bool ShouldPaintBackground (
Control
control) {
winforms\Managed\System\WinForms\ToolStripRendererSwitcher.cs (4)
29
public ToolStripRendererSwitcher(
Control
owner, ToolStripRenderMode defaultRenderMode) : this(owner) {
35
public ToolStripRendererSwitcher(
Control
owner) {
137
Control
control = sender as
Control
;
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
44
private static
Control
CreateControlInstance(bool up) {
winforms\Managed\System\WinForms\ToolStripSettings.cs (8)
209
foreach (
Control
c in toolStripPanel.Controls) {
287
private ArrayList FindControls(Type baseType, bool searchAllChildren,
Control
.ControlCollection controlsToLookIn, ArrayList foundControls) {
328
private ArrayList FindToolStripPanels(bool searchAllChildren,
Control
.ControlCollection controlsToLookIn) {
332
private ArrayList FindToolStrips(bool searchAllChildren,
Control
.ControlCollection controlsToLookIn) {
344
private void ResumeAllLayout(
Control
start, bool performLayout) {
345
Control
.ControlCollection controlsCollection = start.Controls;
354
private void SuspendAllLayout(
Control
start) {
357
Control
.ControlCollection controlsCollection = start.Controls;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (5)
55
public ToolStripTextBox(
Control
c): base(c) {
156
private static
Control
CreateControlInstance() {
218
protected override void OnSubscribeControlEvents(
Control
control) {
237
protected override void OnUnsubscribeControlEvents(
Control
control) {
904
private class ToolStripTextBoxControlAccessibleObject :
Control
.ControlAccessibleObject {
winforms\Managed\System\WinForms\ToolTip.cs (70)
40
ProvideProperty("ToolTip", typeof(
Control
)),
65
Control
topLevelControl = null;
179
internal string GetCaptionForTool(
Control
tool) {
350
Control
windowControl = window as
Control
;
587
private
Control
TopLevelControl {
589
Control
baseVar = null;
591
Control
[] regions = new
Control
[tools.Keys.Count];
595
Control
ctl = regions[i];
740
Control
control = (
Control
)sender;
750
private void CheckNativeToolTip(
Control
associatedControl) {
795
private void CheckCompositeControls(
Control
associatedControl) {
802
Control
control = (
Control
)sender;
852
if (target is
Control
&&
942
Control
[] ctls = new
Control
[tools.Keys.Count];
955
Control
[] ctls = new
Control
[tools.Keys.Count];
967
private void SetToolInfo(
Control
ctl, string caption) {
994
private void CreateRegion(
Control
ctl) {
1017
Control
ctl = (
Control
)sender;
1046
private void DestroyRegion(
Control
ctl) {
1135
private NativeMethods.TOOLINFO_TOOLTIP GetMinTOOLINFO(
Control
ctl) {
1160
private NativeMethods.TOOLINFO_TOOLTIP GetTOOLINFO(
Control
ctl, string caption, out bool allocatedString) {
1168
Control
richParent = TopLevelControl;
1208
Control
richParent = TopLevelControl;
1234
public string GetToolTip(
Control
control) {
1254
Control
baseVar = TopLevelControl;
1262
Control
currentControl =
Control
.FromHandleInternal(hwndControl);
1294
baseVar =
Control
.FromHandleInternal(found);
1296
baseVar =
Control
.FromChildHandleInternal(found);
1309
Control
ctl =
Control
.FromHandleInternal(hwnd);
1311
Control
current = ctl;
1360
Control
[] regions = new
Control
[tools.Keys.Count];
1423
public void SetToolTip(
Control
control, string caption) {
1436
private void SetToolTipInternal(
Control
control, TipInfo info) {
1554
Control
associatedControl = win as
Control
;
1660
UnsafeNativeMethods.GetWindowRect(new HandleRef(window,
Control
.GetSafeHandle(window)), ref r);
1687
UnsafeNativeMethods.GetWindowRect(new HandleRef(window,
Control
.GetSafeHandle(window)), ref r);
1712
UnsafeNativeMethods.GetWindowRect(new HandleRef(window,
Control
.GetSafeHandle(window)), ref r);
1737
UnsafeNativeMethods.GetWindowRect(new HandleRef(window,
Control
.GetSafeHandle(window)), ref r);
1959
IntPtr hWnd =
Control
.GetSafeHandle(win);
1966
Control
tool = win as
Control
;
2001
Control
[] ctls = new
Control
[owners.Values.Count];
2009
Control
tool = win as
Control
;
2064
IntPtr hWnd =
Control
.GetSafeHandle(win);
2194
win = (IWin32Window)
Control
.FromHandleInternal(ti.hwnd);
2239
win = (IWin32Window)
Control
.FromHandleInternal(ti.hwnd);
2247
UnsafeNativeMethods.GetWindowRect(new HandleRef(win,
Control
.GetSafeHandle(win)), ref r);
2295
win = (IWin32Window)
Control
.FromHandleInternal(ti.hwnd);
2302
Control
toolControl = win as
Control
;
2405
win = (IWin32Window)
Control
.FromHandleInternal(ti.hwnd);
2499
win = (IWin32Window)
Control
.FromHandleInternal(ti.hwnd);
2506
Control
control = win as
Control
;
2613
Control
ac =
Control
.FromHandleInternal(ti.hwnd);
2625
font =
Control
.DefaultFont;
winforms\Managed\System\WinForms\TrackBar.cs (1)
966
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.MouseWheel'/> event.</para>
winforms\Managed\System\WinForms\UICuesEvent.cs (1)
65
/// Provides data for the <see cref='System.Windows.Forms.
Control
.ChangeUICues'/> event.
winforms\Managed\System\WinForms\UICuesEventHandler.cs (2)
13
/// Represents a method that will handle the <see cref='System.Windows.Forms.
Control
.ChangeUICues'/> event of a <see cref='System.Windows.Forms.
Control
'/>.
winforms\Managed\System\WinForms\UpDownBase.cs (10)
105
Controls.AddRange(new
Control
[] { upDownButtons, upDownEdit} );
862
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyDown'/>
891
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyPress'/>
901
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.LostFocus'/> event.</para>
911
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.Resize'/> event.</para>
946
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseDown'/> event.
959
/// Raises the <see cref='System.Windows.Forms.
Control
.OnMouseUp'/> event.
984
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.OnMouseWheel'/> event.</para>
1160
private MouseEventArgs TranslateMouseEvent(
Control
child, MouseEventArgs e) {
1341
/// <para>Raises the <see cref='System.Windows.Forms.
Control
.KeyUp'/>
winforms\Managed\System\WinForms\UserControl.cs (1)
107
Control
toLayout = DesignMode || ParentInternal == null ? this : ParentInternal;
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
436
public void DrawParentBackground(IDeviceContext dc, Rectangle bounds,
Control
childControl) {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1843
int keyCode = (int)msg.wParam | (int)
Control
.ModifierKeys;
winforms\Managed\System\WinForms\WebBrowserBase.cs (3)
529
Control
parent = ParentInternal;
1220
for (
Control
control = this; control != null; control = control.ParentInternal) {
1227
cc =
Control
.FromHandle(UnsafeNativeMethods.GetParent(new HandleRef(this, Handle))) as ContainerControl;
winforms\Managed\System\WinForms\WebBrowserContainer.cs (13)
171
Control
[] ctls = new
Control
[components.Keys.Count];
175
Control
ctl = ctls[i];
221
if (comp is
Control
&& comp != parent && comp.Site != null) {
232
Control
[] ctls = new
Control
[containerCache.Values.Count];
249
private void GetAllChildren(
Control
ctl) {
260
foreach(
Control
c in ctl.Controls) {
287
Control
c = e.Component as
Control
;
296
internal void AddControl(
Control
ctl) {
314
internal void RemoveControl(
Control
ctl) {
337
internal string GetNameForControl(
Control
ctl) {
winforms\Managed\System\WinForms\WebBrowserHelper.cs (1)
151
internal static ISelectionService GetSelectionService(
Control
ctl) {
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (1)
178
bool f = ((
Control
)this.Host).PreProcessControlMessage(ref msg) == PreProcessControlState.MessageProcessed;
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
22
private
Control
controlToSendTo;
47
private WindowsFormsSynchronizationContext(
Control
marshalingControl, Thread destinationThread) {
winforms\Managed\System\WinForms\WinFormsUtils.cs (14)
233
internal static string AssertControlInformation(bool condition,
Control
control) {
293
public static HandleRef GetRootHWnd(
Control
control) {
329
public static Point TranslatePoint(Point point,
Control
fromControl,
Control
toControl) {
488
internal class ReadOnlyControlCollection :
Control
.ControlCollection {
493
public ReadOnlyControlCollection(
Control
owner, bool isReadOnly) : base(owner) {
497
public override void Add(
Control
value) {
504
internal virtual void AddInternal(
Control
value) {
515
internal virtual void RemoveInternal(
Control
value) {
538
private
Control
ownerControl;
540
public TypedControlCollection(
Control
owner, Type typeOfControl, bool isReadOnly) : base(owner, isReadOnly) {
545
public TypedControlCollection(
Control
owner, Type typeOfControl) : base(owner, /*isReadOnly*/false) {
550
public override void Add(
Control
value) {
552
Control
.CheckParentingCycle(ownerControl, value);
System.Windows.Forms.DataVisualization (1)
WinForm\Utilities\AccessibleObject.cs (1)
36
internal class ChartAccessibleObject :
Control
.ControlAccessibleObject
System.Workflow.Activities (2)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (2)
105
Control
someControl = sender as
Control
;
System.Workflow.ComponentModel (31)
AuthoringOM\Design\DesignerHelpers.cs (2)
1395
Control
control = owner as
Control
;
AuthoringOM\Design\DesignerWidgets.cs (5)
234
graphics.DrawString(index.ToString(CultureInfo.CurrentCulture),
Control
.DefaultFont, SystemBrushes.ControlText, (RectangleF)itemRectangle, format);
1504
Controls.AddRange(new
Control
[] { this.scrollBar, this.splitter, this.tabStrip });
1904
Point mousePosition = PointToClient(
Control
.MousePosition);
2145
private
Control
parentControl;
2155
internal WorkflowToolTip(
Control
parentControl)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (3)
390
this.themeConfigPanel.Controls.AddRange(new
Control
[] { this.propertiesGrid, this.splitter, this.designerTreeView });
417
private bool ValidateControls(out string error, out
Control
control)
469
Control
control = null;
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (4)
187
if ((
Control
.ModifierKeys & Keys.Shift) > 0)
197
if ((
Control
.ModifierKeys & Keys.Shift) > 0)
207
if ((
Control
.ModifierKeys & Keys.Shift) > 0)
233
if ((
Control
.ModifierKeys & Keys.Shift) == 0)
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
391
UpdateTransparency(parentView.PointToClient(
Control
.MousePosition));
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (2)
129
Point clientPoint = parentView.PointToClient(
Control
.MousePosition);
130
Point logicalPoint = parentView.ScreenPointToLogical(
Control
.MousePosition);
AuthoringOM\Design\MessageFilters\WindowManager.cs (3)
66
if (this.currentActiveDesigner != null && ((
Control
.ModifierKeys & (Keys.Control | Keys.Shift)) == 0))
196
UpdateViewOnMouseWheel(eventArgs,
Control
.ModifierKeys);
422
if (
Control
.ModifierKeys == Keys.Control)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (2)
82
this.currentState = ((
Control
.ModifierKeys & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
190
this.currentState = ((
Control
.ModifierKeys & Keys.Shift) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
AuthoringOM\Design\Themes.cs (1)
230
WorkflowTheme.defaultFont =
Control
.DefaultFont;
AuthoringOM\Design\WorkflowView.cs (8)
1159
Point clientPoint = PointToClient(
Control
.MousePosition);
1160
MouseEventArgs eventArgs = new MouseEventArgs(
Control
.MouseButtons, 1, clientPoint.X, clientPoint.Y, 0);
1176
Point clientPoint = PointToClient(
Control
.MousePosition);
1177
MouseEventArgs eventArgs = new MouseEventArgs(
Control
.MouseButtons, 1, clientPoint.X, clientPoint.Y, 0);
1419
Point location = (LParam != -1) ? new Point(LParam) :
Control
.MousePosition;
2227
Control
control =
Control
.FromHandle(m.HWnd);
2247
public class WorkflowViewAccessibleObject :
Control
.ControlAccessibleObject
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
333
foreach (
Control
control in detailsViewPanel.Controls)