public override bool Click() { NSControl control = ResultObject as NSControl; if (control == null) { return(false); } control.PerformClick(null); return(true); }
public override bool Click() { NSControl control = ResultObject as NSControl; if (control == null) { return(false); } using (var nsObj = new NSObject()) control.PerformClick(nsObj); return(true); }