Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Update Row Pin
Luis Alonso Ramos19-Jul-05 17:38
Luis Alonso Ramos19-Jul-05 17:38 
Generalcreating transparent window problem Pin
Member 161799919-Jul-05 2:42
Member 161799919-Jul-05 2:42 
GeneralRe: creating transparent window problem Pin
User 665819-Jul-05 4:40
User 665819-Jul-05 4:40 
GeneralRe: creating transparent window problem Pin
Member 161799919-Jul-05 4:47
Member 161799919-Jul-05 4:47 
GeneralThreads Pin
deeps2619-Jul-05 2:39
deeps2619-Jul-05 2:39 
GeneralRe: Threads Pin
maheswara19-Jul-05 2:57
maheswara19-Jul-05 2:57 
GeneralRe: Threads Pin
S. Senthil Kumar19-Jul-05 7:01
S. Senthil Kumar19-Jul-05 7:01 
Questionfill listview in different class and file? Pin
oleman10819-Jul-05 2:18
oleman10819-Jul-05 2:18 
In Form1.cs I have defined the "InstituteAdministrator" class which contains ListView "listViewAddress". In a second file (FormTreeView.cs) I have the class FormTreeView with the method "dataTreeView1_AfterSelect". When the user selects a node in the treeview, then listViewAddress should be filled and displayed with the corresponding addresses.

As long as I keep the whole thing in one file, it works fine, but not with two files and two classes.

I want to use dotnetmagic.com's libraries, which come with this two-files example for docking.

First I created a method within the InstituteAdministrator class which establishes the database connection and fills the listview. Within FormTreeView class I made a reference to the Institute Administrator class and called the filling method I defined, passing "e.Node.Tag.ToString()" as parameter to the method.

The program seemed to work, however the data is not displaying in the listview. Since then I'm trying out (try and error...). So far I did not find sufficient information in books or online examples to help me to understand what is going on. (needless to say that I'm a newbie)

Which are the steps to make this work? Any hints, anyone?

Link to screenshots and source-files:
http://www.osswald.com/vstudio/[^]

Direct link to source files (flash-paper prints):
http://www.osswald.com/vstudio/images/form1.cs.swf[^]
http://www.osswald.com/vstudio/images/FormTreeView.cs.swf[^]
GeneralComboBox Event Pin
zaboboa19-Jul-05 2:03
zaboboa19-Jul-05 2:03 
GeneralRe: ComboBox Event Pin
maheswara19-Jul-05 2:38
maheswara19-Jul-05 2:38 
QuestionComplete this program-- New bie to FileStream ? Pin
cyberiafreak19-Jul-05 1:29
cyberiafreak19-Jul-05 1:29 
AnswerRe: Complete this program-- New bie to FileStream ? Pin
Dan Neely19-Jul-05 2:10
Dan Neely19-Jul-05 2:10 
AnswerRe: Complete this program-- New bie to FileStream ? Pin
maheswara19-Jul-05 2:14
maheswara19-Jul-05 2:14 
GeneralRe: Complete this program-- New bie to FileStream ? Pin
Anonymous20-Jul-05 21:01
Anonymous20-Jul-05 21:01 
GeneralI have duplicate items in combobox and I don't wont that Pin
mcatanoiu19-Jul-05 1:14
mcatanoiu19-Jul-05 1:14 
GeneralDynamic population of treenode Pin
Member 211897919-Jul-05 1:00
Member 211897919-Jul-05 1:00 
GeneralPropertyGrid & UITypeEditor - PLS HELP Pin
deepakpesit18-Jul-05 23:05
deepakpesit18-Jul-05 23:05 
GeneralRe: PropertyGrid & UITypeEditor - PLS HELP Pin
leppie18-Jul-05 23:54
leppie18-Jul-05 23:54 
GeneralRe: PropertyGrid & UITypeEditor - PLS HELP Pin
deepakpesit19-Jul-05 2:22
deepakpesit19-Jul-05 2:22 
QuestionHandshaking with an event inside a DLL? Pin
pcssathik18-Jul-05 22:54
pcssathik18-Jul-05 22:54 
GeneralC# handshaking with a Event inside a DLL Pin
Anonymous18-Jul-05 22:47
Anonymous18-Jul-05 22:47 
GeneralUrgent help about calculator Pin
TA-RS18-Jul-05 22:42
TA-RS18-Jul-05 22:42 
GeneralRe: Urgent help about calculator Pin
tatchung18-Jul-05 22:50
tatchung18-Jul-05 22:50 
GeneralFinal Leg!! Pin
tatchung18-Jul-05 22:40
tatchung18-Jul-05 22:40 
GeneralRe: Final Leg!! Pin
Gavin Jeffrey18-Jul-05 22:54
Gavin Jeffrey18-Jul-05 22:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.