this listbox value pass in Form 4 If I Will Select i Will Try This Command
Form4 f4 = new Form4();
F4.label.Text = lisbox1.Selectitem.Tostring();
I Will Select Control SelectIndexChanger
this Is label Form4 select listbox value Show here
this listbox value pass in Form 4 If I Will Select i Will Try This Command
Form4 f4 = new Form4();
F4.label.Text = lisbox1.Selectitem.Tostring();
I Will Select Control SelectIndexChanger
this Is label Form4 select listbox value Show here
You can pass parameters through the constructor
Form 4
public partial class Form4 : Form
{
public Form4(string value)
{
F4.label.Text = value;
}
}
In Form 1
Form4 form = new Form4(lisbox1.Selectitem.Tostring());
form.ShowDialog();
Hope to help you