private void buttonTranslationSettings_Click(object sender, EventArgs e)
        {
            using var form = new TranslateOptionsForm();
            form.Initialize(_project);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                if (form.TranslationProviderChanged)
                {
                    using (new WaitCursor(this))
                    {
                        DoInitiallyFillListsAndFillItemToControls();
                    }
                }

                UpdateUI();
            }
        }
        private void buttonSettings_Click(object sender, EventArgs e)
        {
            using var form = new TranslateOptionsForm();
            form.Initialize(
                MainForm.Current.ProjectFilesControl.Project ?? Project.Empty);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                if (form.TranslationProviderChanged)
                {
                    using (new WaitCursor(this))
                    {
                        //InitiallyFillLists();
                        //FillItemToControls();
                        fillTranslationEngine();
                    }
                }

                UpdateUI();
            }
        }
		private void buttonSettings_Click(object sender, EventArgs e)
		{
			using (var form = new TranslateOptionsForm())
			{
				form.Initialize(_project);

				if (form.ShowDialog(this) == DialogResult.OK)
				{
					if (form.TranslationProviderChanged)
					{
						using (new WaitCursor(this))
						{
							//InitiallyFillLists();
							//FillItemToControls();
							fillTranslationEngine();
						}
					}

					UpdateUI();
				}
			}
		}