Beispiel #1
0
 public CPAEdit(CPA CPA, ListView listView1)
 {
     this.CPA = CPA;
     this.lv  = listView1;
     InitializeComponent();
     ContractNo.Text     = lv.SelectedItems[0].Text;
     SupplierNo.Text     = lv.SelectedItems[0].SubItems[1].Text;
     CreationDate.Text   = lv.SelectedItems[0].SubItems[2].Text;
     EffectiveDate.Text  = lv.SelectedItems[0].SubItems[3].Text;
     BuyerName.Text      = lv.SelectedItems[0].SubItems[4].Text;
     BillingAddress.Text = lv.SelectedItems[0].SubItems[5].Text;
     TAC.Text            = lv.SelectedItems[0].SubItems[6].Text;
     ItemID.Text         = lv.SelectedItems[0].SubItems[7].Text;
 }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            CPA CPA = new CPA(this);

            CPA.ShowDialog();
        }