魔方电影售票管理系统/frm_Booking.cs
(开头部分) 16KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 魔方电影售票管理系统
{
public partial class frm_Booking : Form
{
public frm_Booking()
{
InitializeComponent();
this.ForeColor = frm_Setform.colors;
this.Font = frm_Setform.font;
}
public frm_Booking(string fileName, string fileType, string zhuyan, string daoyan, string language, string date, string time, string price, string profile, string hall, string votes)
{
InitializeComponent();
this.txt_fileName.Text = fileName;
this.txt_fileType.Text = fileType;
this.txt_zhuyan.Text = zhuyan;
this.txt_daoyan.Text = daoyan;
this.txt_language.Text = language;
this.txt_date.Text = date;
this.txt_time.Text = time;
this.txt_price.Text = price;
this.txt_hall.Text = hall;
this.txt_profile.Text = profile;
this.txt_piaoshu.Text = votes;
}
/// <summary>
/// 加载
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
int piaoshu = 0;//剩余票数
private void frm_Booking_Load(object sender, EventArgs e)
{
txt_jiage.Text = this.txt_price.Text;
cbb_zhekou.SelectedIndex = 0;
cbb_zuowei.SelectedIndex = 1;
label22.Text = "请输入身份证号码!!!";
label23.Text = "请输入的联系方式!!!";
piaoshu = Convert.ToInt32(txt_piaoshu.Text);
//合计
txt_heji.Text = (Convert.ToDouble(txt_jiage.Text) * Convert.ToDouble(nud_Num.Value)).ToString();
}
/// <summary>
/// 座位
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void cbb_zuowei_SelectedIndexChanged(object sender, EventArgs e)
{
后面还有 326 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。