private void 刷新ToolStripMenuItem_Click(object sender, EventArgs e) { lblwait.showme(); List <T_Base> asd = schText(); ShowData(asd); lblwait.hideme(); }
private void menu导出Excel_Click(object sender, EventArgs e) { if (this.mainDgv.RowCount == 0) { return; } lblwait.showme(); this.mainDgv.saveExcel("染化料用量"); lblwait.hideme(); }
private void button11_Click(object sender, EventArgs e) { if (MessageBox.Show((IWin32Window)this, "确认 保存 吗 ?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.No || !this.yanzheng()) { return; } lblwait.showme(); if (editBtnSave.Text == "保存") { if (Save()) { int num = (int)MessageBox.Show((IWin32Window)this, "保存成功!!!", "提示"); doublelist(this, -1L); SetReadOnly(true); Close(); } } else if (this.editBtnSave.Text == "修改" && this.editLD()) { int num = (int)MessageBox.Show((IWin32Window)this, "修改成功!!!", "提示"); doublelist(this, -1L); SetReadOnly(true); Close(); } panel1.Visible = false; lblwait.hideme(); }
private void 导出ToolStripMenuItem_Click_1(object sender, EventArgs e) { if (this.mainDgv.Rows.Count == 0) { return; } lblwait.showme(); this.mainDgv.saveExcel("配方成本"); lblwait.hideme(); }
private void menu导出Excel_Click(object sender, EventArgs e) { if (this.dgvMain.Rows.Count == 0) { return; } lblwait.showme(); this.dgvMain.saveExcel("用户"); lblwait.hideme(); }
public void ReFlsh() { lblwait.showme(); RLdata(schData()); lblwait.hideme(); }
private void Search_Load(object sender, EventArgs e) { lblwait.showme(); refView(schData()); lblwait.hideme(); }
private void RF() { lblwait.showme(); Showg(SeachInput()); lblwait.hideme(); }