添加项目文件。

This commit is contained in:
杨皓
2020-04-03 11:55:02 +08:00
parent f8a6829e30
commit d4e7a559f2
178 changed files with 20595 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
using Xamarin.Forms;
using XXCpzs.Models;
using XXCpzs.Views;
namespace XXCpzs.ViewModels
{
class MainViewModel : BaseViewModel
{
public Command LoadItemsCommand { get; set; }
public AuthorizeItem Authorize { get; set; }
string company = string.Empty;
public string CompanyName
{
set
{
if (company != value)
{
company = value;
RaisePropertyChanged();
}
}
get { return company; }
//set { SetProperty(ref company, value); }
}
string department = string.Empty;
public string Department
{
get { return department; }
set
{
if (department != value)
{
department = value;
OnPropertyChanged(nameof(Department));
//PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Department)));
//RaisePropertyChanged();
}
}
}
string userName = string.Empty;
private UserInfo userInfo;
public string UserName
{
get { return userName; }
set
{
if (userName != value)
{
userName = value;
RaisePropertyChanged();
}
}
}
public MainViewModel()
{
Title = "产品追溯";
}
}
}