64 lines
1.5 KiB
C#
64 lines
1.5 KiB
C#
using FoxTube.Controls;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices.WindowsRuntime;
|
|
using Windows.Foundation;
|
|
using Windows.Foundation.Collections;
|
|
using Windows.UI.Xaml;
|
|
using Windows.UI.Xaml.Controls;
|
|
using Windows.UI.Xaml.Controls.Primitives;
|
|
using Windows.UI.Xaml.Data;
|
|
using Windows.UI.Xaml.Input;
|
|
using Windows.UI.Xaml.Media;
|
|
using Windows.UI.Xaml.Navigation;
|
|
|
|
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
|
|
|
namespace FoxTube.Pages
|
|
{
|
|
/// <summary>
|
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
|
/// </summary>
|
|
public sealed partial class History : Page
|
|
{
|
|
LoadingPage loading;
|
|
ShowMore more;
|
|
VideoGrid list;
|
|
|
|
public History()
|
|
{
|
|
this.InitializeComponent();
|
|
loading = grid.Children[2] as LoadingPage;
|
|
more = stack.Children[1] as ShowMore;
|
|
list = stack.Children[0] as VideoGrid;
|
|
Initialize();
|
|
}
|
|
|
|
public void Initialize()
|
|
{
|
|
loading.Refresh();
|
|
|
|
more.Complete(true);
|
|
|
|
loading.Block();
|
|
}
|
|
|
|
private void ShowMore_Clicked()
|
|
{
|
|
|
|
}
|
|
|
|
private void toBrowser_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void refresh_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|