private void OpenChecklists() { if ((CLForm == null) || ((!CLForm.Visible) && (!HideGUI))) { CLForm = new frmChecklist(); CLForm.AcceptedChecklistCmds = AcceptedChecklistCmds; if (!HideGUI) { CLForm.Show(); } if (CLForm.LoadChecklistFile(ActiveCLFilename)) { CLForm.SetAudioPath(AudioPath); CLForm.ShowNoActiveChecklist(); } else { Console.Beep(); } } if ((ProcForm == null) || ((!ProcForm.Visible) && (!HideGUI))) { ProcForm = new frmProcedure(); UpdateConnectionsLabel(); ProcForm.checklistForm = CLForm; if (!HideGUI) { ProcForm.Show(); } ProcForm.ShowNoActiveProcedure(); if (ProcForm.LoadChecklistFile(ActiveCLFilename)) { ProcForm.ShowNoActiveProcedure(); } else { Console.Beep(); } } }
private void OpenChecklists() { if ((CLForm == null) || ((!CLForm.Visible) && (!HideGUI))) { CLForm = new frmChecklist(); CLForm.AcceptedChecklistCmds = AcceptedChecklistCmds; if (!HideGUI) { CLForm.Show(); } if (CLForm.LoadChecklistFile(ActiveCLFilename)) { CLForm.SetAudioPath(AudioPath); CLForm.ShowNoActiveChecklist(); } else { Console.Beep(); } } }