public void OnPrinterPropertyChange(SPrinterProperty sp) { if (sp.IsDocan() || sp.bSupportDoubleMachine) { m_CheckBoxFlatBed.Visible = true; } else { m_CheckBoxFlatBed.Visible = false; } // if(sp.bSupportYEncoder) // { // m_CheckBoxUseYEncoder.Visible = true; // } // else { m_CheckBoxUseYEncoder.Visible = false; } }