p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Professional Windows 8 Programming: Application Development with C# and XAML (http://p2p.wrox.com/book-professional-windows-8-programming-application-development-c-xaml-703/)
-   -   Chapter 11 Question (http://p2p.wrox.com/book-professional-windows-8-programming-application-development-c-xaml/90084-chapter-11-question.html)

Aldoreeq May 19th, 2013 10:25 AM

Chapter 11 Question
 
Hello,

Great book! I have one question about chapter 11 Windows Store API. I would like to use this code from the chapter:
Code:

#if !RELEASE
using CurrentAppStore = Windows.ApplicationModel.Store.CurrentAppSimulator;
#else using CurrentAppStore = Windows.ApplicationModel.Store.CurrentApp;
#endif

My question is: Where would I place this code? I look at the chapter example I did not see it being used. I thinking in the App.CS file, but not sure. I am new at all this but still learning.

Thanks for the help,

John


All times are GMT -4. The time now is 07:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.