摘要: 标签 :android:allowBackup="true" 数据可以备份标签:configChanges属性:横竖屏切换时,keyboardHidden|orientation|screenSize Activity不会执行生命周期,只会触发 onConfigurationChanged 阅读全文
posted @ 2015-10-13 11:02 欧克 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 在方法前加注释方法1:先敲“/”在敲两个**,然后回车方法2:按Alt+Shift+J还有一种注释://的按 Ctrl+/或者Ctrl+Shift+C 阅读全文
posted @ 2014-08-13 11:13 欧克 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 设置布局 从MAP的集合取数据 //获取数据 Intent intent = getIntent(); Bundle bundle = intent.getExtras(); SerializableMaplist SerializableMaplist = (Ser... 阅读全文
posted @ 2014-07-31 11:40 欧克 阅读(326) 评论(0) 推荐(0) 编辑
摘要: public static void writeToXml(Map map,Writer writer) throws Exception, IllegalStateException, IOException{ XmlSerializer serializer = Xml.newSeriali... 阅读全文
posted @ 2014-07-31 10:35 欧克 阅读(213) 评论(0) 推荐(0) 编辑
摘要: package com.xjx.data;import java.io.Serializable;import java.util.List;import java.util.Map;/** * vatty * * * hongshengpeng.com * */public class Ser... 阅读全文
posted @ 2014-07-31 10:33 欧克 阅读(680) 评论(0) 推荐(0) 编辑
摘要: @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { super.onCreateView(inflater, contain... 阅读全文
posted @ 2014-07-31 10:29 欧克 阅读(454) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u... 阅读全文
posted @ 2014-07-16 10:10 欧克 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using System.... 阅读全文
posted @ 2014-07-14 08:58 欧克 阅读(334) 评论(0) 推荐(0) 编辑
摘要: NurseGridList.CurrentCell = null; NurseGridList.ClearSelection(); NurseGridList.Rows[0].Selected = false; //去掉行grid左边一格一格的东西 NurseGridList.RowHeaders... 阅读全文
posted @ 2014-07-12 11:23 欧克 阅读(953) 评论(0) 推荐(0) 编辑
摘要: 1 #region get护理单记录信息XML 2 //将XML文件保存到DataTable 3 private DataTable FromXML2DataTable(string XMLStr,string data_h,string data_... 阅读全文
posted @ 2014-07-12 10:42 欧克 阅读(1124) 评论(0) 推荐(0) 编辑