Exemplo n.º 1
0
        private void 子客户管理toolStripButton5_Click(object sender, EventArgs e)
        {
            if (this.dataGridViewCustmer.SelectedRows.Count <= 0)
            {
                return;
            }
            if (this.dataGridViewCustmer.SelectedRows[0].Cells["客户编号"].Value == null)
            {
                return;
            }
            string custid = this.dataGridViewCustmer.SelectedRows[0].Cells["客户编号"].Value.ToString().Trim();

            Customer_RelaAdd custrela = new Customer_RelaAdd("edit", custid);

            custrela.ShowDialog();
        }
Exemplo n.º 2
0
        private void 子客户管理toolStripButton5_Click(object sender, EventArgs e)
        {
            if (this.dataGridViewCustmer.SelectedRows.Count <= 0) return;
            if (this.dataGridViewCustmer.SelectedRows[0].Cells["客户编号"].Value == null) return;
            string custid = this.dataGridViewCustmer.SelectedRows[0].Cells["客户编号"].Value.ToString().Trim();

            Customer_RelaAdd custrela = new Customer_RelaAdd("edit", custid);
            custrela.ShowDialog();
        }