5 writes to activeControl
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ContainerControl.cs (5)
572
activeControl
= value;
641
activeControl
= null;
1526
innerMostFCC.
activeControl
= null;
1541
cc.
activeControl
= null;
1873
activeControl
= null;
39 references to activeControl
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ContainerControl.cs (39)
286
return
activeControl
;
408
if (control !=
activeControl
|| updateContainerActiveControl)
468
if (control ==
activeControl
|| control.Contains(
activeControl
)) {
482
if (selected && this.
activeControl
!= control)
488
if (!this.
activeControl
.Parent.IsTopMdiWindowClosing)
498
else if (
activeControl
== null && ParentInternal != null)
558
if (
activeControl
!= value) {
580
if (
activeControl
== value) {
596
focusedControl =
activeControl
;
598
return(
activeControl
== value);
673
if (
activeControl
!= null &&
activeControl
.Visible) {
678
if (focusHandle == IntPtr.Zero || Control.FromChildHandleInternal(focusHandle) !=
activeControl
) {
679
UnsafeNativeMethods.SetFocus(new HandleRef(
activeControl
,
activeControl
.Handle));
1144
if (
activeControl
!= null) {
1145
group =
activeControl
.ParentInternal;
1147
return group.SelectNextControl(
activeControl
, forward, false, false, true);
1322
if (SelectNextControl(
activeControl
, forward, true, true, false)) return true;
1338
Control last =
activeControl
;
1343
scrollParent.ScrollControlIntoView(
activeControl
);
1385
if (
activeControl
!= value || (value != null && !value.Focused)) {
1478
while (
activeControl
!= pathControl) {
1479
if (pathControl == null || pathControl.IsDescendant(
activeControl
)) {
1481
Control nextControlDown =
activeControl
;
1577
!pathControl.IsDescendant(
activeControl
));
1587
focusedControl =
activeControl
;
1588
if (
activeControl
!= null) {
1589
EnterValidation(
activeControl
);
1630
else if (container.
activeControl
!= null && container.
activeControl
.ShouldAutoValidate) {
1631
unvalidatedControl = container.
activeControl
;
1713
(
activeControl
!= null &&
activeControl
.CausesValidation)) {
1795
Control currentActiveControl =
activeControl
;
1830
if (currentActiveControl ==
activeControl
) {
1869
if (
activeControl
is ContainerControl)
1871
((ContainerControl)
activeControl
).ResetActiveAndFocusedControlsRecursive();