Hi jbart,

For iPhone/iPad applications, you can certainly add code to Main() but what
you are probably looking for is the FinishedLoading() method of AppDelegate
in Main.cs

That's where you create/add your View to the window.

Hope that helps,

Jeff

On Fri, Aug 19, 2011 at 1:41 PM, jbart <[email protected]> wrote:

> Hey all,
>
> I've downloaded the trial software for MonoTouch, investigating if we
> should
> pursue a license at my company.  So far I'm particularly impressed with the
> IDE, but I seem to be having a basic problem with the very first Hello
> World
> tutorial to run.   My problem is the tutorial doesn't show or specify where
> to put the first snippet of code, where a user button is added.  In a
> normal
> C# library project, this would usually go right in Main(), but that isn't
> allowed.  Is there a more complete example of this particular tutorial?  I
> may try to pull down source of another project to try and figure it out,
> but
> I was hoping to baby step this to make sure I have a good understanding of
> how the product works.
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Hello-World-tutorial-incomplete-tp3755755p3755755.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to