Set base utilities + login page. Creation of localization resources. General project info.

This commit is contained in:
Patrick Fic
2020-01-16 11:52:06 -08:00
parent 13c4edb151
commit e34ffebf53
23 changed files with 4235 additions and 62 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Windows.Input;
namespace BodyshopUploader.ViewModels
{
public partial class LoginViewModel : BaseViewModel
{
private ICommand _testCommand;
public ICommand TestCommand
{
get
{
if (_testCommand == null)
{
_testCommand = new RelayCommand(
p => true,
p => Console.WriteLine("Hi"));
}
return _testCommand;
}
}
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BodyshopUploader.ViewModels
{
public partial class LoginViewModel : BaseViewModel
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
public LoginViewModel()
{
logger.Trace("We're in boys.");
}
}
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BodyshopUploader.ViewModels
{
public partial class LoginViewModel: BaseViewModel
{
private ObservableCollection<string> _invoiceList;
public ObservableCollection<string> InvoiceList
{
get { return _invoiceList; }
set { SetProperty(ref _invoiceList, value); }
}
private int _progress = 5;
public int Progress
{
get { return _progress; }
set { SetProperty(ref _progress, value); }
}
}
}