Properties LinkLabel WindownsForms

0

Is it possible to use the LinkLabel property to open a type of Modal to display history of a certain item that is stored in a table?

Example:

AndinthisFormyouwouldbringthisinformationthatissuppliedfromthe%

When you click on the Rejected Word instead of opening a default link, open a new VincoRetornoSefaz with the reason for rejection.

    
asked by anonymous 03.01.2018 / 16:34

1 answer

2

You should schedule the click event of the label. When you add it, double click on it that visual studio already creates and records the event. This is where you create the form, enter it and use it.

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
            {
                Form2 newform = new Form2();
                newform.ShowDialog();
            }
    
03.01.2018 / 17:10