Beispiel #1
0
 public SPOEdit(SPO spo, ListView listView1)
 {
     this.spo = spo;
     this.lv  = listView1;
     InitializeComponent();
     SPONo.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;
     BuyerAccount.Text         = lv.SelectedItems[0].SubItems[6].Text;
     RestNo.Text               = lv.SelectedItems[0].SubItems[7].Text;
     ExpectedDeliveryDate.Text = lv.SelectedItems[0].SubItems[8].Text;
     TAC.Text = lv.SelectedItems[0].SubItems[9].Text;
 }
Beispiel #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            SPO SPO = new SPO();

            SPO.ShowDialog();
        }