mail-archives/mono-osx/2011-August/004499.html

93 строки
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] System.IO.Directory.Exists Question!
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.IO.Directory.Exists%20Question%21&In-Reply-To=1313907830250-3758014.post%40n4.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004498.html">
<LINK REL="Next" HREF="004500.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] System.IO.Directory.Exists Question!</H1>
<B>Alex Soto</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.IO.Directory.Exists%20Question%21&In-Reply-To=1313907830250-3758014.post%40n4.nabble.com"
TITLE="[Mono-osx] System.IO.Directory.Exists Question!">dxdream at gmail.com
</A><BR>
<I>Sun Aug 21 03:31:06 EDT 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004498.html">[Mono-osx] System.IO.Directory.Exists Question!
</A></li>
<LI>Next message: <A HREF="004500.html">[Mono-osx] Create a .net dll with a NSWindow
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4499">[ date ]</a>
<a href="thread.html#4499">[ thread ]</a>
<a href="subject.html#4499">[ subject ]</a>
<a href="author.html#4499">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Would not be easier to use
Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
???
Alex
El 21/08/2011, a las 01:23 a.m., roger_xiong &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">anson.tongbu at gmail.com</A>&gt;
escribi&#243;:
But it seems &quot;~&quot; works in cocoa:
- (IBAction)open:(id)sender
{
NSOpenPanel * openPanel = [NSOpenPanel openPanel]; // e
SEL sel = @selector(openPanelDidEnd:returnCode:contextInfo:);
[openPanel beginSheetForDirectory:@&quot;~/Documents&quot;
file:nil
types:nil
modalForWindow:[table window]
modalDelegate:self
didEndSelector:sel
contextInfo:nil];
}
--
View this message in context:
<A HREF="http://mono.1490590.n4.nabble.com/System-IO-Directory-Exists-Question-tp3756936p3758014.html">http://mono.1490590.n4.nabble.com/System-IO-Directory-Exists-Question-tp3756936p3758014.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
_______________________________________________
Mono-osx mailing list
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110821/0a3be24d/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110821/0a3be24d/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004498.html">[Mono-osx] System.IO.Directory.Exists Question!
</A></li>
<LI>Next message: <A HREF="004500.html">[Mono-osx] Create a .net dll with a NSWindow
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4499">[ date ]</a>
<a href="thread.html#4499">[ thread ]</a>
<a href="subject.html#4499">[ subject ]</a>
<a href="author.html#4499">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>