public void OnPrinterPropertyChange(SPrinterProperty sp) { if (PubFunc.IsFhzl3D() || PubFunc.IsZXHZ3D() || PubFunc.Is3DPrintMachine()) { this.m_NumericUpDown_3DZDownDis.Visible = true; this.m_NumericUpDown_ZAdjustment.Visible = false; } else// (PubFunc.IsKINCOLOR_FLAT_UV()) { this.m_NumericUpDown_3DZDownDis.Visible = false; this.m_NumericUpDown_ZAdjustment.Visible = true; m_NumericUpDown_ZAdjustment.Location = m_NumericUpDown_3DZDownDis.Location; } this.m_Label_3DSandDis.Visible = this.m_Label_3DFusionTime.Visible = this.m_Label_3DSandSpeed.Visible = this.m_NumericUpDown_3DSandDis.Visible = this.m_NumericUpDown_3DFusionTime.Visible = this.m_NumericUpDown_3DSandSpeed.Visible = false; this.cleanSetting3D1.OnPrinterPropertyChange(sp); }