Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Project documentation Pin
Pete O'Hanlon7-Jan-08 3:44
mvePete O'Hanlon7-Jan-08 3:44 
Questionhow can i do this ? Pin
prasadbuddhika7-Jan-08 1:03
prasadbuddhika7-Jan-08 1:03 
AnswerRe: how can i do this ? Pin
Pete O'Hanlon7-Jan-08 1:20
mvePete O'Hanlon7-Jan-08 1:20 
GeneralRe: how can i do this ? Pin
prasadbuddhika7-Jan-08 20:14
prasadbuddhika7-Jan-08 20:14 
GeneralRe: how can i do this ? Pin
Pete O'Hanlon7-Jan-08 21:30
mvePete O'Hanlon7-Jan-08 21:30 
AnswerRe: how can i do this ? Pin
Stu Richardson7-Jan-08 1:28
Stu Richardson7-Jan-08 1:28 
AnswerRe: how can i do this ? Pin
Guffa7-Jan-08 3:01
Guffa7-Jan-08 3:01 
GeneralRe: how can i do this ? Pin
Stu Richardson7-Jan-08 3:46
Stu Richardson7-Jan-08 3:46 
I think all these anwers depend on the actual question as Im not 100% clear on the situation. (apologies if its just me)

If formB just returns to formA eventually anyway, just expose a property on FormB to return the listViewItem like so... (+ with better naming conventions)

using (FormB b = new FormB())
{
if (b.DialogResult == DialogResult.OK)
{
AddItemToListView(b.ListViewItem);
}
}

Obviously the above assumes formB's role is to create a an object which will be displayed in formA's list view. As i said before i think the question was open to different interpretations as seen with the answers.
GeneralRe: how can i do this ? Pin
prasadbuddhika7-Jan-08 20:10
prasadbuddhika7-Jan-08 20:10 
GeneralRe: how can i do this ? Pin
Stu Richardson7-Jan-08 22:12
Stu Richardson7-Jan-08 22:12 
Questiondoes c# have these features built in ? Pin
prasadbuddhika7-Jan-08 0:53
prasadbuddhika7-Jan-08 0:53 
AnswerRe: does c# have these features built in ? Pin
Pete O'Hanlon7-Jan-08 0:57
mvePete O'Hanlon7-Jan-08 0:57 
AnswerRe: does c# have these features built in ? Pin
Scott Dorman7-Jan-08 14:51
professionalScott Dorman7-Jan-08 14:51 
GeneralPolymorphism and inheritance Pin
Goncalo Oliveira7-Jan-08 0:34
Goncalo Oliveira7-Jan-08 0:34 
GeneralRe: Polymorphism and inheritance Pin
originSH7-Jan-08 1:42
originSH7-Jan-08 1:42 
GeneralRe: Polymorphism and inheritance Pin
Goncalo Oliveira7-Jan-08 1:50
Goncalo Oliveira7-Jan-08 1:50 
GeneralRe: Polymorphism and inheritance Pin
originSH7-Jan-08 2:04
originSH7-Jan-08 2:04 
GeneralRe: Polymorphism and inheritance Pin
Goncalo Oliveira7-Jan-08 2:55
Goncalo Oliveira7-Jan-08 2:55 
GeneralRe: Polymorphism and inheritance Pin
Luc Pattyn7-Jan-08 3:59
sitebuilderLuc Pattyn7-Jan-08 3:59 
GeneralRe: Polymorphism and inheritance Pin
Goncalo Oliveira7-Jan-08 4:09
Goncalo Oliveira7-Jan-08 4:09 
Generaloledb provider for odbc drivers error Pin
Naresh1234567897-Jan-08 0:29
Naresh1234567897-Jan-08 0:29 
GeneralRe: oledb provider for odbc drivers error Pin
PIEBALDconsult7-Jan-08 6:20
mvePIEBALDconsult7-Jan-08 6:20 
Generalprogress bar Pin
Naresh1234567897-Jan-08 0:20
Naresh1234567897-Jan-08 0:20 
GeneralRe: progress bar Pin
Rocky#7-Jan-08 1:11
Rocky#7-Jan-08 1:11 
GeneralRe: progress bar Pin
Patrick Etc.7-Jan-08 4:52
Patrick Etc.7-Jan-08 4:52 

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.