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

            this.Hide();
            order.Show();
        }
Beispiel #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();
        }