void ShowLogin(NSObject sender) { var sheet = new LoginSheetController(); sheet.LoginRequested += (userID, password) => { Console.WriteLine("User ID: {0}, Password: {1}", userID, password); }; sheet.ShowSheet(this); }
void ShowLogin (NSObject sender) { var sheet = new LoginSheetController (); sheet.LoginRequested += (userID, password) => { Console.WriteLine("User ID: {0}, Password: {1}", userID, password); }; sheet.ShowSheet (this); }