Exemple #1
0
        private void ListView_Log_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            string        logStr = this.ListView_Log.FocusedItem.ToolTipText;
            LogDetailView ldv    = new LogDetailView(logStr);

            ldv.ShowDialog();
        }
Exemple #2
0
        private void dgv_logDetail_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            string        logStr = this.dgv_logDetail.CurrentRow.Cells["日志内容"].Value.ToString();
            LogDetailView ldv    = new LogDetailView(logStr);

            ldv.ShowDialog();
        }