[Mono-osx] How to run c# code and hide the form when starting a cocoa Monobjc application
d_v
dan.vandermolen at figpsoft.com
Wed Apr 21 11:17:44 EDT 2010
Does anyone know how to run c# code and hide the form when starting a cocoa
Monobjc.net application? I can't even get the HelloCocoa sample application
to do this.
I can't find any information on the net regarding this question.
1. How do I modify HelloCocoa so that I can run some code automatically when
the application starts?
2. How do I hide the form when the application starts?
Background:
I am creating a formless application that will auto-quit when someone logs
out of the Mac.
What I tried: (partly)
I can run and compile c# code in the HelloCocoa monobjc sample just great.
I have created the HelloCocoa project/sample from scratch and compiled it
without a hitch.
I tried placing code before and after Application.Run() and in AwakeFromNib
but it does not seem to run.
Please help.
Thanks
--
View this message in context: http://n4.nabble.com/How-to-run-c-code-and-hide-the-form-when-starting-a-cocoa-Monobjc-application-tp2019130p2019130.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list