Exemplo n.º 1
0
        private void toolStripButton5_Click(object sender, EventArgs e)
        {
            Order_Full_info ofi = new Order_Full_info();

            ofi.jo_transno.Text = rmv_transno.Text;
            ofi.ShowDialog();
        }
Exemplo n.º 2
0
        private void dgv_pending_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            int indexRow;

            indexRow = e.RowIndex;
            DataGridViewRow row = dgv_pending.Rows[indexRow];
            Order_Full_info ofi = new Order_Full_info();

            ofi.jo_transno.Text = row.Cells[0].Value.ToString();
            ofi.ShowDialog();
        }
Exemplo n.º 3
0
        private void dgv_delivery_details_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            Order_Full_info ofi = new Order_Full_info();
            int             indexRow;

            indexRow = e.RowIndex;
            DataGridViewRow row = dgv_delivery_details.Rows[indexRow];

            ofi.jo_transno.Text     = row.Cells[0].Value.ToString();
            ofi.jo_soldto.Text      = row.Cells[1].Value.ToString();
            ofi.jo_destination.Text = row.Cells[3].Value.ToString();

            ofi.jo_contactno.Text   = row.Cells[2].Value.ToString();
            ofi.jo_noitems.Text     = row.Cells[5].Value.ToString();
            ofi.jo_totalqty.Text    = row.Cells[6].Value.ToString();
            ofi.jo_totalweight.Text = row.Cells[7].Value.ToString();
            ofi.jo_totalamount.Text = row.Cells[8].Value.ToString();
            ofi.jo_dtordered.Text   = row.Cells[9].Value.ToString();
            ofi.jo_transtype.Text   = row.Cells[10].Value.ToString();
            ofi.ShowDialog();
        }