예제 #1
0
        public SettingsDialog(UserProvider.UserDTO loggedUser)
        {
            InitializeComponent();
            this.loggedUser = loggedUser;
            this.userAccounts = loggedUser.GetAllUserAccounts();
            this.sharedUserAccounts = loggedUser.GetAllSharedUserAccounts();

            dbSetingDialog = new DBSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            trelloSettingDialog = new TrelloSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            gsSettingDialog = new GoogleSheetsSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            excelSettingsDialog = new ExcelSettingsDialog(loggedUser, userAccounts, sharedUserAccounts);
        }
예제 #2
0
        public SettingsDialog(UserProvider.UserDTO loggedUser)
        {
            InitializeComponent();
            this.loggedUser         = loggedUser;
            this.userAccounts       = loggedUser.GetAllUserAccounts();
            this.sharedUserAccounts = loggedUser.GetAllSharedUserAccounts();

            dbSetingDialog      = new DBSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            trelloSettingDialog = new TrelloSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            gsSettingDialog     = new GoogleSheetsSettingDialog(loggedUser, userAccounts, sharedUserAccounts);
            excelSettingsDialog = new ExcelSettingsDialog(loggedUser, userAccounts, sharedUserAccounts);
        }