Beispiel #1
0
        private void radGridView1_CellDoubleClick(object sender, GridViewCellEventArgs e)
        {
            // var lineSelected = radGridView1.SelectedCells[0].RowIndex;
            var    lineSelected = e.RowIndex;
            var    rowSelected  = radGridView1.Rows[lineSelected];
            string tripSelected = Convert.ToString(rowSelected.Cells[0].Value);
            //RadMessageBox.ShowInTaskbar = true;
            //RadMessageBox.Show(tripSelected,"selected!!");

            Form18 f = new Form18();

            Hide();
            f.tripId = Convert.ToInt32(tripSelected);
            openInForm(f);   // GET THIS BACK WHEN DONE!!!
        }
Beispiel #2
0
        private void radGridView1_CellDoubleClick(object sender, GridViewCellEventArgs e)
        {
            var    lineSelected = e.RowIndex;
            var    rowSelected  = radGridView1.Rows[lineSelected];
            string tripSelected = Convert.ToString(rowSelected.Cells[3].Value);
            //RadMessageBox.ShowInTaskbar = true;
            //RadMessageBox.Show(tripSelected, "selected!!");

            Form18 f = new Form18();

            Hide();
            f.radButton1.Visible = false;
            f.radButton3.Visible = true;
            f.tripId             = Convert.ToInt32(tripSelected);
            openInForm(f);
        }