Ejemplo n.º 1
0
        private void yesButton_Click(object sender, EventArgs e)
        {
            var comic = comicsView.SelectedItems[0].Text;

            _project.AddFinishedFile(comic + ";yes");
            comicsView.SelectedItems[0].SubItems[1].Text = "Yes";
            SaveManager.SaveProject(_project);
        }
Ejemplo n.º 2
0
        private void yesButton_Click(object sender, EventArgs e)
        {
            // Disable the buttons.
            ToggleButtons(false);

            // Add the file to the list of finished images.
            _project.AddFinishedFile(Path.GetFileName(_currentImageLocation));

            // Add the last file to the history.
            _project.AddHistory("yes," + _currentImageLocation);
            prevButton.Enabled = true;

            // Load the next image.
            LoadImage(FindNextImage());

            // Reenable the buttons.
            ToggleButtons(true);

            // Save the project.
            SaveManager.SaveProject(_project);
        }