http://bugzilla.novell.com/show_bug.cgi?id=589825

http://bugzilla.novell.com/show_bug.cgi?id=589825#c1


--- Comment #1 from Rick Gross <[email protected]> 2010-03-19 18:35:58 UTC ---
Here is the code I think is causing the problem:

                using(var alert = new UIAlertView("Schedule Updates", "Do you
want to download?", new CallAlert (this), "No", "Yes"))
                {
                    alert.Show();    
                }

        public class CallAlert : UIAlertViewDelegate
        {
            private AppDelegate _appd;
            public CallAlert (AppDelegate appd)
            {
                Debug.WriteLine("CallAlert enter");
                _appd = appd;
            }
            public override void Clicked (UIAlertView alertview, int
buttonIndex)
            {
                Debug.WriteLine("Clicked enter");
                AppDelegate appDelegate = (AppDelegate)
UIApplication.SharedApplication.Delegate;
                if (buttonIndex == 1)
                {
                    appDelegate.copyFile.SyncData("day");
                } 
            }
        }

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to