コード例 #1
0
ファイル: AddRecordViewModel.cs プロジェクト: jebuth/moneylog
        public AddRecordViewModel(SheetsAPI _GoogleSheetsService)
        {
            GoogleSheetsService = _GoogleSheetsService;

            AvailableSheets = GoogleSheetsService.AvailableSheets;
            Categories      = GoogleSheetsService.GetCategories();


            SelectedSheet = AvailableSheets[0];
        }
コード例 #2
0
ファイル: AddRecord.xaml.cs プロジェクト: jebuth/moneylog
 public AddRecord(SheetsAPI _GoogleSheetsService)
 {
     BindingContext = new AddRecordViewModel(_GoogleSheetsService);
     InitializeComponent();
 }