private void buttonSndHello_Click(object sender, EventArgs e) { string reStr = ""; bool re = printer.SndHelloInfo(ref reStr); AddLog(reStr); }