会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
徐海峰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2017年8月11日
andoid 监听返回键退出
摘要: //监听返回键 public void onBackPressed(){ confirmExit(); } //确认退出程序对话 private void confirmExit() { //确认退出程序 new AlertDialog.Builder(this).setTitle(R.string
阅读全文
posted @ 2017-08-11 09:36 徐海峰
阅读(161)
评论(0)
推荐(0)
编辑
2017年6月16日
WinForm调用user32.dll实现全屏
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Runtim
阅读全文
posted @ 2017-06-16 11:00 徐海峰
阅读(704)
评论(0)
推荐(0)
编辑
2017年5月19日
C# Panel 打开 Form 窗口的方法
摘要: private void MainForm_Load(object sender, EventArgs e) { NavigationForm w = new NavigationForm(); ShowForm(w); } public void ShowForm(Form form1) { th
阅读全文
posted @ 2017-05-19 12:53 徐海峰
阅读(4948)
评论(0)
推荐(0)
编辑
2017年5月6日
Android获取日期及星期的方法
摘要: Calendar calendar=Calendar.getInstance(); SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy年MM月dd日"); String[] str1=new String[]{"Error","日
阅读全文
posted @ 2017-05-06 15:21 徐海峰
阅读(4250)
评论(0)
推荐(0)
编辑
2016年11月26日
WinForm 自定义对话框 获取返回值
摘要: /* 1.定义Form1以对话框方式弹出 */ /* 2.在Form1窗口中定义变量 */ /* 3.给变量复制并返回DialogResult.OK结束对话 */
阅读全文
posted @ 2016-11-26 13:40 徐海峰
阅读(7084)
评论(0)
推荐(1)
编辑
上一页
1
2
3