Exemple #1
0
 public ConnectDropboxUIController(PreferenceForm pform,
                                   LoadDropboxUIController uictrlLoadDropbox)
     : base(pform)
 {
     this.uictrlLoadDropbox = uictrlLoadDropbox;
     this.procDropboxSetup  = null;
 }
Exemple #2
0
        public PreferenceForm(MainForm mainform)
        {
            this.mainform       = mainform;
            this.loadingActions = 0;

            m_stationToken = StationCollection.Instance.FindOne().SessionToken;
            m_driver       = DriverCollection.Instance.FindOne();

            messenger = new Messenger(this);

            uictrlGetStationStatus             = new GetStationStatusUIController(this);
            uictrlGetStationStatus.UICallback += this.GetStationStatusUICallback;
            uictrlGetStationStatus.UIError    += this.GetStationStatusUIError;

            uictrlLoadDropbox             = new LoadDropboxUIController(this);
            uictrlLoadDropbox.UICallback += this.LoadDropboxUICallback;
            uictrlLoadDropbox.UIError    += this.LoadDropboxUIError;

            uictrlLoadStorageUsage             = new LoadStorageUsageUIController(this);
            uictrlLoadStorageUsage.UICallback += this.LoadStorageUsageUICallback;
            uictrlLoadStorageUsage.UIError    += this.LoadStorageUsageUIError;

            uictrlConnectDropbox             = new ConnectDropboxUIController(this, uictrlLoadDropbox);
            uictrlConnectDropbox.UICallback += this.ConnectDropboxUICallback;
            uictrlConnectDropbox.UIError    += this.ConnectDropboxUIError;

            uictrlUnlinkDropbox             = new UnlinkDropboxUIController(this, uictrlLoadDropbox);
            uictrlUnlinkDropbox.UICallback += this.UnlinkDropboxUICallback;
            uictrlUnlinkDropbox.UIError    += this.UnlinkDropboxUIError;

            uictrlTestConnection             = new TestConnectionUIController(this);
            uictrlTestConnection.UICallback += this.TestConnectionUICallback;
            uictrlTestConnection.UIError    += this.TestConnectionUIError;

            InitializeComponent();
        }
Exemple #3
0
 public UnlinkDropboxUIController(PreferenceForm pform,
                                  LoadDropboxUIController uictrlLoadDropbox)
     : base(pform)
 {
     this.uictrlLoadDropbox = uictrlLoadDropbox;
 }