Esempio n. 1
0
            public FuncPanel(MainF f)
            {
                xF         = f;
                pInvisible = xF.pnLoadDoc.Location;
#if DOLPH7850
                nWMDelta = -10;
#else
                nWMDelta = 0;
#endif

                pVisible = new Point(6, 60);
                bActive  = false;
            }
Esempio n. 2
0
        static void Main()
        {
            if (false == Is1st(true))
            {
                return;
            }

            // сканер
            BarcodeScanner xBCScanner = BarcodeScannerFacade.GetBarcodeScanner(null);

            // Новая рабочая область - весь экран
            Rectangle rtDesktop, rtNew;

            rtDesktop = Screen.PrimaryScreen.Bounds;
            rtNew     = new Rectangle(0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);

            // отключить экран
            //TouchPanelDisable();


            //oKeyW = new MessageHooker();			// создание инициализация
            //oKeyW.SetHook();						// установка обработчика

            //Rectangle rtNew = new Rectangle();
            SetRect(ref rtNew, 0, 0, 240, 320);

            SystemParametersInfo(47, 0, ref rtNew, 1);

            HideTaskbar();

            MainF frmMain = new MainF(xBCScanner, rtNew);

            Application.Run(frmMain);

            ShowTaskbar();

            SystemParametersInfo(47, 0, ref rtDesktop, 1);
            //mutex.Close();
            Is1st(false);
        }