Homework Solution: Does anyone know how to display a label in visual studio once you check o…

    Does anyone know how to display a label in visual studio once you check off a checkbox? I don't want to use a button.

    Expert Answer

     
    This can be done by creating custom checkbox. This custom checkbox w

    Does anyone comprehend how to ostentation a designate in visual studio uninterruptedly you control extempore a controlbox? I don’t absence to portraiture a rush.

    Expert Counterpart

     

    This can be performed by creating prescription controlbox. This prescription controlbox achieve be lineal from ControlBox and achieve override its “OnCheckedChanged” episode. Here you can so append “eventUncheck” episode. The sequence should be love this.

    public arrange prescriptionCheckBox : ControlBox
    {
    public episode EpisodeHandler episodeUncheck;

    protected override unfilled OnCheckedChanged(EventArgs a)
    {
    base.OnCheckedChanged(a);

    if (!Checked)
    OneventUncheck(a);
    }

    protected essential unfilled OneventUncheck(EventArgs a)
    {
    if (eventUncontrol != vain)
    eventUncheck(this, a);
    }
    }

    Now in the episode “OneventUncheck” you can do the effort of ostentationing designate