Пример #1
0
        public frmDLP()
        {
            InitializeComponent();
            m_screenid = "";
            m_rect = new MonitorConfig.MRect();
            //if we're not set correctly, default to full screen
            m_rect.top = 0.0f;
            m_rect.left = 0.0f;
            m_rect.bottom = 1.0f;
            m_rect.right = 1.0f;

            m_tmr = new Timer();
            m_tmr.Interval = 1000;
            m_tmr.Tick += new EventHandler(m_tmr_Tick);
            m_tmr.Start();
            UVDLPApp.Instance().m_buildmgr.PrintLayer += new delPrinterLayer(PrintLayer);
        }
Пример #2
0
 /// <summary>
 /// This sets the screen identifier and display portion so this form knows which screen to display into
 /// </summary>
 /// 
 public void Setup(string screenid, MonitorConfig.MRect rect)
 {
     m_screenid = screenid;
     m_rect = rect;
 }
Пример #3
0
 /// <summary>
 /// This sets the screen identifier and display portion so this form knows which screen to display into
 /// </summary>
 /// 
 public void Setup(string screenid, MonitorConfig monitorconfig)
 {
     m_screenid = screenid;
     m_monitorconfig = monitorconfig;
     m_rect = monitorconfig.m_monitorrect;
 }