using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace OAM { public partial class frmWorkBillView_Dlg : Form { public frmWorkBillView_Dlg() { InitializeComponent(); } public long HInterID; public String HType; public int isOK; private void cmdHEvaluateStatusID_Click(object sender, EventArgs e) { } private void cmdSend_Click(object sender, EventArgs e) { if (HType == "yzpj" && (DBUtility.ClsPub.isLong(txtHEvaluateStatusID.SelectedIndex) == 0 || DBUtility.ClsPub.isLong(txtHEvaluateStatusID.SelectedIndex) == -1)) { MessageBox.Show("请输入评价!"); return; } isOK = 1; this.Hide(); } private void cmdCancel_Click(object sender, EventArgs e) { isOK = 0; this.Close(); } } }