Click here to Skip to main content
15,891,704 members
Articles / Desktop Programming / Windows Forms

Crystal Image Toolkit: thumbnail image control and picture viewing.

Rate me:
Please Sign up or sign in to vote.
4.68/5 (21 votes)
11 May 2011LGPL37 min read 109.8K   8.3K   95  
Thumbnail and image viewing controls for Windows Forms, using C#.
namespace ComicShowControllerDemo
{
    partial class WaitPictureShowForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Attilan.Crystal.Controls.CrystalSlideShowOptions crystalSlideShowOptions1 = new Attilan.Crystal.Controls.CrystalSlideShowOptions();
            this.crystalPictureShow1 = new Attilan.Crystal.Controls.CrystalPictureShow();
            this.loadingCircle1 = new MRG.Controls.UI.LoadingCircle();
            this.buttonWait = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.labelFileNameWait = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // crystalPictureShow1
            // 
            this.crystalPictureShow1.AutoScroll = true;
            this.crystalPictureShow1.CenterImage = true;
            this.crystalPictureShow1.Color1 = System.Drawing.Color.LightBlue;
            this.crystalPictureShow1.Color2 = System.Drawing.Color.SteelBlue;
            this.crystalPictureShow1.ColorAngle = 360F;
            this.crystalPictureShow1.CrystalImageCollector = null;
            this.crystalPictureShow1.Image = null;
            this.crystalPictureShow1.ImageIndex = -1;
            this.crystalPictureShow1.ImageSizeMode = Attilan.Crystal.Controls.SizeMode.Scrollable;
            this.crystalPictureShow1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.High;
            this.crystalPictureShow1.Location = new System.Drawing.Point(12, 7);
            this.crystalPictureShow1.Name = "crystalPictureShow1";
            this.crystalPictureShow1.Size = new System.Drawing.Size(120, 130);
            crystalSlideShowOptions1.ImageIntervalTime = 2F;
            crystalSlideShowOptions1.IntervalImageHold = 3000;
            crystalSlideShowOptions1.RepeatMode = false;
            crystalSlideShowOptions1.ShuffleMode = false;
            crystalSlideShowOptions1.SlideEffect = Attilan.Crystal.Controls.SlideShowEffect.Cycle;
            this.crystalPictureShow1.SlideShowOptions = crystalSlideShowOptions1;
            this.crystalPictureShow1.TabIndex = 7;
            this.crystalPictureShow1.Text = "crystalPictureShow1";
            this.crystalPictureShow1.ToolTipText = "";
            this.crystalPictureShow1.UseThumbnailer = true;
            this.crystalPictureShow1.ZoomFactor = 1F;
            // 
            // loadingCircle1
            // 
            this.loadingCircle1.Active = false;
            this.loadingCircle1.BackColor = System.Drawing.Color.Transparent;
            this.loadingCircle1.Color = System.Drawing.Color.Firebrick;
            this.loadingCircle1.InnerCircleRadius = 5;
            this.loadingCircle1.Location = new System.Drawing.Point(138, 7);
            this.loadingCircle1.Name = "loadingCircle1";
            this.loadingCircle1.NumberSpoke = 12;
            this.loadingCircle1.OuterCircleRadius = 11;
            this.loadingCircle1.RotationSpeed = 100;
            this.loadingCircle1.Size = new System.Drawing.Size(41, 23);
            this.loadingCircle1.SpokeThickness = 2;
            this.loadingCircle1.StylePreset = MRG.Controls.UI.LoadingCircle.StylePresets.MacOSX;
            this.loadingCircle1.TabIndex = 8;
            this.loadingCircle1.Text = "loadingCircle1";
            // 
            // buttonWait
            // 
            this.buttonWait.Location = new System.Drawing.Point(315, 114);
            this.buttonWait.Name = "buttonWait";
            this.buttonWait.Size = new System.Drawing.Size(75, 23);
            this.buttonWait.TabIndex = 10;
            this.buttonWait.Text = "Cancel Wait";
            this.buttonWait.UseVisualStyleBackColor = true;
            this.buttonWait.Click += new System.EventHandler(this.buttonWait_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(185, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(209, 13);
            this.label1.TabIndex = 11;
            this.label1.Text = "Please wait while we unpack the archive...";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(144, 46);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(26, 13);
            this.label2.TabIndex = 12;
            this.label2.Text = "File:";
            // 
            // labelFileNameWait
            // 
            this.labelFileNameWait.AutoSize = true;
            this.labelFileNameWait.Location = new System.Drawing.Point(144, 68);
            this.labelFileNameWait.Name = "labelFileNameWait";
            this.labelFileNameWait.Size = new System.Drawing.Size(20, 13);
            this.labelFileNameWait.TabIndex = 13;
            this.labelFileNameWait.Text = "file";
            // 
            // WaitPictureShowForm
            // 
            this.AcceptButton = this.buttonWait;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(416, 149);
            this.ControlBox = false;
            this.Controls.Add(this.labelFileNameWait);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.buttonWait);
            this.Controls.Add(this.loadingCircle1);
            this.Controls.Add(this.crystalPictureShow1);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "WaitPictureShowForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Be Patient and Wait, True Believer!";
            this.Load += new System.EventHandler(this.WaitPictureShowForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private Attilan.Crystal.Controls.CrystalPictureShow crystalPictureShow1;
        private MRG.Controls.UI.LoadingCircle loadingCircle1;
        private System.Windows.Forms.Button buttonWait;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label labelFileNameWait;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer (Senior)
United States United States
Richard has been working with Windows software since 1991. He has worked for Borland, Microsoft, Oracle, and various startup companies such as Livescribe. Currently he is developing projects in C#, Windows Forms, and Net Framework. Visit his blog Attilan (www.attilan.com) to learn more about his tools, projects and discoveries.

Comments and Discussions