public SearchLanguageCategoriesControl(string languageName, EventHandler <string> LanguageButtonClickHandler)
        {
            InitializeComponent();

            LanguageNameButton.Text       = languageName;
            LanguageButtonClick          += LanguageButtonClickHandler;
            LanguageColorPictureBox.Image = LanguageColor.GetColor(languageName);
        }
        private void CheckLanguageLabel(Label clickedlabel)
        {
            if (ClickCounter.secondClick == clickCounter)
            {
                if (ComparisonLanguageOneLabel.Text == clickedlabel.Text)
                {
                    ComparisonLanguageOneLabel.Text  = "";
                    clickedlabel.ForeColor           = Color.FromArgb(94, 94, 94);
                    LanguageOneColorPictureBox.Image = Properties.Resources.Blankcircle;
                    clickCounter = ClickCounter.firstClick;
                    return;
                }
                else if (ComparisonLanguageTwoLabel.Text == "" && clickedlabel.Text != ComparisonLanguageOneLabel.Text)
                {
                    ComparisonLanguageTwoLabel.Text  = clickedlabel.Text;
                    clickedlabel.ForeColor           = Color.Gray;
                    LanguageTwoColorpictureBox.Image = LanguageColor.GetColor(ComparisonLanguageTwoLabel.Text);
                    clickCounter = ClickCounter.thirdClick;
                    return;
                }
            }
            if (ClickCounter.firstClick == clickCounter && clickedlabel.Text != ComparisonLanguageTwoLabel.Text)
            {
                ComparisonLanguageOneLabel.Text  = clickedlabel.Text;
                clickedlabel.ForeColor           = Color.Gray;
                LanguageOneColorPictureBox.Image = LanguageColor.GetColor(ComparisonLanguageOneLabel.Text);
                clickCounter = ClickCounter.secondClick;
                return;
            }
            if (ComparisonLanguageOneLabel.Text == clickedlabel.Text)
            {
                ComparisonLanguageOneLabel.Text  = "";
                clickedlabel.ForeColor           = Color.FromArgb(94, 94, 94);
                LanguageOneColorPictureBox.Image = Properties.Resources.Blankcircle;
                clickCounter = ClickCounter.firstClick;
            }
            if (ComparisonLanguageTwoLabel.Text == clickedlabel.Text)
            {
                if (ComparisonLanguageOneLabel.Text == "")
                {
                    ComparisonLanguageTwoLabel.Text  = "";
                    LanguageTwoColorpictureBox.Image = Properties.Resources.Blankcircle;

                    clickedlabel.ForeColor = Color.FromArgb(94, 94, 94);
                    clickCounter           = ClickCounter.firstClick;
                }
                else
                {
                    ComparisonLanguageTwoLabel.Text  = "";
                    LanguageTwoColorpictureBox.Image = Properties.Resources.Blankcircle;
                    clickedlabel.ForeColor           = Color.FromArgb(94, 94, 94);
                    clickCounter = ClickCounter.secondClick;
                }
            }
        }