private void setNoteToolStripMenuItem_Click(object sender, EventArgs e) { if (rightclicksystem != null) { using (Forms.SetNoteForm noteform = new Forms.SetNoteForm(rightclicksystem, discoveryform)) { if (noteform.ShowDialog(this) == DialogResult.OK) { discoveryform.StoreSystemNote(rightclicksystem, noteform.NoteText, true); } } } }
private void setNoteToolStripMenuItem_Click(object sender, EventArgs e) { if (rightclicksystem != null) { using (Forms.SetNoteForm noteform = new Forms.SetNoteForm(rightclicksystem, discoveryform)) { if (noteform.ShowDialog(FindForm()) == DialogResult.OK) { rightclicksystem.SetJournalSystemNoteText(noteform.NoteText, true, EDCommander.Current.SyncToEdsm); discoveryform.NoteChanged(this, rightclicksystem, true); } } } }