How to access one form to another? [modified]
-
Hello Dear Friends !!! I have a window with a button, which calls other window. There i call function
public void ShowOneInListView(ListView L, string N, string M, string S) { ListViewItem item = new ListViewItem(N); item.SubItems.Add(M); item.SubItems.Add(S); item.ForeColor = Color.Violet; L.Items.Add(item); }
which uses the listview(L) from another form. How can i access that listview, or that form ? -- modified at 5:58 Sunday 1st April, 2007One nation - underground
-
Hello Dear Friends !!! I have a window with a button, which calls other window. There i call function
public void ShowOneInListView(ListView L, string N, string M, string S) { ListViewItem item = new ListViewItem(N); item.SubItems.Add(M); item.SubItems.Add(S); item.ForeColor = Color.Violet; L.Items.Add(item); }
which uses the listview(L) from another form. How can i access that listview, or that form ? -- modified at 5:58 Sunday 1st April, 2007One nation - underground
Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook