cocoa - Am I using BeginSheet right? (MonoMac) -


i have feeling i've either stumbled upon bug (unlikely) or i'm using function wrong (probably). i'm trying make sheet appear on mainwindow. reason though, sheet window pops regular window without toolbar , in no way connected mainwindow @ all.

now i'm pretty new cocoa , monomac you'll have forgive me, anyways, heres code:

        tvshowsheetcontroller sheet = new tvshowsheetcontroller ();         nsapplication.sharedapplication.beginsheet (sheet.window, window); 

what doing wrong here?

aha! setting sheet's window property "visible @ launch" false solved problem :)


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -