Inheritance: System.Windows.Forms.Form
コード例 #1
0
 private void dgvResults_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left && e.RowIndex >= 0)
     {
         LogMessageSerializable item = (LogMessageSerializable)dgvResults.Rows[e.RowIndex].Cells["Object"].Value;
         FrmShowError           win  = new FrmShowError();
         win.TxtMessage.Text = item.ToString();
         win.Show();
         win.TxtMessage.Select(0, 0);
     }
 }
コード例 #2
0
 private void dgvResults_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left && e.RowIndex >= 0)
     {
         LogMessageSerializable item = (LogMessageSerializable)dgvResults.Rows[e.RowIndex].Cells["Object"].Value;
         FrmShowError win = new FrmShowError();
         win.TxtMessage.Text = item.ToString();
         win.Show();
         win.TxtMessage.Select(0,0);
     }
 }