public void OnPrinterSettingChange(SPrinterSetting ss, SPrinterProperty sp) { m_PrinterSetting = ss; if (EpsonLCD.GetDocanTextileCleanParam(ref _docanTextileParam)) { numericUpDown_xStartPos.Value = _docanTextileParam.xStartPos; numericUpDown_zCLeanPos.Value = _docanTextileParam.zCLeanPos; numericUpDown_PressInkTime.Value = _docanTextileParam.PressInkTime; numericUpDown_ZSensorErrRange.Value = _docanTextileParam.ZSensorErrRange; numericUpDown_ZSensorCurVal.Value = _docanTextileParam.ZSensorCurVal; } }