- (UIButton *)makeButtonWithFrame:(CGRect)btnFrame andTag:(NSInteger)btnTag andTitle:(NSString *)btnTitle
{
UIButton *resultBtn = [[UIButton buttonWithType:UIButtonTypeCustom] retain];
[resultBtn setTag:btnTag];
[resultBtn setFrame:btnFrame];
[resultBtn setBackgroundColor:[UIColor clearColor]];
[resultBtn.layer setCornerRadius:4.0];
[resultBtn.layer setBorderColor:[UIColor grayColor].CGColor];
[resultBtn.layer setBorderWidth:1.0];
[resultBtn setTitleColor:[UIColor blackColor]
forState:UIControlStateNormal];
[resultBtn.titleLabel setFont:LabelTextFont];
[resultBtn setTitle:btnTitle forState:UIControlStateNormal];
[resultBtn addTarget:self action:@selector(commonBtnPress:) forControlEvents:UIControlEventTouchUpInside];
return [resultBtn autorelease];
}