Click here to Skip to main content
15,891,529 members
Articles / Multimedia / GDI+

Screen Saver Starter Kit

Rate me:
Please Sign up or sign in to vote.
4.69/5 (9 votes)
6 Nov 2007CPOL7 min read 63.7K   2K   52  
A starter project to write your own Screen Saver
namespace StartProg
{
    partial class StartProg
    {
        /// <summary>
        /// Erforderliche Designervariable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Verwendete Ressourcen bereinigen.
        /// </summary>
        /// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
        protected override void Dispose( bool disposing )
        {
            if( disposing && ( components != null ) )
            {
                components.Dispose();
            }
            base.Dispose( disposing );
        }

        #region Vom Windows Form-Designer generierter Code

        /// <summary>
        /// Erforderliche Methode für die Designerunterstützung.
        /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( StartProg ) );
            this.btnFullScreen = new System.Windows.Forms.Button();
            this.btnPreview = new System.Windows.Forms.Button();
            this.btnOptions = new System.Windows.Forms.Button();
            this.pnlPreview = new System.Windows.Forms.Panel();
            this.label1 = new System.Windows.Forms.Label();
            this.txbExe = new System.Windows.Forms.TextBox();
            this.btnKillProcess = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // btnFullScreen
            // 
            this.btnFullScreen.Location = new System.Drawing.Point( 12, 309 );
            this.btnFullScreen.Name = "btnFullScreen";
            this.btnFullScreen.Size = new System.Drawing.Size( 133, 23 );
            this.btnFullScreen.TabIndex = 0;
            this.btnFullScreen.Text = "&Full Screen";
            this.btnFullScreen.UseVisualStyleBackColor = true;
            this.btnFullScreen.Click += new System.EventHandler( this.btnFullScreen_Click );
            // 
            // btnPreview
            // 
            this.btnPreview.Location = new System.Drawing.Point( 12, 280 );
            this.btnPreview.Name = "btnPreview";
            this.btnPreview.Size = new System.Drawing.Size( 133, 23 );
            this.btnPreview.TabIndex = 0;
            this.btnPreview.Text = "&Preview Screen";
            this.btnPreview.UseVisualStyleBackColor = true;
            this.btnPreview.Click += new System.EventHandler( this.btnPreview_Click );
            // 
            // btnOptions
            // 
            this.btnOptions.Location = new System.Drawing.Point( 179, 280 );
            this.btnOptions.Name = "btnOptions";
            this.btnOptions.Size = new System.Drawing.Size( 133, 23 );
            this.btnOptions.TabIndex = 0;
            this.btnOptions.Text = "&Options";
            this.btnOptions.UseVisualStyleBackColor = true;
            this.btnOptions.Click += new System.EventHandler( this.btnOptions_Click );
            // 
            // pnlPreview
            // 
            this.pnlPreview.BackColor = System.Drawing.Color.RoyalBlue;
            this.pnlPreview.Location = new System.Drawing.Point( 12, 12 );
            this.pnlPreview.Name = "pnlPreview";
            this.pnlPreview.Size = new System.Drawing.Size( 300, 221 );
            this.pnlPreview.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point( 12, 252 );
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size( 25, 13 );
            this.label1.TabIndex = 2;
            this.label1.Text = "&Exe";
            // 
            // txbExe
            // 
            this.txbExe.Location = new System.Drawing.Point( 45, 249 );
            this.txbExe.Name = "txbExe";
            this.txbExe.Size = new System.Drawing.Size( 267, 20 );
            this.txbExe.TabIndex = 3;
            // 
            // btnKillProcess
            // 
            this.btnKillProcess.Location = new System.Drawing.Point( 179, 309 );
            this.btnKillProcess.Name = "btnKillProcess";
            this.btnKillProcess.Size = new System.Drawing.Size( 133, 23 );
            this.btnKillProcess.TabIndex = 0;
            this.btnKillProcess.Text = "&Kill Process";
            this.btnKillProcess.UseVisualStyleBackColor = true;
            this.btnKillProcess.Click += new System.EventHandler( this.btnKillProcess_Click );
            // 
            // StartProg
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size( 322, 344 );
            this.Controls.Add( this.txbExe );
            this.Controls.Add( this.label1 );
            this.Controls.Add( this.pnlPreview );
            this.Controls.Add( this.btnKillProcess );
            this.Controls.Add( this.btnOptions );
            this.Controls.Add( this.btnPreview );
            this.Controls.Add( this.btnFullScreen );
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Icon = ( (System.Drawing.Icon)( resources.GetObject( "$this.Icon" ) ) );
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "StartProg";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Startprogram for DcamScreenSaver";
            this.ResumeLayout( false );
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button btnFullScreen;
        private System.Windows.Forms.Button btnPreview;
        private System.Windows.Forms.Button btnOptions;
        private System.Windows.Forms.Panel pnlPreview;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txbExe;
        private System.Windows.Forms.Button btnKillProcess;
    }
}

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 Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions