public DGTBoxColorColumn(DataGrid dg) : base() { if (dg != null) { base.Owner = dg; } base.ReadOnly = true; xF = NSI.xFF; }
public DGTBoxColorColumn(DataGrid dg, string sTable) : base() { if (dg != null) { base.Owner = dg; } base.TableInd = sTable; base.ReadOnly = true; xF = NSI.xFF; }
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); }
public ServerExchange(MainF x) { xMF = x; XMLPars = null; }