// This is a GREAT EXAMPLE of a Unix pipe...
// This application uses the unix cal command to generate a calendar
// May 3, 1992
// Updated February 14, 1993
// Generated by Interface Builder

#import "Calendar.h"

@implementation Calendar


// APPDIDINIT
- appDidInit:sender
{

	[NXApp activateSelf:YES]; //activate the application     	
	[NXApp loadNibSection:"CalPanel.nib" owner:self]; // load nib

        return self;
}


// SHOW INFO PANEL
- ShowInfoPanel:sender
// This method load and displays a nib file.
{
    
    [NXApp loadNibSection:"InfoPanel.nib" owner:self];
    // Load info panel nib  
  
    return self; //normal return
}


// SHOW MORE INFO PANEL
- ShowMoreInfo:sender
// This method load and displays a nib file.
{
  [NXApp loadNibSection:"MoreInfo.nib" owner:self]; //load info panel nib    
  
  return self;  //normal return
}



// NEWCALENDAR
- NewCalendar:sender
{

	[NXApp loadNibSection:"CalPanel.nib" owner:self]; // load nib

        return self;
}



@end
