Exemplo n.º 1
0
        public void OnPrinterPropertyChange(SPrinterProperty sp)
        {
            _printerProperty = sp;
            m_bNewXaar382    = SPrinterProperty.IsNewXaar382(sp.ePrinterHead);
            if (m_bNewXaar382)
            {
                m_KonicTemperatureSetting1.Visible  = false;
                this.xaarTempertureSetting1.Visible = true;
                this.xaarTempertureSetting1.Dock    = DockStyle.Fill;
                this.xaarTempertureSetting1.OnPrinterPropertyChange(sp);
            }
            else
            {
                m_KonicTemperatureSetting1.Visible  = true;
                this.xaarTempertureSetting1.Visible = false;
//				this.m_KonicTemperatureSetting1.Dock = DockStyle.Fill;
                m_KonicTemperatureSetting1.OnPrinterPropertyChange(sp);
                this.Width = m_KonicTemperatureSetting1.Width + 8;
            }
        }