我的第一个小C#程序# DotNet - 窗口里的风景
E*s
1 楼
今天才知道开了这个版.
我常常往我的homepage放照片给家人看,用这个小程序就一个directory 下面所有jpg
files自动产生一个thumbnail index html file,
很小, 不要见笑. 今天第一次用这个语言.
非常需要改进, 只是满足了今天upload照片的最低需要. 有时间可以添加新功能.
如果有人有更好建议和改进, 请一定开口.
我对C#和.net 的知识都近于零. 刚开始学习. 希望这里是个很好的学习group.
using System;
using System.IO;
using System.Drawing;
namespace edelweiss.album {
class generator
{
public static void Main(string[] args)
{
if(args.Length < 1) {
Console.WriteLine("Usage: album [directory name]");
return;
}
string dirName = arg
我常常往我的homepage放照片给家人看,用这个小程序就一个directory 下面所有jpg
files自动产生一个thumbnail index html file,
很小, 不要见笑. 今天第一次用这个语言.
非常需要改进, 只是满足了今天upload照片的最低需要. 有时间可以添加新功能.
如果有人有更好建议和改进, 请一定开口.
我对C#和.net 的知识都近于零. 刚开始学习. 希望这里是个很好的学习group.
using System;
using System.IO;
using System.Drawing;
namespace edelweiss.album {
class generator
{
public static void Main(string[] args)
{
if(args.Length < 1) {
Console.WriteLine("Usage: album [directory name]");
return;
}
string dirName = arg