2 implementations of IButtonControl
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Button.cs (1)
37
public class Button : ButtonBase,
IButtonControl
{
winforms\Managed\System\WinForms\LinkLabel.cs (1)
43
public class LinkLabel : Label,
IButtonControl
{
24 references to IButtonControl
System.Windows.Forms (24)
winforms\Managed\System\WinForms\ButtonBase.cs (2)
1273
if (this is
IButtonControl
) {
1274
((
IButtonControl
)this).PerformClick();
winforms\Managed\System\WinForms\Control.cs (5)
15692
if (this is
IButtonControl
) {
17539
IButtonControl
ibuttonControl = control as
IButtonControl
;
18188
if (control is
IButtonControl
&& GetAmbientProperty(NativeMethods.ActiveX.DISPID_AMBIENT_UIDEAD, ref obj)) {
18189
((
IButtonControl
)control).NotifyDefault((bool)obj);
winforms\Managed\System\WinForms\Form.cs (12)
346
public
IButtonControl
AcceptButton {
348
return (
IButtonControl
)Properties.GetObject(PropAcceptButton);
922
public
IButtonControl
CancelButton {
924
return (
IButtonControl
)Properties.GetObject(PropCancelButton);
5318
IButtonControl
button;
5322
button = (
IButtonControl
)Properties.GetObject(PropDefaultButton);
5332
button = (
IButtonControl
)Properties.GetObject(PropCancelButton);
6010
private void SetDefaultButton(
IButtonControl
button) {
6011
IButtonControl
defaultButton = (
IButtonControl
)Properties.GetObject(PropDefaultButton);
6413
if (cc.ActiveControl is
IButtonControl
)
6415
SetDefaultButton((
IButtonControl
) cc.ActiveControl);
winforms\Managed\System\WinForms\LinkLabel.cs (3)
869
DialogResult
IButtonControl
.DialogResult {
887
void
IButtonControl
.NotifyDefault(bool value) {
1512
void
IButtonControl
.PerformClick() {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
98
new public
IButtonControl
AcceptButton {
233
new public
IButtonControl
CancelButton {