Exemplo n.º 1
0
        static void MainClass2_OnErrorChange(int Change, FCCIntegration.FCCCheck Chk, string ErrorMsg)
        {
            if (!iniFile.FCCSync)
            {
                AlohaTSClass.UnLockTable(iniFile.FCCTerminal, iniFile.FCCEmployee);
            }
            CCustomerDisplay.EndChange(Change);

            MessageForm Mf = new MessageForm("Ошибка оборудования." + Environment.NewLine + ErrorMsg);

            Mf.button1.Visible = false;
            Mf.button3.Visible = false;
            Mf.button2.Text    = "Ок";
            Mf.ShowDialog();
        }
Exemplo n.º 2
0
 static void MainClass2_OnEndChange(int Change, FCCIntegration.FCCCheck Chk)
 {
     CCustomerDisplay.EndChange(Change);
     try
     {
         if (iniFile.FCCNoChangeCashIncome)
         {
             if (Change > 0)
             {
                 ToShtrih.CashIncome(Change / 100);
             }
         }
     }
     catch (Exception e)
     {
         Utils.ToLog("FCC.MainClass2_OnEndChange Error " + e.Message);
     }
 }