Esempio n. 1
0
        async void saveAsTSB_Click(object sender, EventArgs e)
        {
            var file = ActionForm.GetGifSaveLocation(ActionForm.Action.SaveAs);

            if (string.IsNullOrEmpty(file))
            {
                return;
            }

            await doSave(file);
        }
Esempio n. 2
0
        async Task Stop()
        {
            if (stopped)
            {
                return;
            }
            stopped = true;

            selectedRectangle = oversizedRect = Rectangle.Empty;
            captureT.Enabled  = false;

            playPauseB.Visible = stopB.Visible = false;
            timeL.Text         = "";
            Invalidate();
            await SaveAsync(ActionForm.GetGifSaveLocation());
        }