Ejemplo n.º 1
0
        partial void ShowAboutDialog(MonoMac.Foundation.NSObject sender)
        {
            AboutDialogController about = new AboutDialogController();

            about.Window.MakeKeyAndOrderFront(this.mainWindow);
            about.Window.SetFrameTopLeftPoint(new PointF(
                                                  mainWindow.Frame.Left +
                                                  ((mainWindow.Frame.Right - about.Window.Frame.Right) / 2),
                                                  mainWindow.Frame.Bottom - 35));
            NSApplication.SharedApplication.RunModalForWindow(about.Window);
        }
Ejemplo n.º 2
0
partial         void ShowAboutDialog(MonoMac.Foundation.NSObject sender)
        {
            AboutDialogController about = new AboutDialogController ();
            about.Window.MakeKeyAndOrderFront (this.mainWindow);
            about.Window.SetFrameTopLeftPoint (new PointF (
                mainWindow.Frame.Left +
                ((mainWindow.Frame.Right - about.Window.Frame.Right) / 2),
                mainWindow.Frame.Bottom - 35));
            NSApplication.SharedApplication.RunModalForWindow (about.Window);
        }