Exemplo n.º 1
0
        public FileForm(ICloudStoreService cloudStoreClient, UserController userController)
        {
            this.userController = userController;
            CryptionController cryptionController = new CryptionController(userController.RemoteUserInfo);

            this.fileController = new FileController(cloudStoreClient, cryptionController);
            InitializeComponent();

            dataGridViewFiles.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
        }
Exemplo n.º 2
0
        public FileController(ICloudStoreService cloudStoreClient, CryptionController cryptionController)
        {
            this.proxy = cloudStoreClient;

            this.cryptionController = cryptionController;
        }