Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            //MessageBox.Show(listView1.SelectedItems[0].ToString());
            if (listView1.SelectedItems.Count > 0)
            {
                ReceivingServices receivingservices = new ReceivingServices();
                receivingservices.dateTimePicker1.Text = listView1.SelectedItems[0].SubItems[2].Text;
                receivingservices.payer.Text           = listView1.SelectedItems[0].SubItems[4].Text;
                receivingservices.fileno.Text          = listView1.SelectedItems[0].SubItems[0].Text;
                receivingservices.CustomerRefNo.Text   = listView1.SelectedItems[0].SubItems[1].Text;
                receivingservices.ServiceName.Text     = listView1.SelectedItems[0].SubItems[3].Text;
                receivingservices.DebitAmount.Text     = listView1.SelectedItems[0].SubItems[5].Text;
                receivingservices.ChequeNo.Text        = listView1.SelectedItems[0].SubItems[6].Text;
                receivingservices.ChequeDate.Text      = listView1.SelectedItems[0].SubItems[7].Text;
                receivingservices.CreditAmount.Text    = listView1.SelectedItems[0].SubItems[8].Text;
                receivingservices.Remarks.Text         = listView1.SelectedItems[0].SubItems[9].Text;

                receivingservices.Show();
            }
        }
Ejemplo n.º 2
0
        private void button11_Click(object sender, EventArgs e)
        {
            ReceivingServices receivingservices = new ReceivingServices();

            receivingservices.Show();
        }