#import "MenuObject.h"

@implementation MenuObject


- (void)applicationDidFinishLaunching:(NSNotification *)notification
// In order for your object to receive this notification make sure that
// your object is a delegate or "File's Owner" in IB.
// Connected from "File's Owner" to AmortControlObject in this case.
{
        // Activate the application
        [NSApp activateIgnoringOtherApps:YES];

        [ProfitWindow center]; // Centers panel on the screen
        [ProfitWindow makeKeyAndOrderFront:NULL];
}

- (void)ShowInfoPanel:(id)sender
{
        [NSBundle loadNibNamed:@"InfoPanel.nib" owner:self]; // load nib
}


- (void)ShowMoreInfo:(id)sender
{
        [NSBundle loadNibNamed:@"MoreInfo.nib" owner:self]; // load nib
}

- (void)HelpandIntro:(id)sender
{
        [NSBundle loadNibNamed:@"HelpIntro.nib" owner:self]; // load nib
}


@end
