void Clear() { if (memoryLog != null) { memoryLog.Clear(); } for (int i = 0; i < showTagsNum.Length; ++i) { showTagsNum[i] = 0; } }
/// <summary> /// ログのクリア /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { memory_log.Clear(); log_list.Clear(); UpdateListBox(); }