当前位置: 首页>>代码示例>>C#>>正文


C# Forms.PictureBox类代码示例

本文整理汇总了C#中System.Windows.Forms.PictureBox的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.PictureBox类的具体用法?C# System.Windows.Forms.PictureBox怎么用?C# System.Windows.Forms.PictureBox使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


System.Windows.Forms.PictureBox类属于命名空间,在下文中一共展示了System.Windows.Forms.PictureBox类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.slideControl = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.slideControl)).BeginInit();
     this.SuspendLayout();
     //
     // slideControl
     //
     this.slideControl.Location = new System.Drawing.Point(10, 1);
     this.slideControl.Name = "slideControl";
     this.slideControl.Size = new System.Drawing.Size(10, 20);
     this.slideControl.TabIndex = 0;
     this.slideControl.TabStop = false;
     this.slideControl.Paint += new System.Windows.Forms.PaintEventHandler(this.slideControl_Paint);
     this.slideControl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.slideControl_MouseDown);
     this.slideControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.slideControl_MouseMove);
     this.slideControl.MouseUp += new System.Windows.Forms.MouseEventHandler(this.slideControl_MouseUp);
     //
     // Slider
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.slideControl);
     this.MaximumSize = new System.Drawing.Size(1000, 22);
     this.MinimumSize = new System.Drawing.Size(100, 22);
     this.Name = "Slider";
     this.Size = new System.Drawing.Size(100, 22);
     ((System.ComponentModel.ISupportInitialize)(this.slideControl)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:frkdom,项目名称:Region-Editor-2015,代码行数:34,代码来源:Slider.designer.cs

示例2: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pbDisplay = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pbDisplay)).BeginInit();
     this.SuspendLayout();
     //
     // pbDisplay
     //
     this.pbDisplay.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pbDisplay.Location = new System.Drawing.Point(0, 0);
     this.pbDisplay.Name = "pbDisplay";
     this.pbDisplay.Size = new System.Drawing.Size(284, 262);
     this.pbDisplay.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pbDisplay.TabIndex = 0;
     this.pbDisplay.TabStop = false;
     //
     // DicomQuickDisplayForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.pbDisplay);
     this.MinimizeBox = false;
     this.Name = "DicomQuickDisplayForm";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "DICOM Image Display";
     ((System.ComponentModel.ISupportInitialize)(this.pbDisplay)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:jwake,项目名称:fo-dicom,代码行数:35,代码来源:DisplayForm.designer.cs

示例3: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(82, 103);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(100, 50);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // ImageForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name = "ImageForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Map Image";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:roguesupport,项目名称:ControlCenter,代码行数:32,代码来源:ImageForm.designer.cs

示例4: ConvexHullSolver

        public ConvexHullSolver(System.Drawing.Graphics g, System.Windows.Forms.PictureBox pictureBoxView)
        {
            this.g = g;
            this.pictureBoxView = pictureBoxView;

            testPen = new Pen(Color.Red, 1);
        }
开发者ID:jvisker,项目名称:convex2,代码行数:7,代码来源:ConvexHullSolver.cs

示例5: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pictureBox = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox
     //
     this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox.Location = new System.Drawing.Point(0, 0);
     this.pictureBox.Name = "pictureBox";
     this.pictureBox.Size = new System.Drawing.Size(384, 518);
     this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox.TabIndex = 0;
     this.pictureBox.TabStop = false;
     this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click);
     //
     // ArtPopup
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize = true;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize = new System.Drawing.Size(384, 518);
     this.Controls.Add(this.pictureBox);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "ArtPopup";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Art";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:andrewjswan,项目名称:mvcentral,代码行数:39,代码来源:ArtPopup.designer.cs

示例6: InitializeComponent

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            pictureBox1 = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(pictureBox1)).BeginInit();
            SuspendLayout();
            // 
            // pictureBox1
            // 
            pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            pictureBox1.Location = new System.Drawing.Point(12, 12);
            pictureBox1.Name = "pictureBox1";
            pictureBox1.Size = new System.Drawing.Size(1024, 512);
            pictureBox1.TabIndex = 0;
            pictureBox1.TabStop = false;
            // 
            // Form1
            // 
            AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            ClientSize = new System.Drawing.Size(1051, 533);
            Controls.Add(pictureBox1);
            Name = "Form1";
            Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(pictureBox1)).EndInit();
            ResumeLayout(false);

        }
开发者ID:PsychoTeras,项目名称:RatKing,代码行数:31,代码来源:Form1.Designer.cs

示例7: InitializeComponent

 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を 
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(100, 100);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.Visible = false;
     //
     // UcArea
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.pictureBox1);
     this.Name = "UcArea";
     this.Size = new System.Drawing.Size(100, 100);
     this.SizeChanged += new System.EventHandler(this.UsercontrolArea_SizeChanged);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:30,代码来源:UsercontrolArea.designer.cs

示例8: InitializeComponent

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
			this.SuspendLayout();
			// 
			// pictureBox1
			// 
			this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pictureBox1.Image = global::Paint.Core.Properties.Resources.SplashImage;
			this.pictureBox1.Location = new System.Drawing.Point(0, 0);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(300, 220);
			this.pictureBox1.TabIndex = 0;
			this.pictureBox1.TabStop = false;
			// 
			// SplashForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.Color.White;
			this.ClientSize = new System.Drawing.Size(300, 220);
			this.Controls.Add(this.pictureBox1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "SplashForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "SplashForm";
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
			this.ResumeLayout(false);

		}
开发者ID:SchwarzerLoewe,项目名称:Paint,代码行数:35,代码来源:SplashForm.cs

示例9: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MagnifiedImageForm));
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox1.Image = global::PDFAsystent.Properties.Resources.load_test;
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(460, 532);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // MagnifiedImageForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(460, 532);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "MagnifiedImageForm";
     this.Text = "PDF Asystent - Powiększenie";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:daralbrecht,项目名称:PDFAsystent,代码行数:37,代码来源:MagnifiedImageForm.designer.cs

示例10: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.picShow = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.picShow)).BeginInit();
     this.SuspendLayout();
     //
     // picShow
     //
     this.picShow.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.picShow.Location = new System.Drawing.Point(12, 12);
     this.picShow.Name = "picShow";
     this.picShow.Size = new System.Drawing.Size(776, 576);
     this.picShow.TabIndex = 0;
     this.picShow.TabStop = false;
     this.picShow.DoubleClick += new System.EventHandler(this.picShow_DoubleClick);
     //
     // FormImage
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(800, 600);
     this.Controls.Add(this.picShow);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "FormImage";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "放大显示图像";
     this.Load += new System.EventHandler(this.FormImage_Load);
     ((System.ComponentModel.ISupportInitialize)(this.picShow)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:wgang10,项目名称:XTHospatal,代码行数:34,代码来源:FormImage.designer.cs

示例11: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayMap));
     this.MapPBox = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.MapPBox)).BeginInit();
     this.SuspendLayout();
     //
     // MapPBox
     //
     resources.ApplyResources(this.MapPBox, "MapPBox");
     this.MapPBox.Name = "MapPBox";
     this.MapPBox.TabStop = false;
     this.MapPBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.MapPBox_MouseClick);
     this.MapPBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.MapPBox_MouseDown);
     this.MapPBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.MapPBox_MouseMove);
     this.MapPBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MapPBox_MouseUp);
     //
     // DisplayMap
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.MapPBox);
     this.Name = "DisplayMap";
     this.ShowIcon = false;
     this.Load += new System.EventHandler(this.DisplayMap_Load);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.DisplayMap_MouseMove);
     this.Resize += new System.EventHandler(this.DisplayMap_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.MapPBox)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:kokose1234,项目名称:HaSuite,代码行数:34,代码来源:DisplayMap.designer.cs

示例12: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.overlay = new System.Windows.Forms.PictureBox();
     this.btnStart = new System.Windows.Forms.Button();
     this.strip = new System.Windows.Forms.StatusStrip();
     this.status = new System.Windows.Forms.ToolStripStatusLabel();
     ((System.ComponentModel.ISupportInitialize)(this.overlay)).BeginInit();
     this.strip.SuspendLayout();
     this.SuspendLayout();
     //
     // overlay
     //
     this.overlay.Location = new System.Drawing.Point(13, 13);
     this.overlay.Name = "overlay";
     this.overlay.Size = new System.Drawing.Size(640, 480);
     this.overlay.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.overlay.TabIndex = 0;
     this.overlay.TabStop = false;
     //
     // btnStart
     //
     this.btnStart.Location = new System.Drawing.Point(660, 13);
     this.btnStart.Name = "btnStart";
     this.btnStart.Size = new System.Drawing.Size(130, 49);
     this.btnStart.TabIndex = 1;
     this.btnStart.Text = "Start Tracking";
     this.btnStart.UseVisualStyleBackColor = true;
     this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
     //
     // strip
     //
     this.strip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.status});
     this.strip.Location = new System.Drawing.Point(0, 507);
     this.strip.Name = "strip";
     this.strip.Size = new System.Drawing.Size(802, 22);
     this.strip.TabIndex = 2;
     this.strip.Text = "statusStrip1";
     //
     // status
     //
     this.status.Name = "status";
     this.status.Size = new System.Drawing.Size(0, 17);
     //
     // frmTrackMain
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(802, 529);
     this.Controls.Add(this.strip);
     this.Controls.Add(this.btnStart);
     this.Controls.Add(this.overlay);
     this.Name = "frmTrackMain";
     this.Text = "CMT Tracking Host Test";
     ((System.ComponentModel.ISupportInitialize)(this.overlay)).EndInit();
     this.strip.ResumeLayout(false);
     this.strip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:gussmith23,项目名称:CMT_Tracker,代码行数:64,代码来源:frmMain.designer.cs

示例13: InitializeComponent

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.canvas = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(this.canvas)).BeginInit();
            this.SuspendLayout();
            // 
            // canvas
            // 
            this.canvas.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.canvas.Location = new System.Drawing.Point(0, 0);
            this.canvas.Name = "canvas";
            this.canvas.Size = new System.Drawing.Size(624, 441);
            this.canvas.TabIndex = 0;
            this.canvas.TabStop = false;
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Black;
            this.ClientSize = new System.Drawing.Size(624, 441);
            this.Controls.Add(this.canvas);
            this.Name = "MainForm";
            this.Text = "OpenMario";
            ((System.ComponentModel.ISupportInitialize)(this.canvas)).EndInit();
            this.ResumeLayout(false);

        }
开发者ID:shchekoldin,项目名称:OpenMario,代码行数:34,代码来源:MainForm.Designer.cs

示例14: InitializeComponent

 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage = global::Endogine.Editors.Properties.Resources.ColorPickerBg_png;
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(147, 144);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);
     this.pictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseMove);
     this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint);
     this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseUp);
     //
     // ColorPickerPainter
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.pictureBox1);
     this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
     this.Name = "ColorPickerPainter";
     this.Size = new System.Drawing.Size(147, 144);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
开发者ID:timdetering,项目名称:Endogine,代码行数:36,代码来源:ColorPickerPainter.designer.cs

示例15: InitializeComponent

 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapViewer));
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.renderMapAgainToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.mapImage = new System.Windows.Forms.PictureBox();
     this.menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mapImage)).BeginInit();
     this.SuspendLayout();
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.renderMapAgainToolStripMenuItem});
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name = "menuStrip1";
     this.menuStrip1.Size = new System.Drawing.Size(284, 24);
     this.menuStrip1.TabIndex = 0;
     this.menuStrip1.Text = "menuStrip1";
     //
     // renderMapAgainToolStripMenuItem
     //
     this.renderMapAgainToolStripMenuItem.Name = "renderMapAgainToolStripMenuItem";
     this.renderMapAgainToolStripMenuItem.Size = new System.Drawing.Size(117, 20);
     this.renderMapAgainToolStripMenuItem.Text = "Render Map Again";
     this.renderMapAgainToolStripMenuItem.Click += new System.EventHandler(this.renderMapAgainToolStripMenuItem_Click);
     //
     // mapImage
     //
     this.mapImage.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.mapImage.Location = new System.Drawing.Point(0, 27);
     this.mapImage.Name = "mapImage";
     this.mapImage.Size = new System.Drawing.Size(284, 235);
     this.mapImage.TabIndex = 1;
     this.mapImage.TabStop = false;
     this.mapImage.DoubleClick += new System.EventHandler(this.mapImage_DoubleClick);
     this.mapImage.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mapImage_MouseDown);
     //
     // MapViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.mapImage);
     this.Controls.Add(this.menuStrip1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Location = new System.Drawing.Point(50, 50);
     this.MainMenuStrip = this.menuStrip1;
     this.Name = "MapViewer";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = "Map Viewer";
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mapImage)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
开发者ID:frkdom,项目名称:Region-Editor-2015,代码行数:64,代码来源:MapViewer.designer.cs


注:本文中的System.Windows.Forms.PictureBox类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。