예제 #1
0
 private void button_trigger_Click(object sender, EventArgs e)
 {
     if (EpsonLCD.DOCANTEXTILE_SENSOR_INIT() == false)
     {
         string info = ResString.GetEnumDisplayName(typeof(UIError), UIError.TriggerFail);
         MessageBox.Show(info, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         string info = ResString.GetEnumDisplayName(typeof(UISuccess), UISuccess.TriggerSuccess);
         MessageBox.Show(info, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }