//
//  CommodityManagementTopView.m
//  ALand
//
//  Created by Z on 16/3/28.
//  Copyright © 2016年 Z. All rights reserved.
//

#import "CommodityManagementTopView.h"
#import "UIView+Category.h"
#import "ManagementViewController.h"
@interface CommodityManagementTopView ()
@property (weak, nonatomic) IBOutlet UIButton *buttonAdd;
@property (weak, nonatomic) IBOutlet UIButton *buttonManagement;


@end
@implementation CommodityManagementTopView


- (void)awakeFromNib {
    self.buttonAdd.imageView.contentMode = UIViewContentModeScaleAspectFit;
    self.buttonManagement.imageView.contentMode = UIViewContentModeScaleAspectFit;
}
- (IBAction)managementAct:(id)sender {
    
    ManagementViewController *manageVC = [[ManagementViewController alloc] init];
    [[self viewController] PushViewController:manageVC animated:YES];
    
    CLog(@"m");
}
- (IBAction)addAct:(id)sender {
    CLog(@"a");
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
