BlackBerry.Dialog.Alert C# (CSharp) Method

Alert() public static method

public static Alert ( string title, string message ) : void
title string
message string
return void
        public static void Alert(string title, string message, params Button[] buttons)
        {
            using (var a = new Dialog (title, message)) {
                foreach (var b in buttons) {
                    a.AddButton (b);
                }
                a.Show ();
                HandleEvent (PlatformServices.NextDomainEvent (eventDomain));
            }
        }