50 references to Control
System.Windows.Forms (50)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (12)
35if (!Control.Enabled && disabledColors) 63if (!Control.Enabled) 135if (!Control.Checked) 140if (!Control.Enabled && disabledColors) 172if (Control.Checked) 181if (!Control.Enabled) 186if (Control.MouseIsDown) 210RadioButtonRenderer.ConvertFromButtonState(style, Control.MouseIsOver), 211Control.HWNDInternal); 221if (string.IsNullOrEmpty(Control.Text)) 227layout.Focus = Control.AutoSize ? layout.CheckBounds : layout.Field; 234layout.CheckAlign = Control.CheckAlign;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (14)
16if (Control.Appearance == Appearance.Button) 18ButtonFlatAdapter adapter = new(Control); 19adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 24if (Control.Enabled) 36if (Control.Appearance == Appearance.Button) 38ButtonFlatAdapter adapter = new(Control); 39adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 44if (Control.Enabled) 56if (Control.Appearance == Appearance.Button) 58ButtonFlatAdapter adapter = new(Control); 59adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 64if (Control.Enabled) 77PaintButtonBackground(e, Control.ClientRectangle, background: null); 85protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonFlatAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (15)
14if (Control.Appearance == Appearance.Button) 16ButtonPopupAdapter adapter = new(Control); 17adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 24PaintButtonBackground(e, Control.ClientRectangle, background: null); 43if (Control.Appearance == Appearance.Button) 45ButtonPopupAdapter adapter = new(Control); 46adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 53PaintButtonBackground(e, Control.ClientRectangle, background: null); 68if (Control.Appearance == Appearance.Button) 70ButtonPopupAdapter adapter = new(Control); 71adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 78PaintButtonBackground(e, Control.ClientRectangle, background: null); 90protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonPopupAdapter(Control); 96if (!Control.MouseIsDown && !Control.MouseIsOver)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (9)
12if (Control.Appearance == Appearance.Button) 14ButtonAdapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 20PaintButtonBackground(e, Control.ClientRectangle, background: null); 31if (Control.Appearance == Appearance.Button) 33ButtonAdapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 43if (Control.Appearance == Appearance.Button) 45ButtonAdapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 55protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonStandardAdapter(Control); 65ButtonBase b = Control;