Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 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();
     }
 }
Esempio n. 3
0
 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();
     }
 }
Esempio n. 4
0
 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();
 }