Esempio n. 1
0
 private void button_set_Click(object sender, EventArgs e)
 {
     OnGetPrinterSetting(ref m_PrinterSetting);
     if (EpsonLCD.SetGmaCleanParam(_gmaCleanParam) == 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);
     }
 }