Exemple #1
0
        void ShowLogin(NSObject sender)
        {
            var sheet = new LoginSheetController();

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