Exemplo n.º 1
0
        private void openFolderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.imagePalette.Images.Clear();
            this.imagePalette.Images.AddRange(FileIo.ReadImagesFromFolder().ToArray());
            this.imagePaletteLabel.Text = this.imagePalette.Images.Count + @" images in palette";
            this.enablePictureMosaicControls();

            if (this.imagePalette.Images.Count > 0)
            {
                this.viewPaletteButton.Enabled = true;
            }
        }