Esempio n. 1
0
        private async void undoClick(object sender, EventArgs e)
        {
            sendDumbyFocus();
            if (lastOrder != null)
            {
                await Firebase.DeleteAsync("Orders", lastOrder);

                lastOrder          = null;
                lastClicked        = null;
                undoButton.Enabled = false;
            }
        }
Esempio n. 2
0
 private async void formClosing(object sender, FormClosingEventArgs e)
 {
     backgroundWorker.CancelAsync();
     await Firebase.DeleteAsync("Waiters", user.username);
 }
        private async void confirmClick(object sender, EventArgs e)
        {
            await Firebase.DeleteAsync("Employees", Employee_Box.Text);

            this.Close();
        }