摘要: 代码下载: 敏捷学院技术资源库1.引用view sourceprint?1// TODO: Use Enterprise Library Data Block 23using Microsoft.Practices.EnterpriseLibrary.Data; 45using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;2.创建访问器view sourceprint?1// TODO: Create private fields for Data accessors 23private DataAccessor< 阅读全文
posted @ 2011-07-08 13:42 敏捷学院 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 使用配置工具加密数据库的连接信息代码下载:http://dev.mjxy.cn/a-entlib-Encrypted-connection-information.aspx1. App.Config01<configuration> 02<configSections> 03<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practic 阅读全文
posted @ 2011-07-08 13:40 敏捷学院 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 演示代码下载: http://dev.mjxy.cn/a-entlib-Access-the-database-using-stored-procedures.aspx使用存储过程访问数据库1.配置文件view sourceprint?01<configuration> 02<configSections> 03<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings 阅读全文
posted @ 2011-07-08 13:35 敏捷学院 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 本演练直接使用SQL语句来访问数据库1.配置文件01<configuration> 02<configSections> 03<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyTok 阅读全文
posted @ 2011-07-08 10:35 敏捷学院 阅读(477) 评论(0) 推荐(0) 编辑
摘要: http://dev.mjxy.cn/ 阅读全文
posted @ 2011-07-08 10:32 敏捷学院 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 桌球台球瞄准器下载地址: 桌球台球瞄准器 阅读全文
posted @ 2011-06-22 00:13 敏捷学院 阅读(872) 评论(0) 推荐(0) 编辑
摘要: <<Known_SolutionSrc.zip>>介绍 为了方便的记录所学的知识,使用知识树管理最为方便。每个节点即是数据又是父节点。登录admin,admin 已经实现的功能 无限制分类 任意父节点变更 查询 节点状态(展开/收缩)记忆 可以扩展的功能 支持程序语言的代码高亮 支持附件 多用户 等等等等等等 主界面 编辑区 im@xingquan.org 阅读全文
posted @ 2011-03-28 02:16 敏捷学院 阅读(673) 评论(1) 推荐(0) 编辑
摘要: <<WpfQSearchExcel.rar>> 获取一个简体中文字的拼音首字母 static public string getSpell(string cn) { byte[] arrCN = Encoding.Default.GetBytes(cn); if (arrCN.Length > 1) { int area = (short)arrCN[0]; int pos = (short)arrCN[1]; int code = (area << 8) + pos; int[] areacode = { 45217, 45253, 45761, 4 阅读全文
posted @ 2011-03-27 15:10 敏捷学院 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 以前没写完不敢拿出来示人,怕丢人!放在硬盘里快发霉了。节选完整的一节!希望对初学者能举一反四、五.....! Download!!!Socket通信基础既然是网络游戏那自然网络的通信是基本的需要了。关于Socket的编程还是一片空白,以前没接触过呀。还是从网上下载几本了解一下。 《TCPIP Sockets in C#》 《C# Network Programming》《Network Programing In .NET with C# and Visual Basic.NET》MSDN ..... 英文的,头痛中…… 看看里面例子..... 还是不太明白..... 自己动手写代码玩玩... 阅读全文
posted @ 2011-03-27 03:48 敏捷学院 阅读(799) 评论(2) 推荐(1) 编辑
摘要: 棋牌游戏服务器端+Silverlight客户端演练可能掌握的知识: dotNET Socket 游戏协议设计 游戏逻辑 调试输出 Silverlight客户端的连接与调试 Flash客户端的连接与调试能够了解服务/器客户端开发原理。服务器端基本功能已经差不多全乎了,客户端没做仅实现了登录测试。我就走到这里了,接下来就靠你耗费很多精力去实现吧。代码视图 游戏逻辑Silverlight客户端连接调试Flash客户端连接调试ctrl+shift+8 hide or display debug's windows。服务器端运行状态扑克发牌演练(单独的Flash Code)Download So 阅读全文
posted @ 2011-03-27 02:22 敏捷学院 阅读(953) 评论(1) 推荐(2) 编辑
摘要: 使用演练代码可以了解以下内容: ASP.NET MVC2 EntityFramework Castle 邮件验证 图片上传 路由监视 单元测试数据翻页 分层架构 ....... 等 ^_^ 其实都是一些开发常用居家过日子基础功能啊。阅读代码是掌握新技术的就快捷径。由于代码写的时间比较早了,EntityFramework已经经过数次改版,有些概念可能已经发生变化。也许程序执行的时候会发生爆炸!请带好安全帽!功能介绍: 实现了用户根据分类发布房屋信息,系统根据用户的邮箱来判断是否是已经存在的用户。每条信息发送后会给发信人的邮箱发送验证代码。验证过的信息不会显示问号(表示信息未经过验证)。主界面:列 阅读全文
posted @ 2011-03-25 20:19 敏捷学院 阅读(680) 评论(1) 推荐(0) 编辑
摘要: 在Android模拟SD卡环境 本演练以 2. 搭建Android开发环境 为前提 (需要预先将你放置android sdk所在目录下的tools设置到环境变量path中) 1. 创建 sd文件 命令行运行: mksdcard -l sdlabel 512M mysd.img 2. 加载sd文件 eclipse IDE 运行 run configurations 在Target的 Additonal Emulator Command Line Options 里填写具体的sd路径,注意路径分割符号,文件夹名称不要有空格。 -sdcard E:/Z/mySDCards/mysd.img 使用命令 阅读全文
posted @ 2011-03-25 17:29 敏捷学院 阅读(273) 评论(0) 推荐(0) 编辑
摘要: <<BroadcastReceiverDemo.zip>> Intnet & Broadcast 示例演示 新建项目BroadcastReceiverDemo项目,编辑AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.tutorial" 阅读全文
posted @ 2011-03-25 17:28 敏捷学院 阅读(280) 评论(0) 推荐(0) 编辑
摘要: <<SQLiteDemo2.zip>> SQLite Demo 2 本演练演示一个日记本程序 新建项目SQLiteDemo2, 编辑res/layout/main.xml 文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk /res/android" android:layout_width="wrap_content" a 阅读全文
posted @ 2011-03-25 17:27 敏捷学院 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <<SQLiteDemo1.zip>> SQLite Demo1 演示 演示操作SQLite数据库 新建项目SQLiteDemo1,编辑res/layout/main.xml 布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" an 阅读全文
posted @ 2011-03-25 17:25 敏捷学院 阅读(536) 评论(1) 推荐(0) 编辑
摘要: <<PrefsDemo_Dialog.zip>> Dialog(使用对话框的Preferences) 新建项目 PrefsDemo_Dialog 编辑res/layout/main.xml文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent&qu 阅读全文
posted @ 2011-03-25 17:24 敏捷学院 阅读(685) 评论(0) 推荐(0) 编辑
摘要: <<PrefsDemo_Structured.zip>> Structured(分组的Prefereces) 新建项目 ProfsDemo_Structured. 编辑res/layout/main.xml布局文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fil 阅读全文
posted @ 2011-03-25 17:21 敏捷学院 阅读(257) 评论(0) 推荐(0) 编辑
摘要: <<PrefsDemo_Simple.zip>> 使用Xml布局文件描述 Preferences 新建项目 Prefs_Simple 编辑 res/layout/main.xml 配置文件 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" 阅读全文
posted @ 2011-03-25 17:20 敏捷学院 阅读(547) 评论(0) 推荐(0) 编辑
摘要: Source codeSharePreferences Demo2 新建项目PreferDemo, 编辑res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill 阅读全文
posted @ 2011-03-25 17:18 敏捷学院 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <<SharedPreferencesDemo.zip>> SharedPreferences 存储方式 SharedPreferences 用来存储一些简单的配置信息。 新建项目SharedPreferencesDemo,编辑res/layout/main.xml文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" a 阅读全文
posted @ 2011-03-25 17:17 敏捷学院 阅读(363) 评论(0) 推荐(0) 编辑
摘要: <<ToastNotificationDemo.zip>> Notificaton和Toast演示 新建项目 ToastNotificationDemo,修改res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertica 阅读全文
posted @ 2011-03-25 17:10 敏捷学院 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <<DialogDemo.zip>> Dialog 演示 新建项目DialogDemo. 编辑res/layout/main.xml 布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=&q 阅读全文
posted @ 2011-03-25 17:07 敏捷学院 阅读(395) 评论(0) 推荐(0) 编辑
摘要: <<ListViewDemo.zip>> ListView演示 新建项目ListViewDemo,编辑res/layout/main.xml 布局文件如下: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_wi 阅读全文
posted @ 2011-03-25 17:05 敏捷学院 阅读(699) 评论(1) 推荐(1) 编辑
摘要: Download Source Code <<ActivityIntentDemo.zip>> Activity 和 Intent 演示 使用startActivity()方法在Activity之间切换 使用Intent.putExtra()、Intent.putExtras()方法保存需要传递的数据 使用startActivityForResult()方法在Activity之间传递参数 重载onActivityResult()方法处理回传数据 使用Intent.getExtra()、Intent.getExtras()方法获取传递的数据 新建项目ActivityInt 阅读全文
posted @ 2011-03-25 17:02 敏捷学院 阅读(406) 评论(0) 推荐(0) 编辑
摘要: Download Source Code Menu 演示 重载onCreateOptionsMenuMenu创建菜单 重写 onOptionsItemSelected()方法,处理菜单项的选中 新建项目MenuDemo,修改res/layout/main.xml布局文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orie 阅读全文
posted @ 2011-03-25 16:58 敏捷学院 阅读(333) 评论(0) 推荐(0) 编辑
摘要: WidgetDemo主界面 创建项目WidgetDemo 编辑main.xml <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" > <LinearLayo 阅读全文
posted @ 2011-03-25 16:49 敏捷学院 阅读(545) 评论(0) 推荐(0) 编辑
摘要: UI布局 如何使用FrameLayout布局 如何单独使用LinearLayout布局 如何单独使用RelativeLayout布局 结合LinearLayout和RelativeLayout布局 如何使用TableLayout布局 FrameLayout 创建项目 Layouts,用于布局的演示。 打开res/layout/main.xml 如下编辑 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andro 阅读全文
posted @ 2011-03-25 16:39 敏捷学院 阅读(846) 评论(0) 推荐(0) 编辑
摘要: QuickStart 代码下载! 阅读全文
posted @ 2011-03-25 16:36 敏捷学院 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Google Map View 本演练演示Google Maps library, 你可以创建自己的google地图。 注意本演练需要使用扩展了Google Maps library的 Android SDK 。 Part1 Create a map Activity 新建项目 HelloGoogleMaps。 Maps library 不是标准的Android library. 必须在 Android Manifest 中声明。打开AndroidManifest.xml 为<application>节增加下面的配置节。 <uses-library android:name= 阅读全文
posted @ 2011-03-25 16:30 敏捷学院 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Gallery Gallery是一个水平滚动项的布局控件。 本演练将创建一个相册走廊,同时显示选中的图片信息。 新建项目HelloGallery。 将使用的图片放入res/drawable目录。 3. 打开res/layout/main.xml文件编辑如下。 <?xml version="1.0" encoding="utf-8"?> <FrameLayout android:id="@+id/FrameLayout01" android:layout_width="fill_parent" an 阅读全文
posted @ 2011-03-25 16:29 敏捷学院 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Web View 本演练创建一个可以访问web页的应用程序,使用WebView控件。 新建项目 HelloWebView 2. 打开res/layout/main.xml替换成以下内容 <?xml version="1.0" encoding="utf-8"?> <WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webview" android:layout_width=&quo 阅读全文
posted @ 2011-03-25 16:29 敏捷学院 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Auto Complete 本演练创建一个自动完成控件,使用AutocompleteTextView控件。 新建项目 HelloAutoComplete。 在res/layout/目录下创建lsit_item.xml,按如下代码编辑。 <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_par 阅读全文
posted @ 2011-03-25 16:28 敏捷学院 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Spinner Spinner是一个下拉选择想的列表。 本演练将创建一个简单的spinner 用于显示一个植物列表,然后显示选中的项。 新建项目HelloSpinner 2. 打开 res/layout/main.xml 使用下面的开发更改xml文件。 <Spinner android:id="@+id/spinner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:prompt="@string/plan 阅读全文
posted @ 2011-03-25 16:26 敏捷学院 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Form Stuff 本演练演示使用多样的控件创建表单,如Image button, text files, checkboxes and radio buttons. 新建项目 HelloFormStuff 打开res/layout/main.xml文件,修改代码如下: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orie 阅读全文
posted @ 2011-03-25 16:25 敏捷学院 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Date Picker 日期选择控件,允许你选择月,日,年。 在本教程中,将创建DatePickerDialog 对话框。TextView将更新显示选中的日期。 新建项目 HelloDatePicker。 打开res/layout/main.xml文件修改代码如下: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orienta 阅读全文
posted @ 2011-03-25 16:24 敏捷学院 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Time Picker 演练时间选择控件。 在本教程中当用户单击按钮后我们将创建TimePickerDialog。从对话框选择的时间将被更新到TextView中。 新建项目HelloTimePicker。 打开res/layout/main.xml使用下面的代码: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientat 阅读全文
posted @ 2011-03-25 16:24 敏捷学院 阅读(674) 评论(0) 推荐(0) 编辑
摘要: TabLayout 选项卡布局 创建一个Tab用户界面,你需要使用一个TabHost和TabWidget。这个TabHost必须在根节点布置,包含了TabWidget显示制表符和FrameLayout标签显示的内容。 新建项目 HelloTabWidget。 首先在项目中创建3个Activity类:ArtistsActivity,AlbumsActivity和SongsActivity,使用TextView显示一条简单的信息。 package com.helloview.layout; import android.app.Activity; import android.os.Bundle; 阅读全文
posted @ 2011-03-25 16:19 敏捷学院 阅读(247) 评论(0) 推荐(0) 编辑
摘要: TabLayout 选项卡布局 创建一个Tab用户界面,你需要使用一个TabHost和TabWidget。这个TabHost必须在根节点布置,包含了TabWidget显示制表符和FrameLayout标签显示的内容。 新建项目 HelloTabWidget。 首先在项目中创建3个Activity类:ArtistsActivity,AlbumsActivity和SongsActivity,使用TextView显示一条简单的信息。 package com.helloview.layout; import android.app.Activity; import android.os.Bundle; 阅读全文
posted @ 2011-03-25 16:17 敏捷学院 阅读(482) 评论(0) 推荐(0) 编辑
摘要: GridView Layhout GridView是一个ViewGroup子试图。用于二维、滚动网格。GridView自动添加了一个ListAdapter布局 新建项目HelloGridView 将一些图片放到res/drawable/目录 打开res/layout/main.xml文件,按一下修改。 <?xml version="1.0" encoding="utf-8"?> <GridView xmlns:android="http://schemas.android.com/apk/res/android" a 阅读全文
posted @ 2011-03-25 16:16 敏捷学院 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 表格布局 Table Layout TableLayout是一个ViewGroup子视图显示元素的行和列 创建新项目HelloTableLayout。 打开 res/layout/main.xml文件如下编辑 <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" 阅读全文
posted @ 2011-03-25 16:15 敏捷学院 阅读(239) 评论(0) 推荐(0) 编辑