Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release WP 2.1 #11

Merged
merged 217 commits into from
May 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
2a87e69
initial mvvmcross
sbokatuk Mar 31, 2015
56f0065
test
Yauhen-Sampir-Epam Mar 31, 2015
ee81c6c
test2
Yauhen-Sampir-Epam Mar 31, 2015
8b858ae
Merge pull request #2 from fryette/getitwork
fryette Mar 31, 2015
67d13d3
add MainView
Yauhen-Sampir-Epam Mar 31, 2015
5378053
implement MainView
Yauhen-Sampir-Epam Apr 1, 2015
a5d5f7f
small fixes
Yauhen-Sampir-Epam Apr 1, 2015
1c4edb2
implemented ItemView and ItemViewModel
Yauhen-Sampir-Epam Apr 1, 2015
99c123b
add all commands for MainView
Yauhen-Sampir-Epam Apr 1, 2015
82497fc
add all views references on MainView
Yauhen-Sampir-Epam Apr 1, 2015
550cfb3
fix [name]View.cs
Yauhen-Sampir-Epam Apr 1, 2015
0fde640
fix [name]view.cs
Yauhen-Sampir-Epam Apr 1, 2015
4027120
add commands to ItemView
Yauhen-Sampir-Epam Apr 1, 2015
d4ce6af
add action for BackButton
Yauhen-Sampir-Epam Apr 1, 2015
3e77796
clear views .cs
Yauhen-Sampir-Epam Apr 1, 2015
8e7313f
refactoring
Yauhen-Sampir-Epam Apr 1, 2015
bee66a2
add implementation for HelpView
Yauhen-Sampir-Epam Apr 1, 2015
cfc8edd
implement ScheduleView
Yauhen-Sampir-Epam Apr 1, 2015
674340b
add implementation for ScheduleView
Yauhen-Sampir-Epam Apr 1, 2015
f2d46d4
fixed android project & added mainView
wcoder Apr 2, 2015
1e87ccd
added mvvmcross userInteraction plugin
wcoder Apr 2, 2015
9d2d40d
added mvvmcross network plugin
wcoder Apr 2, 2015
4d0398c
added async implementation of HttpService & example service
wcoder Apr 2, 2015
6fc9c97
added basic views for android
wcoder Apr 2, 2015
4fc8bc5
Merge pull request #4 from fryette/droidViews
wcoder Apr 2, 2015
ef792dd
move AppServices
Yauhen-Sampir-Epam Apr 2, 2015
38cfd07
replace savedItems to AppSettings in MainViewModel
Yauhen-Sampir-Epam Apr 2, 2015
5f69375
implemention EditFavoriteViewModel
Yauhen-Sampir-Epam Apr 2, 2015
253746e
add Commands for EditFavoriteModel
Yauhen-Sampir-Epam Apr 2, 2015
6e2df6b
Implementation InformationViewModel
Yauhen-Sampir-Epam Apr 2, 2015
a67061c
add StopPointViewModel
Yauhen-Sampir-Epam Apr 2, 2015
fa79133
fix sending parameter
Yauhen-Sampir-Epam Apr 2, 2015
98fa7ca
add actions
Yauhen-Sampir-Epam Apr 2, 2015
db26c50
refactoring
Yauhen-Sampir-Epam Apr 2, 2015
f16521d
add app services sample loaded with parsing
sbokatuk Apr 2, 2015
25559d4
add new JSON Serializer
Yauhen-Sampir-Epam Apr 2, 2015
a77daa5
example of messaging usage
sbokatuk Apr 2, 2015
c0de4b3
Merge branch 'ServicesPost' into mvvmcross
sbokatuk Apr 2, 2015
ad431bc
fix build
sbokatuk Apr 2, 2015
3cacb19
fix packages
sbokatuk Apr 2, 2015
0633a95
remove the dependency on SavedItems
Yauhen-Sampir-Epam Apr 3, 2015
b89ff24
Add implementation for IUserInteraction
Yauhen-Sampir-Epam Apr 3, 2015
7c17a0f
rename some models
Yauhen-Sampir-Epam Apr 3, 2015
fdb47a5
fix setters
Yauhen-Sampir-Epam Apr 3, 2015
3f80808
fix HelpView
Yauhen-Sampir-Epam Apr 3, 2015
1ff4ae7
fix HelpViewModel DataLoading
Yauhen-Sampir-Epam Apr 3, 2015
a51f654
delete ToolHelper in WP
Yauhen-Sampir-Epam Apr 3, 2015
a284e32
add commands to ItemView
Yauhen-Sampir-Epam Apr 3, 2015
9b2b7f1
rename ItemView to SearchView
Yauhen-Sampir-Epam Apr 3, 2015
19c9e35
fix ClearCommand
Yauhen-Sampir-Epam Apr 3, 2015
d0be3c9
fix feature UpdateLastRequest
Yauhen-Sampir-Epam Apr 3, 2015
5784e26
fix view
Yauhen-Sampir-Epam Apr 3, 2015
4baf122
fix bug
Yauhen-Sampir-Epam Apr 3, 2015
68105fc
fix InformationView
Yauhen-Sampir-Epam Apr 3, 2015
0f6d48e
add commands
Yauhen-Sampir-Epam Apr 3, 2015
87999c7
fix ScheduleViewModel
Yauhen-Sampir-Epam Apr 3, 2015
3f98a99
fix dependences
Yauhen-Sampir-Epam Apr 3, 2015
3b8fcb7
fix send parameter
Yauhen-Sampir-Epam Apr 3, 2015
e190aee
delete obsolete code
Yauhen-Sampir-Epam Apr 3, 2015
e804547
delete dependences to Serialize
Yauhen-Sampir-Epam Apr 3, 2015
999d6c7
fix TrainStopView(implementation)
Yauhen-Sampir-Epam Apr 3, 2015
7191853
fix Dependences
Yauhen-Sampir-Epam Apr 6, 2015
7998edd
move constants to Resource
Yauhen-Sampir-Epam Apr 6, 2015
bc5f13c
fix names
Yauhen-Sampir-Epam Apr 6, 2015
21aa115
fix acess
Yauhen-Sampir-Epam Apr 6, 2015
7abac8c
delete obsolete files
Yauhen-Sampir-Epam Apr 6, 2015
6b0175c
fix serialize LastRequests
Yauhen-Sampir-Epam Apr 6, 2015
f79fc11
cleen project
Yauhen-Sampir-Epam Apr 6, 2015
d239960
clean project
Yauhen-Sampir-Epam Apr 6, 2015
4881918
fix train grabber
Yauhen-Sampir-Epam Apr 6, 2015
52f43cb
fix constants
Yauhen-Sampir-Epam Apr 6, 2015
291502a
add ResourceManager
Yauhen-Sampir-Epam Apr 6, 2015
b9b6682
fix resources
Yauhen-Sampir-Epam Apr 6, 2015
d05f74c
[*] ISerializableService moved in the infrastructure
wcoder Apr 7, 2015
1380ec0
[*] removed old code
wcoder Apr 7, 2015
8a26986
[*] implemented serializeService for android
wcoder Apr 7, 2015
f0bc9ef
[*] json datamodels moved in resources
wcoder Apr 7, 2015
932ee49
[!] added using for wp
wcoder Apr 7, 2015
ab9f8a7
delete obsolete files
Yauhen-Sampir-Epam Apr 7, 2015
7c98783
delete dependence to StartService
Yauhen-Sampir-Epam Apr 7, 2015
d51929a
move IHttpService to Services
Yauhen-Sampir-Epam Apr 7, 2015
a98ee3b
move ISerializableService to Services
Yauhen-Sampir-Epam Apr 7, 2015
1d45f56
rename usings
Yauhen-Sampir-Epam Apr 7, 2015
679d704
fix bug with download LastRequests
Yauhen-Sampir-Epam Apr 7, 2015
965673b
fix logic in search method
Yauhen-Sampir-Epam Apr 7, 2015
738c703
delete obsolete Constants
Yauhen-Sampir-Epam Apr 7, 2015
0538109
fix request
Yauhen-Sampir-Epam Apr 7, 2015
74eff7b
[*] moved classes
wcoder Apr 7, 2015
16a7640
[*] fixed namespaces
wcoder Apr 7, 2015
85f5e20
[*] fixed namespaces in droid
wcoder Apr 7, 2015
cab4e66
[-] removed infrastructure project
wcoder Apr 7, 2015
99338e9
[*] fix nuget
wcoder Apr 7, 2015
33f48b2
Merge pull request #6 from fryette/refactoring
wcoder Apr 7, 2015
79b1676
fix Search Request
Yauhen-Sampir-Epam Apr 7, 2015
16ca91f
fix SearchService
Yauhen-Sampir-Epam Apr 7, 2015
7c4e6b2
fix emages in TrainGrabber
Yauhen-Sampir-Epam Apr 7, 2015
78d3bbb
delete obsolete resources
Yauhen-Sampir-Epam Apr 8, 2015
800b9c8
fix Search Method
Yauhen-Sampir-Epam Apr 8, 2015
6208979
fix TrainGrabber
Yauhen-Sampir-Epam Apr 8, 2015
555b968
change ResourceLoader
Yauhen-Sampir-Epam Apr 8, 2015
a90f248
fix TrainGrabber
Yauhen-Sampir-Epam Apr 8, 2015
bf08c88
fix ResourcesLoad
Yauhen-Sampir-Epam Apr 8, 2015
7c8bc64
fix views
Yauhen-Sampir-Epam Apr 8, 2015
9caa447
[+][android] added searchView
wcoder Apr 8, 2015
2a7c882
Merge pull request #7 from fryette/droidViews
wcoder Apr 8, 2015
348cdf0
add deep-link
Yauhen-Sampir-Epam Apr 8, 2015
26fb670
add override OnActivate
Yauhen-Sampir-Epam Apr 8, 2015
29dc498
fix search request(fix bug when app is down)
Yauhen-Sampir-Epam Apr 9, 2015
bdd7e9b
add new exception(TrainsNotFound) in resources
Yauhen-Sampir-Epam Apr 9, 2015
0fd297f
Add Email Sending
Yauhen-Sampir-Epam Apr 9, 2015
b9b45d4
fix Search
Yauhen-Sampir-Epam Apr 9, 2015
c68ef35
[*][android] added datePicker
wcoder Apr 9, 2015
bdb78d2
[*][android] the binding date value and datepicker
wcoder Apr 9, 2015
34ef2c4
Merge pull request #8 from fryette/droidViews
wcoder Apr 9, 2015
23b6afd
Add new model/fix logic
Yauhen-Sampir-Epam Apr 9, 2015
90fe6bd
fix Background to Time square
Yauhen-Sampir-Epam Apr 9, 2015
3c9bd6a
new mainview style
sbokatuk Apr 10, 2015
ba5fda3
refactor mainview
sbokatuk Apr 10, 2015
41cd15f
fix placement
sbokatuk Apr 10, 2015
7810e9c
[*][android] added select variant of search
wcoder Apr 10, 2015
f8b7825
[-] removed nuget from projects
wcoder Apr 10, 2015
8d48599
Merge pull request #9 from fryette/droidViews
wcoder Apr 10, 2015
7b803c1
[*][android] added auto-completion for from/to text fields
wcoder Apr 10, 2015
d06bbc1
Merge pull request #10 from fryette/droidViews
wcoder Apr 10, 2015
1b3f8c2
fix AutoCompletion
Yauhen-Sampir-Epam Apr 10, 2015
efc9821
add BaseSearchViewModel
Yauhen-Sampir-Epam Apr 10, 2015
f4cd7d4
refactoring MainView
Yauhen-Sampir-Epam Apr 10, 2015
7ef9895
fix search variant
Yauhen-Sampir-Epam Apr 10, 2015
660ebe6
fix bug(app down)
Yauhen-Sampir-Epam Apr 13, 2015
2d6f594
add InternetRegistration(information)
Yauhen-Sampir-Epam Apr 13, 2015
fdbaa50
refactoring
Yauhen-Sampir-Epam Apr 13, 2015
4d15845
delete some constants
Yauhen-Sampir-Epam Apr 13, 2015
bbe057c
fix LoadData
Yauhen-Sampir-Epam Apr 13, 2015
4383f8a
add CarriageModel
Yauhen-Sampir-Epam Apr 13, 2015
c6bd68a
add CarriageModel(Implementation in WP)
Yauhen-Sampir-Epam Apr 13, 2015
897f7c3
optimization pictures
Yauhen-Sampir-Epam Apr 13, 2015
098a779
optimization code(delete some models)
Yauhen-Sampir-Epam Apr 13, 2015
64f7558
delete GoToNewsCommand
Yauhen-Sampir-Epam Apr 14, 2015
31e5616
Add MarketPlaceInterface(and WP implementation)
Yauhen-Sampir-Epam Apr 14, 2015
9a61a06
fix About page in MainView
Yauhen-Sampir-Epam Apr 14, 2015
9180822
fix About in MainViewModel
Yauhen-Sampir-Epam Apr 14, 2015
a0a6dab
fix names
Yauhen-Sampir-Epam Apr 14, 2015
154d801
fix bug with SelectedFavorite
Yauhen-Sampir-Epam Apr 14, 2015
c4ecbb3
fix InformationView
Yauhen-Sampir-Epam Apr 15, 2015
474bc14
fix tile in SearchView
Yauhen-Sampir-Epam Apr 15, 2015
8b8d961
fix EditFavoriteRoutesView
Yauhen-Sampir-Epam Apr 15, 2015
13b1e82
another variant of delete favorite routes
Yauhen-Sampir-Epam Apr 15, 2015
afb672f
fix EditFavoriteViewModel(Command)
Yauhen-Sampir-Epam Apr 15, 2015
a1c836d
fix Commands
Yauhen-Sampir-Epam Apr 15, 2015
5351e83
fix Search in MainViewModel
Yauhen-Sampir-Epam Apr 15, 2015
79779f0
fix variant of search
Yauhen-Sampir-Epam Apr 15, 2015
a3a9a4a
fix List
Yauhen-Sampir-Epam Apr 15, 2015
874ae59
fix StopPointView
Yauhen-Sampir-Epam Apr 15, 2015
84886fb
add check for null
Yauhen-Sampir-Epam Apr 15, 2015
0c614de
add grouping
Yauhen-Sampir-Epam Apr 16, 2015
81e49e0
clean using
fryette Apr 19, 2015
90d8139
index on mvvmcross: 0c614de add grouping
Yauhen-Sampir-Epam Apr 22, 2015
cdddd61
WIP on mvvmcross: 0c614de add grouping
Yauhen-Sampir-Epam Apr 22, 2015
e5d2c3f
Merge commit 'cdddd61454ff085734e89c44e475570a183bb4e4' into mvvmcross
Yauhen-Sampir-Epam Apr 22, 2015
e17b91c
fix some methods
Yauhen-Sampir-Epam Apr 22, 2015
45193b2
upgrading InformationViewModel
Yauhen-Sampir-Epam Apr 22, 2015
72cfc91
fix scheduleview
Yauhen-Sampir-Epam Apr 22, 2015
8611150
upgrade InformationViewModel
Yauhen-Sampir-Epam Apr 22, 2015
aee725a
upgrade MainViewModel
Yauhen-Sampir-Epam Apr 22, 2015
3cc7b29
move some logic to ScheduleViewModel
Yauhen-Sampir-Epam Apr 22, 2015
d61d060
replacement ProgressRing to ProgressBar
Yauhen-Sampir-Epam Apr 22, 2015
6ec93c6
fix NullReferenceException in converter
Yauhen-Sampir-Epam Apr 23, 2015
0507ab7
refactoring some methods
Yauhen-Sampir-Epam Apr 23, 2015
6a1ce40
fix Pivots
Yauhen-Sampir-Epam Apr 23, 2015
3dd96f7
update view Schedule
Yauhen-Sampir-Epam Apr 23, 2015
1fc433e
fix schedule template
Yauhen-Sampir-Epam Apr 23, 2015
2d156f8
add Promo Reminder
Yauhen-Sampir-Epam Apr 23, 2015
17f587c
fix AppPromo
Yauhen-Sampir-Epam Apr 23, 2015
e1e283a
add Google Analytics
Yauhen-Sampir-Epam Apr 24, 2015
d012846
fix ResourceLoader
Yauhen-Sampir-Epam Apr 25, 2015
887ad43
add localization
Yauhen-Sampir-Epam Apr 25, 2015
469ae2c
fix loading resources
Yauhen-Sampir-Epam Apr 27, 2015
f1b95cc
fix bug when language changed
Yauhen-Sampir-Epam Apr 27, 2015
2a30e6b
Add Languages(bel and rus)
Yauhen-Sampir-Epam Apr 27, 2015
b4dbfe9
add new events to send(Google Analytics)
Yauhen-Sampir-Epam Apr 27, 2015
2723374
add new resources
Yauhen-Sampir-Epam Apr 28, 2015
b6faccb
Add english lang
Yauhen-Sampir-Epam Apr 28, 2015
63bd331
fix some words in resource
Yauhen-Sampir-Epam Apr 28, 2015
fafbb45
fix resources
Yauhen-Sampir-Epam Apr 28, 2015
004bf15
fix bug(show empty schedule screen)
Yauhen-Sampir-Epam Apr 28, 2015
52e73ac
fix Constants
Yauhen-Sampir-Epam Apr 28, 2015
869b853
inject dowloading lang from site
Yauhen-Sampir-Epam Apr 29, 2015
880a5f0
fix bug with app down
Yauhen-Sampir-Epam Apr 30, 2015
b7bb819
fix TrainGrabber
fryette May 1, 2015
283068f
clean usings
fryette May 1, 2015
d6951f9
fix resources(All downloads now)
fryette May 1, 2015
0fadaca
full upgrade app(language)
fryette May 1, 2015
c55d596
fix Patterns(at now all pattern are downloads from site)
fryette May 2, 2015
af8a111
add new feature(share post in social)
fryette May 3, 2015
ee68ef3
fix downloading resources
Yauhen-Sampir-Epam May 4, 2015
95504b8
add new images(No favorite and No history)
Yauhen-Sampir-Epam May 4, 2015
5a9edcc
refactoring(fix some bugs)
Yauhen-Sampir-Epam May 4, 2015
366eed0
fix converter
Yauhen-Sampir-Epam May 4, 2015
66f5902
fix bug with pivot background
Yauhen-Sampir-Epam May 4, 2015
d1cf7c5
fix downloads resources
Yauhen-Sampir-Epam May 5, 2015
f684846
fix ScheduleView
Yauhen-Sampir-Epam May 5, 2015
210b479
add new feature(time to last updated train schedule)
Yauhen-Sampir-Epam May 5, 2015
f87cd98
fix reverse search
Yauhen-Sampir-Epam May 6, 2015
da544cd
fix language resources
Yauhen-Sampir-Epam May 6, 2015
74cb1a1
fix colors for trains
Yauhen-Sampir-Epam May 6, 2015
18e295e
fix searching on foreign country
Yauhen-Sampir-Epam May 6, 2015
7149e25
fix visual bugs
Yauhen-Sampir-Epam May 6, 2015
ee6dad6
fix some resources
Yauhen-Sampir-Epam May 6, 2015
f12154d
fix resources in ShareView
Yauhen-Sampir-Epam May 6, 2015
bf18224
fix some views
Yauhen-Sampir-Epam May 6, 2015
7016ecc
fix some views
Yauhen-Sampir-Epam May 6, 2015
3a5e3ab
some fixes
Yauhen-Sampir-Epam May 7, 2015
3698c89
fix sln
Yauhen-Sampir-Epam May 7, 2015
affc3bf
add white theme
Yauhen-Sampir-Epam May 8, 2015
dda5213
compress images
Yauhen-Sampir-Epam May 8, 2015
fbc9368
fix bug with downloading StopPoints
Yauhen-Sampir-Epam May 8, 2015
7aef822
release changes
Yauhen-Sampir-Epam May 8, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
packages/
Trains.Core.userprefs
6 changes: 6 additions & 0 deletions .nuget/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
2 changes: 1 addition & 1 deletion TrainShedule-HubVersion/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
<Style x:Key="AboutAppStyle"
TargetType="TextBlock">
<Setter Property="FontSize"
Value="{StaticResource SmallFontSize}" />
Value="{StaticResource MediumFontSize}" />
<Setter Property="Margin"
Value="0,10,0,0" />
<Setter Property="TextWrapping"
Expand Down
6 changes: 1 addition & 5 deletions TrainShedule-HubVersion/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
using Caliburn.Micro;
using Trains.App.ViewModels;
using Trains.App.Views;
using Trains.Infrastructure.Infrastructure;
using Trains.Model.Entities;
using Trains.Services.Implementations;
using Trains.Services.Interfaces;
using Language = Trains.Model.Entities.Language;
using TrainStop = Trains.Services.Implementations.TrainStop;

Expand All @@ -39,7 +35,7 @@ protected override void Configure()
MessageBinder.SpecialValues.Add("$clickeditem", c => ((ItemClickEventArgs)c.EventArgs).ClickedItem);
MessageBinder.SpecialValues.Add("$clickeditem1", c => ((PivotItemEventArgs)c.EventArgs).Item);

_container.Singleton<ILastRequestTrainService, MainService>();
_container.Singleton<ILastRequestTrainService, LastRequestTrain>();
_container.Singleton<ISearchService, Search>();
_container.Singleton<ISerializableService, Serializable>();
_container.Singleton<ITrainStopService, TrainStop>();
Expand Down
10 changes: 6 additions & 4 deletions TrainShedule-HubVersion/Common/NavigationHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using Windows.Foundation.Metadata;
using Windows.Phone.UI.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
Expand Down Expand Up @@ -51,7 +53,7 @@ namespace Trains.App.Common
/// }
/// </code>
/// </example>
[Windows.Foundation.Metadata.WebHostHidden]
[WebHostHidden]
public class NavigationHelper : DependencyObject
{
private Page Page { get; set; }
Expand All @@ -73,7 +75,7 @@ public NavigationHelper(Page page)
this.Page.Loaded += (sender, e) =>
{
#if WINDOWS_PHONE_APP
Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
HardwareButtons.BackPressed += HardwareButtons_BackPressed;
#else
// Keyboard and mouse navigation only apply when occupying the entire window
if (this.Page.ActualHeight == Window.Current.Bounds.Height &&
Expand All @@ -92,7 +94,7 @@ public NavigationHelper(Page page)
this.Page.Unloaded += (sender, e) =>
{
#if WINDOWS_PHONE_APP
Windows.Phone.UI.Input.HardwareButtons.BackPressed -= HardwareButtons_BackPressed;
HardwareButtons.BackPressed -= HardwareButtons_BackPressed;
#else
Window.Current.CoreWindow.Dispatcher.AcceleratorKeyActivated -=
CoreDispatcher_AcceleratorKeyActivated;
Expand Down Expand Up @@ -201,7 +203,7 @@ public virtual void GoForward()
/// </summary>
/// <param name="sender">Instance that triggered the event.</param>
/// <param name="e">Event data describing the conditions that led to the event.</param>
private void HardwareButtons_BackPressed(object sender, Windows.Phone.UI.Input.BackPressedEventArgs e)
private void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
{
if (this.GoBackCommand.CanExecute(null))
{
Expand Down
4 changes: 2 additions & 2 deletions TrainShedule-HubVersion/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand All @@ -27,4 +27,4 @@
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguageAttribute("ru")]
[assembly: NeutralResourcesLanguage("ru")]
Loading