public static void LogError(string text) { Logs.Add(new Log { Text = text, LogType = LogType.Error }); if (_form.IsDisposed) { _form = new FormLogs(); _form.Show(); } _form.UpdateLogs(); }
public static void Show() { _form = new FormLogs(); _form.Show(); }