Example #1
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            UCViewOrders      v  = new UCViewOrders();
            frmViewOrderItems vi = new frmViewOrderItems();

            v.Controls.Add(vi);
            vi.BringToFront();
            vi.Dock = DockStyle.Fill;
        }
Example #2
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            UCViewOrders      v  = new UCViewOrders();
            frmViewOrderItems vi = new frmViewOrderItems();

            v.splitContainer1.Controls.Add(vi);
            vi.BringToFront();
            vi.Dock = DockStyle.Fill;
        }
Example #3
0
        private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmViewOrderItems vi = new frmViewOrderItems();

            vi.ShowDialog();
        }