コード例 #1
0
 private void dataGridViewJournal_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridViewJournal.LeftClickRowValid)                                                   // Click expands it..
     {
         ExtendedControls.InfoForm info = new ExtendedControls.InfoForm();
         leftclicksystem.FillInformation(out string EventDescription, out string EventDetailedInfo);
         string infodetailed = EventDescription.AppendPrePad(EventDetailedInfo, Environment.NewLine);
         info.Info((EDDiscoveryForm.EDDConfig.ConvertTimeToSelectedFromUTC(leftclicksystem.EventTimeUTC)) + ": " + leftclicksystem.EventSummary,
                   FindForm().Icon, infodetailed);
         info.Size = new Size(1200, 800);
         info.Show(FindForm());
     }
 }
コード例 #2
0
 private void dataGridViewJournal_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (leftclickrow >= 0)                                                   // Click expands it..
     {
         ExtendedControls.InfoForm info = new ExtendedControls.InfoForm();
         leftclicksystem.journalEntry.FillInformation(out string EventDescription, out string EventDetailedInfo);
         string infodetailed = EventDescription.AppendPrePad(EventDetailedInfo, Environment.NewLine);
         info.Info((EDDiscoveryForm.EDDConfig.DisplayUTC ? leftclicksystem.EventTimeUTC : leftclicksystem.EventTimeLocal) + ": " + leftclicksystem.EventSummary,
                   FindForm().Icon, infodetailed);
         info.Size = new Size(1200, 800);
         info.Show(FindForm());
     }
 }