[Mono-winforms-list] SPAM-LOW: Correct behaviour?
Charlie Poole
charlie at nunit.com
Wed May 7 14:33:41 EDT 2008
Since you're working with strings, what goes in goes out. What
are you seeing?
FWIW, you shouldn't be doing this anyway. Use Path.Combine.
Charlie
> -----Original Message-----
> From: mono-winforms-list-bounces at lists.ximian.com
> [mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Paul
> Sent: Wednesday, May 07, 2008 7:03 AM
> To: winforms
> Subject: SPAM-LOW: [Mono-winforms-list] Correct behaviour?
>
> Hi,
>
> Simple winform problem / bug
>
> path = System.Environment.CurrentDirectory;
> string sep = Path.DirectorySeparatorChar.ToString();
> conpath = path + string.Format("{0}configure.xml",sep);
> DialogResult result;
> result = MessageBox.Show(this, conpath, "Wibble",
> MessageBoxButtons.OK);
>
> Should this diplay the full conpath with .xml on the end? or
> should it be truncated to exclude .xml?
>
> Using mono-1.9.1
>
> TTFN
>
> Paul
> --
> ?Sie können mich aufreizen und wirklich heiß machen!
>
>
More information about the Mono-winforms-list
mailing list