Esempio n. 1
0
        public static void RunWriteRead()
        {
            Thread thread = _thread;

            OnlineBooking.RunWrite();
            _thread = thread;

            OnlineBooking.RunRead();
        }
Esempio n. 2
0
        public static void RunThreadWriteAsk()
        {
            if (Program.Form.InvokeRequired)
            {
                Program.Form.Invoke(new Action(RunThreadWriteAsk));
                return;
            }

            DialogResult result = MessageBox.Show(
                Program.Form,
                "Zurücksetzen erfolgreich. Möchten Sie jetzt die Daten neu Senden?",
                "Online Buchungen",
                MessageBoxButtons.YesNo,
                MessageBoxIcon.Question
                );

            if (result == DialogResult.Yes)
            {
                OnlineBooking.RunThreadWrite();
            }
        }
Esempio n. 3
0
 private void buttonBookingRemoveAva_Click(object sender, EventArgs e)
 {
     OnlineBooking.RunThreadReset();
 }
Esempio n. 4
0
 private void cmdRunRead_Click(object sender, EventArgs e)
 {
     OnlineBooking.RunThreadRead();
 }
Esempio n. 5
0
 private void cmdRunWrite_Click(object sender, EventArgs e)
 {
     OnlineBooking.RunThreadWrite();
 }
Esempio n. 6
0
 private void timerRead_Tick(object sender, EventArgs e)
 {
     OnlineBooking.RunThreadWriteRead();
 }
Esempio n. 7
0
 private void cmdStart_Click(object sender, EventArgs e)
 {
     OnlineBooking.StopThread();
 }