Exemplo n.º 1
0
        //Right now just opens create order page, does not fill with selected movie
        private void MovieSuggestionGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var senderGrid = (DataGridView)sender;

            if (senderGrid.Columns[e.ColumnIndex] is DataGridViewButtonColumn &&
                e.RowIndex >= 0)
            {
                CreateOrder createOrder = new CreateOrder();
                createOrder.Show();
            }
        }
Exemplo n.º 2
0
        private void CreateOrder_Click(object sender, EventArgs e)
        {
            CreateOrder createOrder = new CreateOrder();

            createOrder.Show();
        }