示例#1
0
 public DGTBoxColorColumn(DataGrid dg) : base()
 {
     if (dg != null)
     {
         base.Owner = dg;
     }
     base.ReadOnly = true;
     xF            = NSI.xFF;
 }
示例#2
0
 public DGTBoxColorColumn(DataGrid dg, string sTable)
     : base()
 {
     if (dg != null)
     {
         base.Owner = dg;
     }
     base.TableInd = sTable;
     base.ReadOnly = true;
     xF            = NSI.xFF;
 }
示例#3
0
        static void Main()
        {
            //bool createdNew;
            //Mutex mutex = new Mutex(false, "SpTerminal", out createdNew);
            //if (!createdNew)
            //{
            //    mutex.Close();
            //    return;
            //}
            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();
            // Отключить TouchScreen
            xBCScanner.TouchScr(false);

            //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);

            Application.Run(frmMain);

            ShowTaskbar();

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

            xBCScanner.TouchScr(true);

            Is1st(false);
        }
示例#4
0
 public ServerExchange(MainF x)
 {
     xMF     = x;
     XMLPars = null;
 }