X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3ad3786d6bd99cdc39da02e70077b953145f7dac..c7fd0c06dcd4976525ffab0f0f0f13f15e4fc118:/RegController.m diff --git a/RegController.m b/RegController.m index 9e1dada..ac0ff66 100755 --- a/RegController.m +++ b/RegController.m @@ -5,6 +5,13 @@ void (*kvp)(NSString *,NSString *) = keyverify; +- (void)registrationStart +{ + [NSBundle loadNibNamed:@"Registration" owner:self]; + [f show]; + [f center]; +} + - (IBAction)verifyRegistration:(id)sender { //note: check name, key for basic validity. SO needs some of this as well. @@ -20,6 +27,7 @@ void (*kvp)(NSString *,NSString *) = keyverify; else { NSRunInformationalAlertPanel(@"Failure",@"Your registration key is incorrect. Try again.",@"Aww",nil,nil); } + [f close]; } @end