Exemple #1
0
 private void butsave_Click_1(object sender, EventArgs e)
 {
     FormCustInvoiceAdd FCIA = new FormCustInvoiceAdd();
     FCIA.type = "add";
     FCIA.custid = this.custid;
     FCIA.customerfpFormChange += new FormCustInvoiceAdd.CustomerfpFormChange(init_fp);
     FCIA.ShowDialog();
     init_fp();
 }
Exemple #2
0
        private void butsave_Click_1(object sender, EventArgs e)
        {
            FormCustInvoiceAdd FCIA = new FormCustInvoiceAdd();

            FCIA.type   = "add";
            FCIA.custid = this.custid;
            FCIA.customerfpFormChange += new FormCustInvoiceAdd.CustomerfpFormChange(init_fp);
            FCIA.ShowDialog();
            init_fp();
        }
Exemple #3
0
 private void button9_Click(object sender, EventArgs e)
 {
     if (dataGridView_Invoice.SelectedRows.Count > 0)
     {
         if (this.dataGridView_Invoice.SelectedRows[0].Cells["系统编号"].Value == null)
         {
             return;
         }
         string sysid_ = dataGridView_Invoice.SelectedRows[0].Cells["系统编号"].Value.ToString().Trim();
         if (sysid_ == "")
         {
             return;
         }
         FormCustInvoiceAdd FCIA = new FormCustInvoiceAdd();
         FCIA.customerfpFormChange += new FormCustInvoiceAdd.CustomerfpFormChange(init_lxr);
         FCIA.type   = "edit";
         FCIA.custid = this.custid;
         FCIA.sysid_ = sysid_;
         FCIA.ShowDialog();
         init_fp();
     }
 }
Exemple #4
0
 private void button9_Click(object sender, EventArgs e)
 {
     if (dataGridView_Invoice.SelectedRows.Count > 0)
     {
         if (this.dataGridView_Invoice.SelectedRows[0].Cells["系统编号"].Value == null) return;
         string sysid_ = dataGridView_Invoice.SelectedRows[0].Cells["系统编号"].Value.ToString().Trim();
         if (sysid_ == "") return;
         FormCustInvoiceAdd FCIA = new FormCustInvoiceAdd();
         FCIA.customerfpFormChange += new FormCustInvoiceAdd.CustomerfpFormChange(init_lxr);
         FCIA.type = "edit";
         FCIA.custid = this.custid;
         FCIA.sysid_ = sysid_;
         FCIA.ShowDialog();
         init_fp();
     }
 }