Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How to open a window programmatically?

Hi! This is a simple question, but I couldn't solve it for a long time.

I'm trying to develop simple MacOS application using Xamarin with Xcode. I have built several windows and try to open a window programmatically. To open this window I need to choose a special value in select box and click the confirmation button. In my ViewController, I tried to access to MyWindowController, that extends NSWindow class, but I don't see Show methods and for instantiation the object it requires parameter "IntPtr handle".

How to solve this problem properly? Maybe I should create a special kind of segue?

Thank you! Regards.


Sign In or Register to comment.