winforms - C# adding links to a container -


I want to create a list with some folders links depending on the options made in some combobox. The first thought that had come to mind was linking the linklables into the catalog but I do not know how to actually do it.

What I have so far:

  Private Zero Button 1_Click (Object Sender, Event Events E) (If (Combo Box 1. Selected Indices == 0 ; Combo box 2. Selected index == 0) {link label label 1 = new linkLabel (); Label1.LinkArea = new linkAriya (0, 22); label 1. link (24, 9, "e: \ folder "); Label 1.LinkCLite + = new linkLabel linked linkedendheldler; listBox1.Items.Add (label1);}}  

Where

  Private Zero Linked Ablclait (object sender, Linklebel link Antains e) {System.Diagnostics.Process.Start ( "E: \ folder");}  


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -