예제 #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;
        }
예제 #2
0
        public FileController(ICloudStoreService cloudStoreClient, CryptionController cryptionController)
        {
            this.proxy = cloudStoreClient;

            this.cryptionController = cryptionController;
        }