/// 이 섹션에서 제공되는 메서드는 NavigationHelper에서 /// 페이지의 탐색 메서드에 응답하기 위해 사용됩니다. /// /// 페이지별 논리는 다음에 대한 이벤트 처리기에 있어야 합니다. /// <see cref="GridCS.Common.NavigationHelper.LoadState"/> /// 및 <see cref="GridCS.Common.NavigationHelper.SaveState"/>입니다. /// 탐색 매개 변수는 LoadState 메서드 /// 및 이전 세션 동안 유지된 페이지 상태에서 사용할 수 있습니다. protected override void OnNavigatedTo(NavigationEventArgs e) { this.NavigationHelper.OnNavigatedTo(e); SpotViewItem spotViewItem = e.Parameter as SpotViewItem; this.CurrentSpot = App.SpotManager.GetSpotObject(spotViewItem.SpotId); this.SetPinPage(AppResources.Loading); // TODO Wait signin and change cloud mode combobox name }
/// 이 섹션에서 제공되는 메서드는 NavigationHelper에서 /// 페이지의 탐색 메서드에 응답하기 위해 사용됩니다. /// /// 페이지별 논리는 다음에 대한 이벤트 처리기에 있어야 합니다. /// <see cref="GridCS.Common.NavigationHelper.LoadState"/> /// 및 <see cref="GridCS.Common.NavigationHelper.SaveState"/>입니다. /// 탐색 매개 변수는 LoadState 메서드 /// 및 이전 세션 동안 유지된 페이지 상태에서 사용할 수 있습니다. protected override void OnNavigatedTo(NavigationEventArgs e) { this.NavigationHelper.OnNavigatedTo(e); // Get Parameter. SpotViewItem spotViewItem = e.Parameter as SpotViewItem; this.CurrentSpot = App.SpotManager.GetSpotObject(spotViewItem.SpotId); // Set this pick page. this.SetPickPage(AppResources.Loading); }
/// 이 섹션에서 제공되는 메서드는 NavigationHelper에서 /// 페이지의 탐색 메서드에 응답하기 위해 사용됩니다. /// /// 페이지별 논리는 다음에 대한 이벤트 처리기에 있어야 합니다. /// <see cref="GridCS.Common.NavigationHelper.LoadState"/> /// 및 <see cref="GridCS.Common.NavigationHelper.SaveState"/>입니다. /// 탐색 매개 변수는 LoadState 메서드 /// 및 이전 세션 동안 유지된 페이지 상태에서 사용할 수 있습니다. protected override void OnNavigatedTo(NavigationEventArgs e) { this.NavigationHelper.OnNavigatedTo(e); // Get Parameter this.CurrentSpotViewItem = e.Parameter as SpotViewItem; // Set this explorer page. uiSpotNameText.Text = this.CurrentSpotViewItem.SpotName; uiAccountNameText.Text = this.CurrentSpotViewItem.AccountName; Switcher.SetStorageTo(Switcher.GetMainStorage().GetStorageName()); this.CurrentSpot = App.SpotManager.GetSpotObject(this.CurrentSpotViewItem.SpotId); uiExplorerList.SelectedIndex = EventHelper.PICK_PIVOT; this.SetPickPivot(AppResources.Loading); this.SetPinPivot(AppResources.Loading); }
private void uiSpotGridView_ItemClick(object sender, Windows.UI.Xaml.Controls.ItemClickEventArgs e) { // Get Selected Spot View Item SpotViewItem spotViewItem = e.ClickedItem as SpotViewItem; //if (spotViewItem.IsPrivateImage.Equals(FileObjectViewModel.IS_PRIVATE_IMAGE_URI)) //{ // SubmitSpotPasswordPopup submitSpotPasswordPopup = // new SubmitSpotPasswordPopup(this.SubmitSpotPasswordParentPopup, spotViewItem.SpotId, spotViewItem.SpotPassword, // uiPickPivot.ActualWidth, uiPickPivot.ActualHeight, uiPivotTitleGrid.ActualHeight); // this.SubmitSpotPasswordParentPopup.Child = submitSpotPasswordPopup; // this.SubmitSpotPasswordParentPopup.IsOpen = true; // this.SubmitSpotPasswordParentPopup.Closed += (senderObject, args) => // { // if (((SubmitSpotPasswordPopup)((Popup)senderObject).Child).result) // this.NavigateToFileListPage(spotViewItem); // }; //} //else //{ // this.NavigateToFileListPage(spotViewItem); //} this.Frame.Navigate(typeof(ExplorerPage), spotViewItem); }