public void OnPrinterPropertyChange(SPrinterProperty sp)
        {
#if SHIDAO
            inkTankStatusControl1.OnPrinterPropertyChanged(sp);
            purgeControl1.OnPrinterPropertyChanged(sp);
#endif
            maintenanceSystemStatus1.OnPrinterPropertyChanged(sp);

            gzPurgeControl1.Visible = SPrinterProperty.IsGongZengUv();
            gzPurgeControl1.OnPrinterPropertyChanged(sp);
        }
Exemple #2
0
        public void OnPrinterPropertyChange(SPrinterProperty sp)
        {
#if SHIDAO
            inkTankStatusControl1.OnPrinterPropertyChanged(sp);
            purgeControl1.OnPrinterPropertyChanged(sp);
#endif
            if (PubFunc.SupportLengthProgress())
            {
                m_IsLengthProgress = true;
            }

            maintenanceSystemStatus1.OnPrinterPropertyChanged(sp);
            m_bShowGzPurgeControl   = sp.ShowGzPurgeControl();
            gzPurgeControl1.Visible = m_bShowGzPurgeControl;
            if (m_bShowGzPurgeControl)// gzPurgeControl1控件按最大8色设计,自由布局下不显示则不进行初始化
            {
                gzPurgeControl1.OnPrinterPropertyChanged(sp);
            }
        }