资源简介
windows窗体编程运用的C#写的写字板
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WordPad
{
public partial class DiaLogDateTime : Form
{
public string SelectDateTime { get { return lstDateTime.SelectedItem.ToString(); } }
public DiaLogDateTime()
{
InitializeComponent();
}
private void DateTime_Load(object sender EventArgs e)
{
DateTime datetimeNow = DateTime.Now;
lstDateTime.Items.Add(datetimeNow.ToString(“d“));
lstDateTime.Items.Add(datetimeNow.ToString(“D“));
lstDateTime.Items.Add(datetimeNow.ToString(“f“));
lstDateTime.Items.Add(datetimeNow.ToString(“F“));
lstDateTime.Items.Add(datetimeNow.ToString(“g“));
lstDateTime.Items.Add(datetimeNow.ToString(“G“));
lstDateTime.Items.Add(datetimeNow.ToString(“m“));
lstDateTime.Items.Add(datetimeNow.ToString(“M“));
lstDateTime.Items.Add(datetimeNow.ToString(“r“));
lstDateTime.Items.Add(datetimeNow.ToString(“R“));
}
private void tbnOK_Click(object sender EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
private void btnCancel_Click(object sender EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 766 2010-11-04 22:59 wordPad\wordPad\12.ico
文件 24576 2010-11-04 09:42 wordPad\wordPad\bin\Debug\FindReplace.dll
文件 192512 2010-11-05 20:43 wordPad\wordPad\bin\Debug\wordPad.exe
文件 99840 2010-11-05 20:43 wordPad\wordPad\bin\Debug\wordPad.pdb
文件 14328 2010-11-05 20:31 wordPad\wordPad\bin\Debug\wordPad.vshost.exe
文件 490 2007-07-21 01:33 wordPad\wordPad\bin\Debug\wordPad.vshost.exe.manifest
文件 169 2005-11-03 13:06 wordPad\wordPad\config.xm
文件 1571 2010-11-04 22:55 wordPad\wordPad\DiaLogDateTime.cs
文件 3977 2010-11-04 22:55 wordPad\wordPad\DiaLogDateTime.Designer.cs
文件 5814 2010-11-04 21:02 wordPad\wordPad\DiaLogDateTime.resx
文件 476 2010-11-04 22:55 wordPad\wordPad\DlgAbout.cs
文件 2439 2010-11-04 22:55 wordPad\wordPad\DlgAbout.Designer.cs
文件 116333 2010-11-04 22:48 wordPad\wordPad\DlgAbout.resx
文件 1466 2010-11-04 22:55 wordPad\wordPad\DlgParagraph.cs
文件 7977 2010-11-04 22:55 wordPad\wordPad\DlgParagraph.Designer.cs
文件 5814 2010-11-04 22:22 wordPad\wordPad\DlgParagraph.resx
文件 39137 2010-11-05 20:43 wordPad\wordPad\Form1.cs
文件 72887 2010-11-05 20:43 wordPad\wordPad\Form1.Designer.cs
文件 78653 2010-11-05 20:43 wordPad\wordPad\Form1.resx
文件 1144 2010-11-04 22:55 wordPad\wordPad\FormNew.cs
文件 4452 2010-11-04 22:55 wordPad\wordPad\FormNew.Designer.cs
文件 5814 2010-11-04 20:53 wordPad\wordPad\FormNew.resx
文件 4608 2010-11-04 23:05 wordPad\wordPad\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 1646 2010-11-05 20:40 wordPad\wordPad\obj\Debug\wordPad.csproj.FileListAbsolute.txt
文件 1160 2010-11-05 20:43 wordPad\wordPad\obj\Debug\WordPad.csproj.GenerateResource.Cache
文件 649 2010-11-05 19:31 wordPad\wordPad\obj\Debug\WordPad.csproj.ResolveComReference.cache
文件 180 2010-11-05 19:34 wordPad\wordPad\obj\Debug\WordPad.DiaLogDateTime.resources
文件 73972 2010-11-05 19:34 wordPad\wordPad\obj\Debug\WordPad.DlgAbout.resources
文件 180 2010-11-05 19:34 wordPad\wordPad\obj\Debug\WordPad.DlgParagraph.resources
文件 192512 2010-11-05 20:43 wordPad\wordPad\obj\Debug\wordPad.exe
............此处省略32个文件信息
- 上一篇:WPF动态添加行列DATAGRID.zip
- 下一篇:C#贪吃蛇C#贪吃蛇C#贪吃蛇
评论
共有 条评论