using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WarM { public partial class Kf_SellOutBillChangePrice : Form { public Kf_SellOutBillChangePrice() { InitializeComponent(); } public bool bOK; private void cmdOK_Click(object sender, EventArgs e) { if (DBUtility.ClsPub.isDoule(txtHNewPrice.Text) > 0) { bOK = true; this.Visible = false; } else { if (MessageBox.Show("е¥¼ÛΪ0£¬ÊÇ·ñ¼ÌÐø±ä¸ü£¿", "Ìáʾ", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) { bOK = true; this.Visible = false; } else { } } } private void cmdCancel_Click(object sender, EventArgs e) { bOK = false; this.Visible = false; } } }