Paint.AppDelegate.WillEnterForeground C# (CSharp) Method