LoginViewController.h

来源:互联网 发布:交换机互联 网络名 编辑:程序博客网 时间:2024/05/02 03:36

//

//  LoginViewController.h

//

//  Created by on 12-3-27.

//  Copyright (c) 2012 My Company. All rights reserved.

//  QQ:1490724


#import <UIKit/UIKit.h>

#import <MapKit/MapKit.h>

#import "MBProgressHUD.h"

#import "PincheAppDelegate.h"

#import "UINavigationBar+customImage.h"


@class ASIHTTPRequest;

@class RegStepOneVC;




@protocol LoginViewControllerDelegate <NSObject>

- (void)loginSuccessed:(NSObject*)result;

@end


// LoginViewControlerControllerDelegate<NSObject>

// loginSucessed:(NSObject *)result;



@interface LoginViewController :UIViewController<UITextFieldDelegate,MBProgressHUDDelegate,CLLocationManagerDelegate>

{

   ASIHTTPRequest *request;

    

   BOOL checkFlag;

   BOOL goFlag;

    // MBProgressHUD *HUD;

    // MBProgressHUD *HUD;

    // MBProgressHUD *HUD;hunansheng hunansheng hunansheng

    // MBProgressHUD *HUD;

    

    MBProgressHUD *HUD;

   NSString *myMobileno;

   NSString *mySmscode;


   CLLocationManager *locationManager;

    id<LoginViewControllerDelegate> delegate;

   UITextField *textField;

}


@property (nonatomic,assign)id<LoginViewControllerDelegate> delegate;

@property(nonatomic,assign)UITextField *txtPhoneNumber;

@property(nonatomic,assign)UITextField *txtLoginPwd;

@property(nonatomic,assign)IBOutletUILabel *tipLabel1;

@property(nonatomic,assign)IBOutletUILabel *tipLabel2;

@property(nonatomic,assign)IBOutletUIButton *btnCheck;

@property(nonatomic,assign)IBOutletUIButton *btnLogin;

@property(nonatomic,assign)IBOutletUIButton *btnRegister;

@property(nonatomic,assign)IBOutletUIButton *btnForgetPwd;

@property (nonatomic,retain)CLLocationManager *locationManager;

@property (retain,nonatomic)ASIHTTPRequest *request;

@property (retain,nonatomic)RegStepOneVC *vcReg;



-(IBAction)check_handle:(id)sender;

-(IBAction)doNext_handle:(id)sender;


// doForgetPwd_handle:(id) sender;


-(IBAction)doForgetPwd_handle:(id)sender;

-(IBAction)doRegister_handle:(id)sender;


// doLogin :(double) xpos ypos:(duoble) ypos;

// btnLogin btnLogin btnLogin btResister btnForgetPwd request request vcReg;

//

- (void)dologin:(double)xpos ypos:(double)ypos;

@end


0 0
原创粉丝点击