Offline errors fix
This commit is contained in:
@@ -3,6 +3,7 @@ using System;
|
||||
using System.Diagnostics;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.ApplicationModel.Core;
|
||||
using Windows.UI;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
@@ -11,13 +12,18 @@ using Windows.UI.Xaml.Media;
|
||||
|
||||
namespace FoxTube
|
||||
{
|
||||
class Methods
|
||||
public static class Methods
|
||||
{
|
||||
public static MainPage MainPage
|
||||
{
|
||||
get { return (Window.Current.Content as Frame).Content as MainPage; }
|
||||
}
|
||||
|
||||
public static void CloseApp()
|
||||
{
|
||||
CoreApplication.Exit();
|
||||
}
|
||||
|
||||
public static string GetAgo(DateTime dateTime)
|
||||
{
|
||||
TimeSpan span = DateTime.Now - dateTime;
|
||||
|
||||
Reference in New Issue
Block a user