50 references to Control
System.Windows.Forms (50)
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (12)
38
if (!
Control
.Enabled && disabledColors) {
65
if (!
Control
.Enabled) {
136
if (
Control
.Checked) {
137
if (!
Control
.Enabled && disabledColors) {
158
if (
Control
.Checked) {
165
if (!
Control
.Enabled) {
169
if (
Control
.MouseIsDown) {
188
RadioButtonRenderer.DrawRadioButton(g, new Point(check.Left, check.Top), RadioButtonRenderer.ConvertFromButtonState(style,
Control
.MouseIsOver),
Control
.HandleInternal);
198
if (AccessibilityImprovements.Level2 && String.IsNullOrEmpty(
Control
.Text)) {
203
layout.focus =
Control
.AutoSize ? layout.checkBounds : layout.field;
209
layout.checkAlign =
Control
.CheckAlign;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (14)
23
if (
Control
.Appearance == Appearance.Button) {
24
ButtonFlatAdapter adapter = new ButtonFlatAdapter(
Control
);
25
adapter.PaintDown(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
30
if (
Control
.Enabled) {
39
if (
Control
.Appearance == Appearance.Button) {
40
ButtonFlatAdapter adapter = new ButtonFlatAdapter(
Control
);
41
adapter.PaintOver(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
46
if (
Control
.Enabled) {
55
if (
Control
.Appearance == Appearance.Button) {
56
ButtonFlatAdapter adapter = new ButtonFlatAdapter(
Control
);
57
adapter.PaintUp(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
62
if (
Control
.Enabled) {
73
PaintButtonBackground(e,
Control
.ClientRectangle, null);
84
return new ButtonFlatAdapter(
Control
);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (15)
22
if (
Control
.Appearance == Appearance.Button) {
23
ButtonPopupAdapter adapter = new ButtonPopupAdapter(
Control
);
24
adapter.PaintUp(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
30
PaintButtonBackground(e,
Control
.ClientRectangle, null);
44
if (
Control
.Appearance == Appearance.Button) {
45
ButtonPopupAdapter adapter = new ButtonPopupAdapter(
Control
);
46
adapter.PaintOver(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
52
PaintButtonBackground(e,
Control
.ClientRectangle, null);
67
if (
Control
.Appearance == Appearance.Button) {
68
ButtonPopupAdapter adapter = new ButtonPopupAdapter(
Control
);
69
adapter.PaintDown(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
75
PaintButtonBackground(e,
Control
.ClientRectangle, null);
90
return new ButtonPopupAdapter(
Control
);
96
if (!
Control
.MouseIsDown && !
Control
.MouseIsOver) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (9)
21
if (
Control
.Appearance == Appearance.Button) {
22
ButtonAdapter.PaintUp(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
27
PaintButtonBackground(e,
Control
.ClientRectangle, null);
37
if (
Control
.Appearance == Appearance.Button) {
38
ButtonAdapter.PaintDown(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
46
if (
Control
.Appearance == Appearance.Button) {
47
ButtonAdapter.PaintOver(e,
Control
.Checked ? CheckState.Checked : CheckState.Unchecked);
61
return new ButtonStandardAdapter(
Control
);
73
ButtonBase b =
Control
;