public EditarLivro()
 {
     this.InitializeComponent();
     this.Loaded += EditarLivro_Loaded;
     navigationHelper = new NavigationHelper(this);
     livro = new Livro();
 }
 public TripListView()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
 public EditarCategoria()
 {
     this.InitializeComponent();
     this.Loaded += EditarCategoria_Loaded;
     navigationHelper = new NavigationHelper(this);
     categoria = new Categoria();
 }
 public Setting()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     //set Language list
     this.cmbLanguage.Items.Add("中文(中华人民共和国)");
     this.cmbLanguage.Items.Add("English(United States)");
     string strLanguage = Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride;
     if (strLanguage == string.Empty)
         Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = Windows.Globalization.ApplicationLanguages.Languages[0];
     this.currentLanguage = strLanguage;
     if (strLanguage == "zh-Hans-CN")
     {
         this.cmbLanguage.SelectedIndex = 0;
     }
     else
     {
         this.cmbLanguage.SelectedIndex = 1;
     }
 }
 public MainPage()
 {
     this.InitializeComponent();
     this.Loaded += MainPage_Loaded;
     navigationHelper = new NavigationHelper(this);
 }
 public DetalheLivro()
 {
     this.InitializeComponent();
     this.Loaded += DetalheLivro_Loaded;
     navigationHelper = new NavigationHelper(this);
 }