Example #1
0
        private void ClickableLabel_MouseEnter(object sender, EventArgs e)
        {
            ClickableLabel customLabel = sender as ClickableLabel;

            customLabel.ForeColor = ClickableLabel.FocusTextColour;
            customLabel.Font      = new Font("Calibri", customLabel.FontSize, FontStyle.Bold);
            this.Cursor           = Cursors.Hand;
        }
Example #2
0
        private void ClickableLabel_MouseLeave(object sender, EventArgs e)
        {
            ClickableLabel customLabel = sender as ClickableLabel;

            customLabel.ForeColor = ClickableLabel.NormalTextColour;
            customLabel.Font      = new Font("Calibri", customLabel.FontSize, FontStyle.Regular);
            this.Cursor           = Cursors.Default;
        }
Example #3
0
        private void ClickableLabel_Click(object sender, EventArgs e)
        {
            ClickableLabel customLabel = sender as ClickableLabel;

            customLabel.showExplanation();
        }