资源简介
青鸟售票管理系统项目有售票系统,学生,普通票,登陆管理

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.xml;
using System.IO;
namespace MyCinema
{
public partial class AddMovieForm : Form
{
public AddMovieForm()
{
InitializeComponent();
}
//退出
private void btnClose_Click(object sender EventArgs e)
{
this.Close();
}
//添加影片信息
private void btnInsertMovie_Click(object sender EventArgs e)
{
//获取执行当前工程的路径
string path = AppDomain.CurrentDomain.baseDirectory;
//影片详细信息
string name = this.txtMovieName.Text.Trim();
string picName = this.txtPicMovieName.Text.Trim();
string director = this.txtDirector.Text.Trim();
string actor = this.txtActor.Text.Trim();
string movieType = this.cboMovieType.Text;
string price = this.txtMoviePrice.Text.Trim();
string timer1 = this.mTxtDateTime1.Text;
string timer2 = this.mTxtDateTime2.Text;
//获取图片的路径
int index = picName.LastIndexOf(“\\“) + 1;
if (InitShowVidate())
{
xmlDocument myxml = new xmlDocument();
myxml.Load(path + “ShowList.xml“);
//查找 ShowList 节点
xmlNode root = myxml.SelectSingleNode(“ShowList“);
//创建一个Movie节点
xmlElement xel = myxml.CreateElement(“Movie“);
xmlElement xesub1 = myxml.CreateElement(“Name“);
xesub1.InnerText = name;
//添加到 Movie 节点中
xel.AppendChild(xesub1);
xmlElement xesub2 = myxml.CreateElement(“Poster“);
xesub2.InnerText = picName.Substring(index);
xel.AppendChild(xesub2);
xmlElement xesub3 = myxml.CreateElement(“Director“);
xesub3.InnerText = director;
xel.AppendChild(xesub3);
xmlElement xesub4 = myxml.CreateElement(“Actor“);
xesub4.InnerText = actor;
xel.AppendChild(xesub4);
xmlElement xesub5 = myxml.CreateElement(“Type“);
xesub5.InnerText = movieType;
xel.AppendChild(xesub5);
xmlElement xesub6 = myxml.CreateElement(“Price“);
xesub6.InnerText = price;
xel.AppendChild(xesub6);
//添加时间段
xmlElement xel1 = myxml.CreateElement(“Schedule“);
xmlElement xesub7 = myxml.CreateElement(“Item“);
xesub7.InnerText = timer1;
xel1.AppendChild(xesub7);
xmlElement xesub8 = myxml.CreateElement(“Item“);
xesub8.InnerText = timer2;
xel1.Append
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1684 2009-07-24 11:06 51bcw下载必读.txt
文件 913 2008-10-29 19:20 MyCinema.sln
文件 1684 2009-07-24 11:06 MyCinema\51bcw下载必读.txt
文件 6957 2009-06-05 18:37 MyCinema\AddMovieForm.cs
文件 12253 2009-06-05 18:37 MyCinema\AddMovieForm.Designer.cs
文件 6017 2009-06-05 18:37 MyCinema\AddMovieForm.resx
文件 372 2006-04-12 10:18 MyCinema\bin\Debug\(1437).png
文件 313 2006-04-12 10:18 MyCinema\bin\Debug\(2636).png
文件 576 2006-04-12 10:18 MyCinema\bin\Debug\(3539).png
文件 20775 2008-09-02 08:51 MyCinema\bin\Debug\1.jpg
文件 234 2008-11-09 18:08 MyCinema\bin\Debug\12-00 13-45 1-7.txt
文件 216 2008-11-09 18:08 MyCinema\bin\Debug\12-00 13-45 4-4.txt
文件 239 2008-11-09 18:08 MyCinema\bin\Debug\12-00 13-45 4-6.txt
文件 47206 2008-06-08 10:22 MyCinema\bin\Debug\16643_orignal.jpg
文件 13666 2008-09-02 08:45 MyCinema\bin\Debug\2.jpg
文件 214 2009-06-05 18:29 MyCinema\bin\Debug\20-00 21-45 1-1.txt
文件 214 2009-06-05 18:32 MyCinema\bin\Debug\20-00 21-45 1-3.txt
文件 236 2009-06-05 18:34 MyCinema\bin\Debug\20-00 21-45 1-6.txt
文件 214 2009-06-05 18:33 MyCinema\bin\Debug\20-00 21-45 2-4.txt
文件 17949 2008-09-02 08:48 MyCinema\bin\Debug\3.jpg
文件 9044 2008-09-02 09:51 MyCinema\bin\Debug\5.jpg
文件 9755 2008-09-02 09:52 MyCinema\bin\Debug\6.jpg
文件 569533 2007-10-26 11:49 MyCinema\bin\Debug\bone.jpg
文件 8376 2007-10-25 15:52 MyCinema\bin\Debug\gongfu.jpg
文件 516096 2006-08-18 11:50 MyCinema\bin\Debug\IrisSkin2.dll
文件 5213 2009-04-20 21:08 MyCinema\bin\Debug\L057386921740HUA.gif
文件 15156 2006-03-22 05:55 MyCinema\bin\Debug\MacOS.ssk
文件 180224 2009-06-05 18:37 MyCinema\bin\Debug\MyCinema.exe
文件 101888 2009-06-05 18:37 MyCinema\bin\Debug\MyCinema.pdb
文件 5632 2005-11-11 22:25 MyCinema\bin\Debug\MyCinema.vshost.exe
............此处省略46个文件信息
相关资源
- 航空售票客户管理系统
- 面向对象-电影院预售票业务
- 客运售票系统源码
- 数据库系统课程设计_民航机场售票管
- 火车站售票系统 界面
- 火车售票管理系统
- 铁路售票系统
- 影院售票系统-数据同步-三层架构
- 数据库课程设计报告——航班售票管
- 基于wed的飞机售票系统
- 数据库课程设计-航空售票系统 实验报
- VHDL地铁售票系统
- 景区自助售票系统 软件设计规格说明
- 基于QT的售票系统
- 火车售票系统 visual studio
- 铁路售票系统的竞品分析.docx
- 使用vs2008做的影院售票系统
- 电影票售票系统SSH框架
- 仿12306汽车售票系统
- zw_xinghen1993-9700835-售票系统.zip
- 火车售票系统论文数据库
- .NET 车站售票系统
- 地铁自动售票机(基于FPGA)设计
- 电影院剧场售票管理系统
- 电影院售票需求与分析
- 北大青鸟.NET影院售票系统完整版
- 电影院售票后台管理系统SpringBoot+An
- 电影院售票系统
- 北大青鸟S2A8.0版影院售票系统
- 千里达客运站售票软件
评论
共有 条评论