Exemple #1
0
        //display new order form once click
        private void OderListGridView_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            int          bid = int.Parse(this.OderListGridView.CurrentRow.Cells[0].Value.ToString());
            NewOrderForm bkf = new NewOrderForm(bid);

            bkf.ShowDialog();
        }
Exemple #2
0
        // open new order form
        private void ButtonNewOder_Click(object sender, EventArgs e)
        {
            NewOrderForm nof = new NewOrderForm();

            nof.Show();
        }