home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Productivity / MarginMaster-5.0-w / MenuObject.m < prev    next >
Encoding:
Text File  |  1998-04-18  |  855 b   |  36 lines

  1. #import "MenuObject.h"
  2.  
  3. @implementation MenuObject
  4.  
  5.  
  6. - (void)applicationDidFinishLaunching:(NSNotification *)notification
  7. // In order for your object to receive this notification make sure that
  8. // your object is a delegate or "File's Owner" in IB.
  9. // Connected from "File's Owner" to AmortControlObject in this case.
  10. {
  11.         // Activate the application
  12.         [NSApp activateIgnoringOtherApps:YES];
  13.  
  14.         [ProfitWindow center]; // Centers panel on the screen
  15.         [ProfitWindow makeKeyAndOrderFront:NULL];
  16. }
  17.  
  18. - (void)ShowInfoPanel:(id)sender
  19. {
  20.         [NSBundle loadNibNamed:@"InfoPanel.nib" owner:self]; // load nib
  21. }
  22.  
  23.  
  24. - (void)ShowMoreInfo:(id)sender
  25. {
  26.         [NSBundle loadNibNamed:@"MoreInfo.nib" owner:self]; // load nib
  27. }
  28.  
  29. - (void)HelpandIntro:(id)sender
  30. {
  31.         [NSBundle loadNibNamed:@"HelpIntro.nib" owner:self]; // load nib
  32. }
  33.  
  34.  
  35. @end
  36.