mail-archives/mono-osx/2010-November/003365.html

86 строки
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] [MonoMac] PopupBindings Sample
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20PopupBindings%20Sample&In-Reply-To=1290155103393-3050028.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="003353.html">
<LINK REL="Next" HREF="003367.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [MonoMac] PopupBindings Sample</H1>
<B>Miguel de Icaza</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20PopupBindings%20Sample&In-Reply-To=1290155103393-3050028.post%40n4.nabble.com"
TITLE="[Mono-osx] [MonoMac] PopupBindings Sample">miguel at novell.com
</A><BR>
<I>Tue Nov 23 01:20:01 EST 2010</I>
<P><UL>
<LI>Previous message: <A HREF="003353.html">[Mono-osx] [MonoMac] PopupBindings Sample
</A></li>
<LI>Next message: <A HREF="003367.html">[Mono-osx] [MonoMac] PopupBindings Sample
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3365">[ date ]</a>
<a href="thread.html#3365">[ thread ]</a>
<a href="subject.html#3365">[ subject ]</a>
<a href="author.html#3365">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello,
Here is another sample program that demonstrates the use of bindings for
&gt;<i> Popup Button.
</I>&gt;<i> The information information that is bound to in the NSArrayController is a
</I>&gt;<i> customer class called Person.cs that implements the KVO model.
</I>&gt;<i>
</I>
One question: is there a reason to use all of the NSString/NSDictionary
types in this sample?
In general, with MonoMac, we try to avoid exposing APIs based on NSString
and other Foundation types unless it is absolutely necessary.
[I added the sample to the tree, but if I can, I would like to use more C# 3
features and fewer NSString types]
Miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20101123/c66396f1/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20101123/c66396f1/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003353.html">[Mono-osx] [MonoMac] PopupBindings Sample
</A></li>
<LI>Next message: <A HREF="003367.html">[Mono-osx] [MonoMac] PopupBindings Sample
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3365">[ date ]</a>
<a href="thread.html#3365">[ thread ]</a>
<a href="subject.html#3365">[ subject ]</a>
<a href="author.html#3365">[ 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>