private void button_set_Click(object sender, EventArgs e) { OnGetPrinterSetting(ref m_PrinterSetting); if (EpsonLCD.SetDocanTextileCleanParam(_docanTextileParam) == false) { string info = ResString.GetEnumDisplayName(typeof(UIError), UIError.SetCleanParamFail); MessageBox.Show(info, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); } else { string info = ResString.GetEnumDisplayName(typeof(UISuccess), UISuccess.SetCleanParamSuccess); MessageBox.Show(info, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); } }