public ConnectDropboxUIController(PreferenceForm pform, LoadDropboxUIController uictrlLoadDropbox) : base(pform) { this.uictrlLoadDropbox = uictrlLoadDropbox; this.procDropboxSetup = null; }
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(); }
public UnlinkDropboxUIController(PreferenceForm pform, LoadDropboxUIController uictrlLoadDropbox) : base(pform) { this.uictrlLoadDropbox = uictrlLoadDropbox; }