private void VisionMainForm_Load(object sender, EventArgs e) { string str = "this is a logger"; WriteLog.BindListBox(listBox1); WriteLog.ShowMsgToListBox(str); }