public SoundcloudSyncMainForm()
        {
            InitializeComponent();

            updateUtil = new UpdateUtils();
            updateToolStripMenuItem.Text = updateUtil.LabelTextForCurrentStatus();

            clientIdUtil       = new ClientIDsUtils();
            _apiConfigSettings = new API_Config(clientIdUtil);
            progressUtil       = new ProgressUtils();

            Text = $"SoundCloud Playlist Sync {Version()} Stable";
            _performSyncCompleteImplementation = SyncCompleteButton;
            _progressBarUpdateImplementation   = UpdateProgressBar;
            _performStatusUpdateImplementation = UpdateStatus;
            status.Text = @"Ready";
            MinimumSize = new Size(Width, Height);
            MaximumSize = new Size(Width, Height);
        }
        public SoundcloudSyncMainForm()
        {
            InitializeComponent();

            updateUtil = new UpdateUtils();
            updateToolStripMenuItem.Text = LanguageManager.Language["STR_MAIN_MENU_UPDATE"] + updateUtil.LabelTextForCurrentStatus();

            clientIdUtil       = new ClientIDsUtils();
            _apiConfigSettings = new API_Config(clientIdUtil);
            progressUtil       = new ProgressUtils();

            Text = string.Format(LanguageManager.Language["STR_MAIN_TITLE_STABLE"], Version());
            _performSyncCompleteImplementation = SyncCompleteButton;
            _progressBarUpdateImplementation   = UpdateProgressBar;
            _performStatusUpdateImplementation = UpdateStatus;
            status.Tag  = "STR_MAIN_STATUS_READY";
            status.Text = LanguageManager.Language[status.Tag.ToString()];
            MinimumSize = new Size(Width, Height);
            MaximumSize = new Size(Width, Height);
        }
        public SoundcloudSyncMainForm()
        {
            InitializeComponent();

            updateUtil = new UpdateUtils();

            clientIdUtil       = new ClientIDsUtils();
            _apiConfigSettings = new API_Config(clientIdUtil);
            progressUtil       = new ProgressUtils();

            LoadLanguagesInAllForms(int.Parse(SyncSetting.settings.Get("Language")));

            Text = string.Format(LanguageManager.Language["STR_MAIN_TITLE_STABLE"], UpdateUtils.GetCurrentVersion());
            _performSyncCompleteImplementation = SyncCompleteButton;
            _progressBarUpdateImplementation   = UpdateProgressBar;
            _performStatusUpdateImplementation = UpdateStatus;
            status.Tag  = "STR_MAIN_STATUS_READY";
            status.Text = LanguageManager.Language[status.Tag.ToString()];
            MinimumSize = new Size(Width, Height);
            MaximumSize = new Size(Width, Height);
        }
Esempio n. 4
0
 public API_Config(ClientIDsUtils clientIDsUtil)
 {
     ClientIDsUtil = clientIDsUtil;
     InitializeComponent();
 }