public FormAuthenticatorController(FormAuthenticator authenticator) : base(UITableViewStyle.Grouped) { this.authenticator = authenticator; Title = authenticator.Title; TableView.DataSource = new FormDataSource(this); TableView.Delegate = new FormDelegate(this); NavigationItem.LeftBarButtonItem = new UIBarButtonItem( UIBarButtonSystemItem.Cancel, delegate { StopProgress(); authenticator.OnCancelled(); }); }
public FormAuthenticatorController (FormAuthenticator authenticator) : base (UITableViewStyle.Grouped) { this.authenticator = authenticator; Title = authenticator.Title; TableView.DataSource = new FormDataSource (this); TableView.Delegate = new FormDelegate (this); NavigationItem.LeftBarButtonItem = new UIBarButtonItem ( UIBarButtonSystemItem.Cancel, delegate { StopProgress (); authenticator.OnCancelled (); }); }