private void Btn_viewOrder_Click(object sender, EventArgs e)
        {
            OrdersDetails order = new OrdersDetails(orderNum, idNum);

            this.Hide();
            order.Show();
        }
Ejemplo n.º 2
0
        private void DataGridView1_DoubleClick(object sender, EventArgs e)
        {
            int.TryParse(dataGridView1.CurrentRow.Cells[7].Value.ToString(), out orderNum);
            var orderDetails = new OrdersDetails(orderNum);

            orderDetails.Show();
            this.Hide();
        }