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 CoreFS.CA06; using Pur.Entity; namespace Pur.order { public partial class frmPopNoticeItemSpit : FrmPmsBase { public string tips = "0"; public double num = 1; public frmPopNoticeItemSpit() { InitializeComponent(); } public frmPopNoticeItemSpit(OpeBase OB) { this.ob = OB; InitializeComponent(); } private void btn_doSure_Click(object sender, EventArgs e) { if (Convert.ToDouble(db_Num.Value) >= 2) { tips = "1"; num = Convert.ToDouble(db_Num.Value); this.Close(); } } private void frmPopNoticeItemSpit_Load(object sender, EventArgs e) { db_Num.Value = 2; } } }