import("Org.Util.PHPExcel");$objPHPExcel=new\PHPExcel();//设置excel属性//可以不写$objPHPExcel->getProperties()->setCreator("JAMES")->setLastModifiedBy("JAMES")->setTitle("zltrans")->setSubject("Dorder")->setDescription("DorderList")->se..
分类:
Web程序 时间:
2016-02-29 14:41:26
阅读次数:
293
常用的Dialog有确认对话框,单选按钮对话框,多选按钮对话框,复选按钮对话框另外还有自定义的对话框
AlertDialog的常用方法
setTitle:为对话框设置标题
setMessage:为对话框设置内容
setIcon:为对话框设置图标
setItems设置对话框要显示的list
setMultiChoiceItems:一般用于复选框显示
setSingleChoiceI...
分类:
移动开发 时间:
2016-02-29 14:39:34
阅读次数:
291
方法一: - (void)startCountDown { _seconds = 60; NSString *str = [NSString stringWithFormat:@"%d秒后可重新获取", _seconds]; [_btnVerify setTitle:str forState:UIC
分类:
移动开发 时间:
2016-02-28 22:48:20
阅读次数:
643
(1)在VisitorView.swift文件中,懒加载一个按钮: private var loginButton:UIButton={ let btn=UIButton() btn.setTitle("注册", forState: UIControlState.Normal) btn.setBac
分类:
编程语言 时间:
2016-02-17 23:54:00
阅读次数:
267
图片宽度:15.f [_titleBtn setTitle:title forState:UIControlStateNormal]; CGSize titleSize = [title sizeWithAttributes:@{NSFontAttributeName: [UIFont fontWi
分类:
其他好文 时间:
2016-02-01 17:41:59
阅读次数:
139
AlertDialog.Builder builder = new AlertDialog.Builder(_context); builder.setTitle("温馨提示").setMessage("您的账户被锁定,请联系闭门!") .setPo...
分类:
移动开发 时间:
2016-01-26 12:20:58
阅读次数:
181
- (void)action:(id)sender{UIButton * button = sender;[button setTitle:@"清理完毕" forState:UIControlStateNormal];NSArray *paths = NSSearchPathForDirectori...
分类:
移动开发 时间:
2016-01-23 12:51:21
阅读次数:
146
AlertDialog(对话框)一、对话框的基本使用流程step1:创建AlertDialog.Buider;step2:调用setIcon()设置图标,setTitle()或者setCustomerTitle设置标题step3:设置对话框的内容setMessage()还有其他方式;step4:se...
分类:
移动开发 时间:
2016-01-19 17:17:18
阅读次数:
269
UIButton *releaseButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [releaseButton setTitle:@"发布" forState:normal]; [releaseBut...
分类:
移动开发 时间:
2016-01-06 16:07:03
阅读次数:
198
Builder builder = new AlertDialog.Builder(this);builder.setTitle(android.R.string.dialog_alert_title).setIcon(android.R.drawable.ic_dialog_info).setPo...
分类:
移动开发 时间:
2015-12-22 16:18:18
阅读次数:
307