Accessing control from multiple forms
-
Hi I have a listview control in Form1 which displays the file information.I have another listview control in Form2.Whatever gets displayed in listview of Form1 should also be displayed in ;listview of Form2.I tried using the object of Form2 but it dint work.Can you give your suggestions? In form1<pre> for2=new Form2(); for.listView1.Items.Add();
-
Hi I have a listview control in Form1 which displays the file information.I have another listview control in Form2.Whatever gets displayed in listview of Form1 should also be displayed in ;listview of Form2.I tried using the object of Form2 but it dint work.Can you give your suggestions? In form1<pre> for2=new Form2(); for.listView1.Items.Add();
mrithula8 wrote:
or2=new Form2();
This shows that you know nothing about object oriented programming. I suggest you buy a book and read it. And use delegates for your specific problem
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )