CyManager/UmenusUp.cs
(开头部分) 14KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using Common;
using BLL;
namespace CyManager
{
public partial class UmenusTypeUp : Form
{
int msId;
string f;//单个字符的拼音全称
string s;//存储拼音缩写
string guige;//存储口味字符串
CMenus menu = new CMenus();
/// <summary>
/// 查询所有商品库存信息的事件
/// </summary>
public event Del EveMenusQuery;
public UmenusTypeUp()
{
InitializeComponent();
}
public UmenusTypeUp(CMenus m)
{
InitializeComponent();
menu = m;
}
private ComboBox[] comboBoxs = new ComboBox[4];
private TextBox[] textBoxs = new TextBox[4];
private void UmenusUp_Load(object sender, EventArgs e)
{
msId = menu.CmsId1;
this.txtName.Text = menu.CmsName1;
this.txtSpell.Text = menu.CmsSpell1;
//modify by james 2014.3.16 加载菜单类型
this.bindcboMtype();
this.cboMType.SelectedValue = menu.CmtId1;
//this.cboMType.Items.Add(BLLMenuType.BLLMenuTypeIDQuery (menu.CmtId1 ));
this.cboUnit.Text = menu.CmsUnit1;
this.txtSName.Text = BLLStorehouseType.BLLStorehouseIDQName(menu.CstId1);
this.txtPrice.Text = menu.CmsPrice1.ToString();
this.txtScalar.Text = menu.CmsScalar1.ToString();
this.txtCost.Text = menu.CmsCost1.ToString();
this.txtMoney.Text = menu.CmsMoney1.ToString();
this.textBox1.Text = menu.CmsVipPrice1.ToString();
if (menu.CmsGuQing1) RbtnGuqing.Checked = true;
else RbtnGuqingFalse.Checked = true;
#region 读取口味,并写入口味文本框
try
{
guige = menu.Taste.ToString();
if (!string.IsNullOrEmpty(guige))
{
后面还有 322 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。