Subversion Repository Public Repository

Nextrek

Diff Revisions 798 vs 799 for /Android/SmartCharging/SmartCharging_WP/SmartCharging/IntroPage.xaml.cs

Diff revisions: vs.
  @@ -58,8 +58,7 @@
58 58 this.items = new List<IntroItem>();
59 59 items.Add(new IntroItem("Benvenuto su SmartCharging", "Assets/intro1.jpg"));
60 60 items.Add(new IntroItem("Mai scarico con SmartCharging", "Assets/intro2.jpg"));
61 - items.Add(new IntroItem("Siete fuori casa e vi si sta scaricando il telefono", "Assets/intro3.jpg"));
62 - items.Add(new IntroItem("Siete fuori casa e vi si sta scaricando il telefono", "Assets/intro4.jpg"));
61 + items.Add(new IntroItem("Se siete fuori casa e vi si sta scaricando il telefono", "Assets/intro4.jpg"));
63 62 items.Add(new IntroItem("SmartCharging non ti abbandona mai!", "Assets/intro5.jpg"));
64 63 this.IntroFlipView.ItemsSource = this.items;
65 64
  @@ -154,7 +153,7 @@
154 153 private void IntroFlipView_ManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e)
155 154 {
156 155 Point currentPoint = e.Position;
157 - if (this.IntroFlipView.SelectedIndex==4 && currentPoint.X - initialPoint.X >= 100)
156 + if (this.IntroFlipView.SelectedIndex==3 && currentPoint.X - initialPoint.X >= 100)
158 157 {
159 158 this.Frame.Navigate(typeof(LoginPage), null);
160 159
  @@ -171,16 +170,36 @@
171 170
172 171 private void IntroFlipView_Tapped(object sender, TappedRoutedEventArgs e)
173 172 {
174 - if (this.IntroFlipView.SelectedIndex == 4)
173 +
174 + }
175 +
176 + private void IntroFlipView_PointerPressed(object sender, PointerRoutedEventArgs e)
177 + {
178 +
179 + }
180 +
181 + private void IntroFlipView_ManipulationStarted_1(object sender, ManipulationStartedRoutedEventArgs e)
182 + {
183 +
184 + }
185 +
186 + private void IntroFlipView_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e)
187 + {
188 +
189 + }
190 +
191 + private void IntroFlipView_PointerEntered(object sender, PointerRoutedEventArgs e)
192 + {
193 + if (this.IntroFlipView.SelectedIndex == 3)
175 194 {
176 -
177 195
178 - var aw = Dispatcher.RunAsync(CoreDispatcherPriority.Normal,
179 - () => this.Frame.Navigate(typeof(LoginPage)));
180 196
181 - e.Handled = true;
182 -
183 -
197 + var aw = Dispatcher.RunAsync(CoreDispatcherPriority.Normal,
198 + () => this.Frame.Navigate(typeof(LoginPage)));
199 +
200 + e.Handled = true;
201 +
202 +
184 203 }
185 204 }
186 205