Esempio n. 1
0
        private static void PromptApiKey()
        {
            Logger.Info("Please input your api key into the wakatime window.");
            var form = new ApiKeyForm();

            form.ShowDialog();
        }
Esempio n. 2
0
        private void PromptApiKey()
        {
            _logger.Debug("It will ask for user to input its api key");

            var form = new ApiKeyForm(_wakatime.Config, _logger);

            form.ShowDialog();
        }
        private void View_ShowApiKeys()
        {
            var form = new ApiKeyForm {
                MdiParent = View.MdiParentForm
            };

            var apiKeysPresenter = new ApiKeysPresenter(form, new ApiKeyModel(_model.DomainModel));

            apiKeysPresenter.Run();
        }
        public override void PromptApiKey()
        {
            ApiKeyForm apiKeyForm = null;

            try
            {
                apiKeyForm = new ApiKeyForm();
                apiKeyForm.Show();
            }
            catch (Exception ex)
            {
                Logger.Error("Failed to prompt for API", ex);
            }
        }
        private static void PromptApiKey()
        {
            var form = new ApiKeyForm();

            form.ShowDialog();
        }
Esempio n. 6
0
        internal static void PromptApiKey()
        {
            var form = new ApiKeyForm();

            form.ShowDialog();
        }