官方QQ群:127876820【C#编程技术-全国站--未满人】
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 应用场景发文管理员发送文件给用户,在发文的过程中,可以上传附件;作为普通用户,需要对收到的公司发文批量下载,下载要求能够下载公司发文的文件和附件。问题难点:(1)对多个文件及其附件进行打包,附件要和公司文件放在一起(2)文件夹、文件命名的确定,因为使用原文件名,可能有重复(3)对文件夹(包含文件及子文件夹,子文件夹下又有文件)进行打包解决思路:(1)创建和当前用户登陆名同名的临时文件夹,这个文件夹... 阅读全文
posted @ 2010-09-22 19:06 碧海蓝天_C# 阅读(1275) 评论(0) 推荐(0) 编辑
摘要: 在应用程序开发中,需求不清晰从而导致需求变更是一个让所有人深恶痛绝的事情,用户界面也是其中很重要的部分。之所以用户的需求不清晰是因为在很多时候,用户的脑海中往往只会构思和想象用户界面的一部分,他只能告诉你他想要的软件大概是个什么样子,有哪些功能和操作;你们也许会在纸上或者通过绘图工具绘制一些用户界面,这也不够准确直观;而让用户自己使用VisualStudio设计他想要的界面更是不现实的。所以,我们... 阅读全文
posted @ 2010-09-22 19:03 碧海蓝天_C# 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 实现篇: 新建一个WpfApplication、一个ConsoleApplication、一个workflow的ActivityLibrary,共三个项目,命名分别为:WPFProject、WCFProject、WFProject 我们就在这些由VS模板生成的代码实现这个Hello world程序,我们尽量地利用这些生成好的代码。最不熟悉WCF: 引用System.ServiceModel.dll... 阅读全文
posted @ 2010-09-22 19:00 碧海蓝天_C# 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 1. gpedit.msc-----组策略 2. sndrec32-------录音机 3. Nslookup-------IP地址侦测器 4. explorer-------打开资源管理器 5. logoff---------注销命令 6. tsshutdn-------60秒倒计时关机命令 7. lusrmgr.msc----本机用户和组 8. services.msc---本地服务设置 9.... 阅读全文
posted @ 2010-09-22 17:27 碧海蓝天_C# 阅读(286) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Management;using System.Net.Sockets;using System.Net;using System.Management;namespace SystemInfo{ class Program { static v... 阅读全文
posted @ 2010-09-22 17:25 碧海蓝天_C# 阅读(559) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Text;using System.Collections;using System.Collections.Generic;using System.Drawing;using System.Drawing.Printing;using System.Data;using System.Globalization;using System.Wi... 阅读全文
posted @ 2010-09-22 17:23 碧海蓝天_C# 阅读(1661) 评论(0) 推荐(0) 编辑
摘要: function jsleft(lefts,leftn) { var sl=lefts; sl = sl.substring(0,leftn); return sl; }function jsright(rights,rightn) { var sr=rights; sr = sr.substring(sr.length-rightn,sr.length); return sr; }functio... 阅读全文
posted @ 2010-09-22 17:22 碧海蓝天_C# 阅读(994) 评论(0) 推荐(0) 编辑
摘要: 从小到大排序 int[] myArray = new int[] { 10, 8, 3, 5, 6, 7, 4, 6, 9 }; // 取长度最长的词组 -- 冒泡法 for( int j=1;j myArray[i+1] ,则 myArray[i] 上浮一位 if( myArray[i]myArray[i+1]) { int temp = myArray[i]; myArray[i] = my... 阅读全文
posted @ 2010-09-22 17:21 碧海蓝天_C# 阅读(202) 评论(0) 推荐(0) 编辑
摘要: System.Diagnostics.ProcessStartInfo p = null; System.Diagnostics.Process Proc; string path = System.IO.Directory.GetCurrentDirectory(); if (!File.Exists(path + "\\gmz.exe")) { MessageBox.Show(System.I... 阅读全文
posted @ 2010-09-22 17:20 碧海蓝天_C# 阅读(429) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2010-09-22 16:17 碧海蓝天_C# 阅读(4518) 评论(0) 推荐(1) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
官方QQ群:127876820【C#编程技术-全国站--未满人】