Пример #1
0
        private void dataGridView2_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            string row_ind = (string)((DataGridView)sender).CurrentRow.HeaderCell.Value;

            DelDiagnosticData_ DelGetDiagInfo = new DelDiagnosticData_(getDiagInfo);

            LevPointDiagnosticInfo LevPointDiagInfoForm = new LevPointDiagnosticInfo(DelGetDiagInfo, Convert.ToInt32(row_ind));

            LevPointDiagInfoForm.ShowDialog();
        }
Пример #2
0
        /// <summary>
        /// Get the diagnostic info by double click row header to.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            string row_ind = (string)((DataGridView)sender).CurrentRow.HeaderCell.Value;

            DelDiagnosticData_ DelGetDiagInfo = new DelDiagnosticData_(getDiagInfo);

            LevPointDiagnosticInfo LevPointDiagInfoForm = new LevPointDiagnosticInfo(DelGetDiagInfo, Convert.ToInt32(row_ind));

            LevPointDiagInfoForm.ShowDialog();

            //MessageBox.Show("row header double click", "double click", MessageBoxButtons.OKCancel);
        }