private void ShowStatusForm(bool show) { if (statusForm == null) { statusForm = new StatusForm(Data, this); foreach (string logEntry in log) { statusForm.AddLogEntry(logEntry); } } statusForm.Visible = show; }