示例#1
0
        private void toolStripButton1_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();

            FormSetCustRela fr = new FormSetCustRela();

            fr.custid = custid;
            fr.ShowDialog();
        }
示例#2
0
        private void toolStripButton1_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();

            FormSetCustRela fr = new FormSetCustRela();
            fr.custid = custid;
            fr.ShowDialog();
        }