public static void showLog() { ListForm lf = new ListForm(); string text = ""; foreach (string str in m_log) { text += (str + "\r\n"); } lf.setText(text); lf.ShowDialog(); }