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)
14if (Control.Appearance == Appearance.Button) 16ButtonFlatAdapter adapter = new(Control); 17adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 22if (Control.Enabled) 34if (Control.Appearance == Appearance.Button) 36ButtonFlatAdapter adapter = new(Control); 37adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 42if (Control.Enabled) 54if (Control.Appearance == Appearance.Button) 56ButtonFlatAdapter adapter = new(Control); 57adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 62if (Control.Enabled) 75PaintButtonBackground(e, Control.ClientRectangle, background: null); 83protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonFlatAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (15)
12if (Control.Appearance == Appearance.Button) 14ButtonPopupAdapter adapter = new(Control); 15adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 22PaintButtonBackground(e, Control.ClientRectangle, background: null); 41if (Control.Appearance == Appearance.Button) 43ButtonPopupAdapter adapter = new(Control); 44adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 51PaintButtonBackground(e, Control.ClientRectangle, background: null); 66if (Control.Appearance == Appearance.Button) 68ButtonPopupAdapter adapter = new(Control); 69adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 76PaintButtonBackground(e, Control.ClientRectangle, background: null); 88protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonPopupAdapter(Control); 94if (!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;