资源简介
c#报刊订阅管理系统
采用vs2010为工具,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;
using System.Data.SqlClient;
namespace newspaperorder
{
public partial class addadmin : Form
{
private int childFormNumber = 0;
public addadmin()
{
this.Visible = true;
InitializeComponent();
}
private void ShowNewForm(object sender EventArgs e)
{
Form childForm = new Form();
childForm.MdiParent = this;
childForm.Text = “Window “ + childFormNumber++;
childForm.Show();
}
private void OpenFile(object sender EventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
openFileDialog.Filter = “Text Files (*.txt)|*.txt|All Files (*.*)|*.*“;
if (openFileDialog.ShowDialog(this) == DialogResult.OK)
{
string FileName = openFileDialog.FileName;
}
}
private void SaveAsToolStripMenuItem_Click(object sender EventArgs e)
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
saveFileDialog.Filter = “Text Files (*.txt)|*.txt|All Files (*.*)|*.*“;
if (saveFileDialog.ShowDialog(this) == DialogResult.OK)
{
string FileName = saveFileDialog.FileName;
}
}
private void ExitToolsStripMenuItem_Click(object sender EventArgs e)
{
this.Close();
}
private void CutToolStripMenuItem_Click(object sender EventArgs e)
{
}
private void CopyToolStripMenuItem_Click(object sender EventArgs e)
{
}
private void PasteToolStripMenuItem_Click(object sender EventArgs e)
{
}
private void CascadeToolStripMenuItem_Click(object sender EventArgs e)
{
LayoutMdi(MdiLayout.Cascade);
}
private void TileVerticalToolStripMenuItem_Click(object sender EventArgs e)
{
LayoutMdi(MdiLayout.TileVertical);
}
private void TileHorizontalToolStripMenuItem_Click(object sender EventArgs e)
{
LayoutMdi(MdiLayout.TileHorizontal);
}
private void ArrangeIconsToolStripMenuItem_Click(object sender EventArgs e)
{
LayoutMdi(MdiLayout.ArrangeIcons);
}
private void CloseAllToolStripMenuItem_Click(object sender EventArgs e)
{
foreach (Form childForm in MdiChildren)
{
childFor
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-01-01 16:06 newspaperorder\
目录 0 2012-01-01 16:06 newspaperorder\newspaperorder\
文件 884 2011-12-22 22:11 newspaperorder\newspaperorder.sln
文件 65024 2012-04-13 13:06 newspaperorder\newspaperorder.suo
文件 4337 2011-12-26 10:01 newspaperorder\newspaperorder\addadmin.cs
文件 8999 2011-12-26 11:43 newspaperorder\newspaperorder\addadmin.Designer.cs
文件 6163 2011-12-25 23:39 newspaperorder\newspaperorder\addadmin.resx
文件 4741 2011-12-26 11:18 newspaperorder\newspaperorder\addcommon.cs
文件 11991 2011-12-26 11:44 newspaperorder\newspaperorder\addcommon.Designer.cs
文件 5990 2011-12-26 11:18 newspaperorder\newspaperorder\addcommon.resx
文件 4496 2011-12-30 13:32 newspaperorder\newspaperorder\addnewspaper.cs
文件 11948 2011-12-26 12:00 newspaperorder\newspaperorder\addnewspaper.Designer.cs
文件 5990 2011-12-26 12:00 newspaperorder\newspaperorder\addnewspaper.resx
文件 3672 2011-12-30 09:42 newspaperorder\newspaperorder\adminalter.cs
文件 5368 2011-12-30 09:42 newspaperorder\newspaperorder\adminalter.Designer.cs
文件 5990 2011-12-30 09:42 newspaperorder\newspaperorder\adminalter.resx
文件 3416 2011-12-30 13:25 newspaperorder\newspaperorder\admindelnewspaper.cs
文件 4095 2011-12-30 13:25 newspaperorder\newspaperorder\admindelnewspaper.Designer.cs
文件 5990 2011-12-30 13:25 newspaperorder\newspaperorder\admindelnewspaper.resx
文件 10399 2011-12-30 13:56 newspaperorder\newspaperorder\adminform.cs
文件 17383 2011-12-30 13:25 newspaperorder\newspaperorder\adminform.Designer.cs
文件 6188 2011-12-30 13:25 newspaperorder\newspaperorder\adminform.resx
文件 4728 2011-12-30 13:46 newspaperorder\newspaperorder\adminscannewspaper.cs
文件 5999 2011-12-30 09:59 newspaperorder\newspaperorder\adminscannewspaper.Designer.cs
文件 7278 2011-12-30 09:54 newspaperorder\newspaperorder\adminscannewspaper.resx
目录 0 2012-01-01 16:06 newspaperorder\newspaperorder\bin\
目录 0 2012-01-01 16:06 newspaperorder\newspaperorder\bin\Debug\
文件 146432 2011-12-30 14:32 newspaperorder\newspaperorder\bin\Debug\newspaperorder.exe
文件 224768 2011-12-30 14:32 newspaperorder\newspaperorder\bin\Debug\newspaperorder.pdb
文件 11600 2012-04-13 10:34 newspaperorder\newspaperorder\bin\Debug\newspaperorder.vshost.exe
文件 490 2010-03-17 22:39 newspaperorder\newspaperorder\bin\Debug\newspaperorder.vshost.exe.manifest
............此处省略68个文件信息
- 上一篇:ASP.Net项目物流配送系统
- 下一篇:C#实现商品管理系统
评论
共有 条评论