/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var resources = new System.ComponentModel.ComponentResourceManager(typeof(InformationPanel));

            this._LabelTitle       = new System.Windows.Forms.Label();
            this._PictureBox       = new System.Windows.Forms.PictureBox();
            this._LabelDescription = new System.Windows.Forms.Label();
            this._ProgressBar      = new System.Windows.Forms.ProgressBar();
            this._Marquee          = new MarqueeControl();
            ((System.ComponentModel.ISupportInitialize)(this._PictureBox)).BeginInit();
            this.SuspendLayout();
            //
            // _labelTitle
            //
            this._LabelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
            this._LabelTitle.BackColor = System.Drawing.Color.Transparent;
            this._LabelTitle.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._LabelTitle.Location  = new System.Drawing.Point(10, 10);
            this._LabelTitle.Name      = "_LabelTitle";
            this._LabelTitle.Size      = new System.Drawing.Size(305, 20);
            this._LabelTitle.TabIndex  = 0;
            //
            // _pictureBox
            //
            this._PictureBox.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this._PictureBox.BackColor = System.Drawing.Color.Transparent;
            this._PictureBox.Location  = new System.Drawing.Point(325, 10);
            this._PictureBox.Name      = "_PictureBox";
            this._PictureBox.Size      = new System.Drawing.Size(64, 64);
            this._PictureBox.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
            this._PictureBox.TabIndex  = 1;
            this._PictureBox.TabStop   = false;
            //
            // _labelDescription
            //
            this._LabelDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                                  | System.Windows.Forms.AnchorStyles.Right)));
            this._LabelDescription.BackColor = System.Drawing.Color.Transparent;
            this._LabelDescription.Location  = new System.Drawing.Point(30, 35);
            this._LabelDescription.Name      = "_LabelDescription";
            this._LabelDescription.Size      = new System.Drawing.Size(285, 58);
            this._LabelDescription.TabIndex  = 2;
            //
            // _progressBar
            //
            this._ProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this._ProgressBar.Enabled  = false;
            this._ProgressBar.Location = new System.Drawing.Point(0, 80);
            this._ProgressBar.Name     = "_ProgressBar";
            this._ProgressBar.Size     = new System.Drawing.Size(400, 23);
            this._ProgressBar.Style    = System.Windows.Forms.ProgressBarStyle.Marquee;
            this._ProgressBar.TabIndex = 3;
            this._ProgressBar.Visible  = false;
            //
            // _marquee
            //
            this._Marquee.BackColor     = System.Drawing.Color.Transparent;
            this._Marquee.Dock          = System.Windows.Forms.DockStyle.Bottom;
            this._Marquee.FrameRate     = 33;
            this._Marquee.ImageToScroll = ((System.Drawing.Image)(resources.GetObject("_marquee.ImageToScroll")));
            this._Marquee.IsScrolling   = false;
            this._Marquee.Location      = new System.Drawing.Point(0, 98);
            this._Marquee.Name          = "_Marquee";
            this._Marquee.Size          = new System.Drawing.Size(400, 5);
            this._Marquee.StepSize      = 10;
            this._Marquee.TabIndex      = 0;
            //
            // InformationPanel
            //
            this.BackColor = System.Drawing.SystemColors.Window;
            this.Controls.Add(this._ProgressBar);
            this.Controls.Add(this._Marquee);
            this.Controls.Add(this._LabelDescription);
            this.Controls.Add(this._PictureBox);
            this.Controls.Add(this._LabelTitle);
            this.Name = "InformationPanel";
            this.Size = new System.Drawing.Size(400, 103);
            ((System.ComponentModel.ISupportInitialize)(this._PictureBox)).EndInit();
            this.ResumeLayout(false);
        }
        private void OnVerbStopTest(object sender, EventArgs e)
        {
            MarqueeControl c = this.Control as MarqueeControl;

            c.Stop();
        }
Beispiel #3
0
 public MarqueeWrapper(MarqueeControl source)
 {
     _Source        = source;
     source.Stopped = false;
 }