Example #1
0
        private void listView1_DoubleClick(object sender, EventArgs e)
        {
            frmAddSD     Obj  = new frmAddSD(this, frm1);
            ListViewItem item = listView1.SelectedItems[0];

            Obj.lblTrip.Text     = tnum.ToString();
            Obj.dtDD.Text        = item.SubItems[1].Text;
            Obj.txtWaybill.Text  = item.SubItems[2].Text;
            Obj.txtBody.Text     = item.SubItems[3].Text;
            Obj.txtPlate.Text    = item.SubItems[4].Text;
            Obj.txtDriver.Text   = item.SubItems[5].Text;
            Obj.txtSource.Text   = item.SubItems[6].Text;
            Obj.dtRDD.Text       = item.SubItems[7].Text;
            Obj.txtLN.Text       = item.SubItems[8].Text;
            Obj.txtCustName.Text = item.SubItems[9].Text;
            Obj.dtDocRecNDC.Text = item.SubItems[10].Text;
            Obj.dtSDRelease.Text = item.SubItems[11].Text;
            Obj.txtSD.Text       = item.SubItems[12].Text;
            Obj.txtRemark.Text   = item.SubItems[13].Text;
            Obj.ShowDialog();
        }
Example #2
0
 public frmViewUnload(frmAddSD frm)
 {
     InitializeComponent();
 }