Set base utilities + login page. Creation of localization resources. General project info.
This commit is contained in:
24
BodyshopUploader/ViewModels/LoginViewModel.commands.cs
Normal file
24
BodyshopUploader/ViewModels/LoginViewModel.commands.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
18
BodyshopUploader/ViewModels/LoginViewModel.cs
Normal file
18
BodyshopUploader/ViewModels/LoginViewModel.cs
Normal 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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
26
BodyshopUploader/ViewModels/LoginViewModel.props.cs
Normal file
26
BodyshopUploader/ViewModels/LoginViewModel.props.cs
Normal 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); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user