コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: brian41005/EzPaint
 //
 public MainPage()
 {
     this.InitializeComponent();
     _model                = new Model();
     _presentationModel    = new PresentationModel(_model, _canvas);
     _model._modelChange  += RefreshUI;
     _undoButton.IsEnabled = false;
     _redoButton.IsEnabled = false;
     _winAppForm.UpdateLayout();
     _service = new GoogleDriveServiceForApp(APPLICATION_NAME, CLIENT_SECRET_FILE_NAME);
 }
コード例 #2
0
 // prepare service
 public void PrepareService()
 {
     _service = new GoogleDriveServiceForApp(APPLICATION_NAME, CLIENT_SECRET_FILE_NAME);
     GetFileFromDrive();
 }