コード例 #1
0
ファイル: Viewer.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.OuterPanel = new System.Windows.Forms.Panel();
            this.ribbonProgress = new System.Windows.Forms.Panel();
            this.lblProgress = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.picBoxZoom = new Genetibase.NuGenMediImage.UI.Controls.RibbonItem();
            this.picBoxMain = new Genetibase.NuGenMediImage.UI.Controls.CustomPictureBox();
            this.picBoxAdjustments = new Genetibase.NuGenMediImage.UI.Controls.CustomPictureBox();
            this.btnDone = new Genetibase.NuGenMediImage.UI.Controls.RibbonButton();
            this.textBoxMainPanel = new Genetibase.NuGenMediImage.UI.Controls.ThemedPanel();
            this.txtBoxMain = new System.Windows.Forms.RichTextBox();
            this.OuterPanel.SuspendLayout();
            this.ribbonProgress.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxZoom)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxMain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxAdjustments)).BeginInit();
            this.textBoxMainPanel.SuspendLayout();
            this.SuspendLayout();
            // 
            // OuterPanel
            // 
            this.OuterPanel.Controls.Add(this.ribbonProgress);
            this.OuterPanel.Controls.Add(this.picBoxMain);
            this.OuterPanel.Controls.Add(this.picBoxAdjustments);
            this.OuterPanel.Controls.Add(this.btnDone);
            this.OuterPanel.Controls.Add(this.textBoxMainPanel);
            this.OuterPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.OuterPanel.Location = new System.Drawing.Point(0, 0);
            this.OuterPanel.Name = "OuterPanel";
            this.OuterPanel.Size = new System.Drawing.Size(416, 328);
            this.OuterPanel.TabIndex = 5;
            this.OuterPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtBoxMain_MouseDown);
            this.OuterPanel.SizeChanged += new System.EventHandler(this.OuterPanel_SizeChanged);
            // 
            // ribbonProgress
            // 
            this.ribbonProgress.BackColor = System.Drawing.Color.Gray;
            this.ribbonProgress.Controls.Add(this.lblProgress);
            this.ribbonProgress.Controls.Add(this.progressBar1);
            this.ribbonProgress.Location = new System.Drawing.Point(6, 6);
            this.ribbonProgress.Name = "ribbonProgress";
            this.ribbonProgress.Size = new System.Drawing.Size(259, 42);
            this.ribbonProgress.TabIndex = 11;
            this.ribbonProgress.Visible = false;
            // 
            // lblProgress
            // 
            this.lblProgress.AutoSize = true;
            this.lblProgress.BackColor = System.Drawing.Color.Transparent;
            this.lblProgress.ForeColor = System.Drawing.Color.Black;
            this.lblProgress.Location = new System.Drawing.Point(50, 2);
            this.lblProgress.Name = "lblProgress";
            this.lblProgress.Size = new System.Drawing.Size(158, 13);
            this.lblProgress.TabIndex = 2;
            this.lblProgress.Text = "Applying Operations to All Slices";
            // 
            // progressBar1
            // 
            this.progressBar1.ForeColor = System.Drawing.Color.DarkOrange;
            this.progressBar1.Location = new System.Drawing.Point(3, 16);
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(237, 23);
            this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
            this.progressBar1.TabIndex = 3;
            this.progressBar1.Value = 50;
            // 
            // picBoxZoom
            // 
            this.picBoxZoom.IsPressed = false;
            this.picBoxZoom.Location = new System.Drawing.Point(72, 136);
            this.picBoxZoom.Margin = new System.Windows.Forms.Padding(0);
            this.picBoxZoom.Name = "picBoxZoom";
            this.picBoxZoom.Size = new System.Drawing.Size(100, 100);
            this.picBoxZoom.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picBoxZoom.TabIndex = 1;
            this.picBoxZoom.TabStop = false;
            this.picBoxZoom.Visible = false;
            // 
            // picBoxMain
            // 
            this.picBoxMain.Image = null;
            this.picBoxMain.Location = new System.Drawing.Point(0, 0);
            this.picBoxMain.Name = "picBoxMain";
            this.picBoxMain.Size = new System.Drawing.Size(150, 140);
            this.picBoxMain.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picBoxMain.TabIndex = 3;
            this.picBoxMain.TabStop = false;
            this.picBoxMain.MouseLeave += new System.EventHandler(this.txtBoxMain_MouseLeave);
            this.picBoxMain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.picBoxMain_MouseDown);
            this.picBoxMain.MouseMove += new System.Windows.Forms.MouseEventHandler(this.picBoxMain_MouseMove);
            this.picBoxMain.Paint += new System.Windows.Forms.PaintEventHandler(this.picBoxMain_Paint);
            this.picBoxMain.MouseUp += new System.Windows.Forms.MouseEventHandler(this.picBoxMain_MouseUp);
            this.picBoxMain.MouseEnter += new System.EventHandler(this.txtBoxMain_MouseEnter);
            // 
            // picBoxAdjustments
            // 
            this.picBoxAdjustments.BackColor = System.Drawing.Color.Transparent;
            this.picBoxAdjustments.Image = null;
            this.picBoxAdjustments.Location = new System.Drawing.Point(0, 0);
            this.picBoxAdjustments.Name = "picBoxAdjustments";
            this.picBoxAdjustments.Size = new System.Drawing.Size(150, 140);
            this.picBoxAdjustments.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picBoxAdjustments.TabIndex = 12;
            this.picBoxAdjustments.TabStop = false;
            this.picBoxAdjustments.MouseDown += new System.Windows.Forms.MouseEventHandler(this.picBoxAdjustments_MouseDown);
            this.picBoxAdjustments.MouseMove += new System.Windows.Forms.MouseEventHandler(this.picBoxAdjustments_MouseMove);
            this.picBoxAdjustments.Paint += new System.Windows.Forms.PaintEventHandler(this.picBoxAdjustments_Paint);
            this.picBoxAdjustments.MouseUp += new System.Windows.Forms.MouseEventHandler(this.picBoxAdjustments_MouseUp);
            // 
            // btnDone
            // 
            this.btnDone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnDone.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnDone.ImageIndex = 8;
            this.btnDone.IsFlat = false;
            this.btnDone.IsPressed = false;
            this.btnDone.Location = new System.Drawing.Point(338, 305);
            this.btnDone.Margin = new System.Windows.Forms.Padding(1);
            this.btnDone.Name = "btnDone";
            this.btnDone.NgMediImage = null;
            this.btnDone.Padding = new System.Windows.Forms.Padding(2);
            this.btnDone.Size = new System.Drawing.Size(78, 22);
            this.btnDone.TabIndex = 45;
            this.btnDone.Text = "OK";
            this.btnDone.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.btnDone.Visible = false;
            this.btnDone.Click += new System.EventHandler(this.btnDone_Click);
            // 
            // textBoxMainPanel
            // 
            this.textBoxMainPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(233)))), ((int)(((byte)(240)))));
            this.textBoxMainPanel.Controls.Add(this.txtBoxMain);
            this.textBoxMainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBoxMainPanel.Location = new System.Drawing.Point(0, 0);
            this.textBoxMainPanel.Name = "textBoxMainPanel";
            this.textBoxMainPanel.Padding = new System.Windows.Forms.Padding(5);
            this.textBoxMainPanel.Size = new System.Drawing.Size(416, 328);
            this.textBoxMainPanel.TabIndex = 7;
            this.textBoxMainPanel.Visible = false;
            // 
            // txtBoxMain
            // 
            this.txtBoxMain.BackColor = System.Drawing.SystemColors.Window;
            this.txtBoxMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtBoxMain.Location = new System.Drawing.Point(5, 5);
            this.txtBoxMain.Name = "txtBoxMain";
            this.txtBoxMain.ReadOnly = true;
            this.txtBoxMain.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
            this.txtBoxMain.Size = new System.Drawing.Size(406, 318);
            this.txtBoxMain.TabIndex = 4;
            this.txtBoxMain.Text = "";
            this.txtBoxMain.MouseEnter += new System.EventHandler(this.txtBoxMain_MouseEnter);
            this.txtBoxMain.MouseLeave += new System.EventHandler(this.txtBoxMain_MouseLeave);
            this.txtBoxMain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtBoxMain_MouseDown);
            // 
            // Viewer
            // 
            this.BackColor = System.Drawing.SystemColors.Control;
            this.Controls.Add(this.picBoxZoom);
            this.Controls.Add(this.OuterPanel);
            this.Name = "Viewer";
            this.Size = new System.Drawing.Size(416, 328);
            this.Load += new System.EventHandler(this.Viewer_Load);
            this.Resize += new System.EventHandler(this.Viewer_Resize);
            this.OuterPanel.ResumeLayout(false);
            this.ribbonProgress.ResumeLayout(false);
            this.ribbonProgress.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxZoom)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxMain)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picBoxAdjustments)).EndInit();
            this.textBoxMainPanel.ResumeLayout(false);
            this.ResumeLayout(false);

		}