private void button13_Click(object sender, EventArgs e) { FormCustAdressadd Fcad = new FormCustAdressadd(); Fcad.type = "add"; Fcad.custid = this.custid; Fcad.customeraddFormChange += new FormCustAdressadd.CustomerAddFormChange(init_muladd); Fcad.ShowDialog(); init_muladd(); }
private void button11_Click(object sender, EventArgs e) { if (dataGridView_CustomerAdd.SelectedRows.Count > 0) { if (this.dataGridView_CustomerAdd.SelectedRows[0].Cells["系统编号"].Value == null) { return; } string sysid_ = dataGridView_CustomerAdd.SelectedRows[0].Cells["系统编号"].Value.ToString().Trim(); if (sysid_ == "") { return; } FormCustAdressadd Fcad = new FormCustAdressadd(); Fcad.customeraddFormChange += new FormCustAdressadd.CustomerAddFormChange(init_lxr); Fcad.type = "edit"; Fcad.custid = this.custid; Fcad.sysid_ = sysid_; Fcad.ShowDialog(); init_muladd(); } }
private void button11_Click(object sender, EventArgs e) { if (dataGridView_CustomerAdd.SelectedRows.Count > 0) { if (this.dataGridView_CustomerAdd.SelectedRows[0].Cells["系统编号"].Value == null) return; string sysid_ = dataGridView_CustomerAdd.SelectedRows[0].Cells["系统编号"].Value.ToString().Trim(); if (sysid_ == "") return; FormCustAdressadd Fcad = new FormCustAdressadd(); Fcad.customeraddFormChange += new FormCustAdressadd.CustomerAddFormChange(init_lxr); Fcad.type = "edit"; Fcad.custid = this.custid; Fcad.sysid_ = sysid_; Fcad.ShowDialog(); init_muladd(); } }