Ejemplo n.º 1
0
        private async void DeleteBuildClicked(object sender, MouseButtonEventArgs e)
        {
            if (isButtonBeingPressed)
            {
                return;
            }
            isButtonBeingPressed = true;
            await Task.Delay(Opt.buttonDelay);

            isButtonBeingPressed = false;
            ImageButton imageButton = (ImageButton)sender;

            Builds.DeleteBuild(imageButton.uniqueBuildId);
            DisplayContent();
        }