Re: Reading result from MessageBox
From: Joey Callisay (hcalisay_at_codex-systems.com)
Date: 09/17/04
- Next message: Marcin Grzębski: "Re: DataTable.Selec()"
- Previous message: Joerg Jooss: "Re: HttpWebRequest headers problem"
- In reply to: Mojtaba Faridzad: "Re: Reading result from MessageBox"
- Next in thread: Jon Skeet [C# MVP]: "Re: Reading result from MessageBox"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Sep 2004 17:41:40 +0800
Althought it's good to know the behind the scenes, which is my purpose...
"Mojtaba Faridzad" <mfaridzad@hotmail.com> wrote in message
news:%23%23qeoMBnEHA.952@TK2MSFTNGP10.phx.gbl...
> I guess you should not worry about disposing and leave it to garbage
> collector to remove it from the memory. it's not like odbc connection
which
> you should dispose.
>
> "Joey Calisay" <joeycalisay@yahoo.com> wrote in message
> news:utRdOMAnEHA.392@tk2msftngp13.phx.gbl...
> >I know they will be gone, after a selection, I was asking about the
behind
> > the scenes (are they just hidden). Since their dialogresult property is
> > still accessible, I'm assuming they are not yet disposed? When do they
> > get
> > disposed then?
> >
> > "Mojtaba Faridzad" <mfaridzad@hotmail.com> wrote in message
> > news:OVziRBAnEHA.2764@TK2MSFTNGP11.phx.gbl...
> >> yes. after clicking on Yes or No, the dialog will be gone. just try it
> >>
> >> "Joey Calisay" <joeycalisay@yahoo.com> wrote in message
> >> news:un8Ju0$mEHA.3164@TK2MSFTNGP10.phx.gbl...
> >> > Are dialogs hidden after a selection? When are they disposed?
> >> >
> >> > "Mojtaba Faridzad" <mfaridzad@hotmail.com> wrote in message
> >> > news:uHug8u$mEHA.1412@tk2msftngp13.phx.gbl...
> >> >> DialogResult result = MessageBox.Show("Are you sure?", "Delete
entry",
> >> >> MessageBoxButtons.YesNo,MessageBoxIcon.Question);
> >> >> if (result == DialogResult.Yes)
> >> >> {
> >> >> ....
> >> >>
> >> >>
> >> >> "Kavvy" <bla@debla.bla> wrote in message
> >> >> news:5wh2d.238$2v.3152030@news-text.cableinet.net...
> >> >> > Hi
> >> >> >
> >> >> > How can I read the result from the following,
> >> >> >
> >> >> > MessageBox.Show("Are you sure?", "Delete entry",
> >> > MessageBoxButtons.YesNo,
> >> >> > MessageBoxIcon.Question);
> >> >> >
> >> >> > Thanks!
> >> >> > Rich.
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
- Next message: Marcin Grzębski: "Re: DataTable.Selec()"
- Previous message: Joerg Jooss: "Re: HttpWebRequest headers problem"
- In reply to: Mojtaba Faridzad: "Re: Reading result from MessageBox"
- Next in thread: Jon Skeet [C# MVP]: "Re: Reading result from MessageBox"
- Messages sorted by: [ date ] [ thread ]