Beispiel #1
0
 public void InitializeComponent()
 {
     this.BT_L = new System.Windows.Forms.Button();
     this.BT_R = new System.Windows.Forms.Button();
     this.BT_KILLALL = new System.Windows.Forms.Button();
     this.BT_CLOSE = new System.Windows.Forms.Button();
     this.BT_DEL = new System.Windows.Forms.Button();
     this.BT_SIZER = new System.Windows.Forms.Button();
     this.PB_IMG = new ComfyViewer.PictureBoxWithInterpolationMode();
     ((System.ComponentModel.ISupportInitialize)(this.PB_IMG)).BeginInit();
     this.SuspendLayout();
     //
     // BT_L
     //
     this.BT_L.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_L.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_L.Location = new System.Drawing.Point(12, 521);
     this.BT_L.Name = "BT_L";
     this.BT_L.Size = new System.Drawing.Size(75, 75);
     this.BT_L.TabIndex = 0;
     this.BT_L.Text = "<";
     this.BT_L.UseVisualStyleBackColor = true;
     this.BT_L.Click += new System.EventHandler(this.BT_L_Click);
     //
     // BT_R
     //
     this.BT_R.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_R.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_R.Location = new System.Drawing.Point(93, 521);
     this.BT_R.Name = "BT_R";
     this.BT_R.Size = new System.Drawing.Size(75, 75);
     this.BT_R.TabIndex = 1;
     this.BT_R.Text = ">";
     this.BT_R.UseVisualStyleBackColor = true;
     this.BT_R.Click += new System.EventHandler(this.BT_R_Click);
     //
     // BT_KILLALL
     //
     this.BT_KILLALL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_KILLALL.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_KILLALL.Location = new System.Drawing.Point(255, 521);
     this.BT_KILLALL.Name = "BT_KILLALL";
     this.BT_KILLALL.Size = new System.Drawing.Size(75, 75);
     this.BT_KILLALL.TabIndex = 2;
     this.BT_KILLALL.Text = "close all";
     this.BT_KILLALL.UseVisualStyleBackColor = true;
     this.BT_KILLALL.Click += new System.EventHandler(this.BT_KILLALL_Click);
     //
     // BT_CLOSE
     //
     this.BT_CLOSE.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.BT_CLOSE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_CLOSE.Location = new System.Drawing.Point(694, 12);
     this.BT_CLOSE.Name = "BT_CLOSE";
     this.BT_CLOSE.Size = new System.Drawing.Size(75, 75);
     this.BT_CLOSE.TabIndex = 3;
     this.BT_CLOSE.Text = "close";
     this.BT_CLOSE.UseVisualStyleBackColor = true;
     this.BT_CLOSE.Click += new System.EventHandler(this.BT_CLOSE_Click);
     //
     // BT_DEL
     //
     this.BT_DEL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.BT_DEL.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_DEL.Location = new System.Drawing.Point(694, 521);
     this.BT_DEL.Name = "BT_DEL";
     this.BT_DEL.Size = new System.Drawing.Size(75, 75);
     this.BT_DEL.TabIndex = 4;
     this.BT_DEL.Text = "delete";
     this.BT_DEL.UseVisualStyleBackColor = true;
     this.BT_DEL.Click += new System.EventHandler(this.BT_DEL_Click);
     //
     // BT_SIZER
     //
     this.BT_SIZER.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_SIZER.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_SIZER.Location = new System.Drawing.Point(174, 521);
     this.BT_SIZER.Name = "BT_SIZER";
     this.BT_SIZER.Size = new System.Drawing.Size(75, 75);
     this.BT_SIZER.TabIndex = 5;
     this.BT_SIZER.Text = "fit";
     this.BT_SIZER.UseVisualStyleBackColor = true;
     this.BT_SIZER.Click += new System.EventHandler(this.BT_SIZER_Click);
     //
     // PB_IMG
     //
     this.PB_IMG.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.PB_IMG.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear;
     this.PB_IMG.Location = new System.Drawing.Point(0, 0);
     this.PB_IMG.Margin = new System.Windows.Forms.Padding(0);
     this.PB_IMG.Name = "PB_IMG";
     this.PB_IMG.Size = new System.Drawing.Size(781, 608);
     this.PB_IMG.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.PB_IMG.TabIndex = 6;
     this.PB_IMG.TabStop = false;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(781, 608);
     this.ControlBox = false;
     this.Controls.Add(this.BT_SIZER);
     this.Controls.Add(this.BT_DEL);
     this.Controls.Add(this.BT_CLOSE);
     this.Controls.Add(this.BT_KILLALL);
     this.Controls.Add(this.BT_R);
     this.Controls.Add(this.BT_L);
     this.Controls.Add(this.PB_IMG);
     this.DoubleBuffered = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.KeyPreview = true;
     this.MaximumSize = new System.Drawing.Size(9000, 9000);
     this.Name = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.PB_IMG)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #2
0
 public void InitializeComponent()
 {
     this.BT_L       = new System.Windows.Forms.Button();
     this.BT_R       = new System.Windows.Forms.Button();
     this.BT_KILLALL = new System.Windows.Forms.Button();
     this.BT_CLOSE   = new System.Windows.Forms.Button();
     this.BT_DEL     = new System.Windows.Forms.Button();
     this.BT_SIZER   = new System.Windows.Forms.Button();
     this.PB_IMG     = new ComfyViewer.PictureBoxWithInterpolationMode();
     ((System.ComponentModel.ISupportInitialize)(this.PB_IMG)).BeginInit();
     this.SuspendLayout();
     //
     // BT_L
     //
     this.BT_L.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_L.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_L.Location  = new System.Drawing.Point(12, 521);
     this.BT_L.Name      = "BT_L";
     this.BT_L.Size      = new System.Drawing.Size(75, 75);
     this.BT_L.TabIndex  = 0;
     this.BT_L.Text      = "<";
     this.BT_L.UseVisualStyleBackColor = true;
     this.BT_L.Click += new System.EventHandler(this.BT_L_Click);
     //
     // BT_R
     //
     this.BT_R.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_R.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_R.Location  = new System.Drawing.Point(93, 521);
     this.BT_R.Name      = "BT_R";
     this.BT_R.Size      = new System.Drawing.Size(75, 75);
     this.BT_R.TabIndex  = 1;
     this.BT_R.Text      = ">";
     this.BT_R.UseVisualStyleBackColor = true;
     this.BT_R.Click += new System.EventHandler(this.BT_R_Click);
     //
     // BT_KILLALL
     //
     this.BT_KILLALL.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_KILLALL.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_KILLALL.Location  = new System.Drawing.Point(255, 521);
     this.BT_KILLALL.Name      = "BT_KILLALL";
     this.BT_KILLALL.Size      = new System.Drawing.Size(75, 75);
     this.BT_KILLALL.TabIndex  = 2;
     this.BT_KILLALL.Text      = "close all";
     this.BT_KILLALL.UseVisualStyleBackColor = true;
     this.BT_KILLALL.Click += new System.EventHandler(this.BT_KILLALL_Click);
     //
     // BT_CLOSE
     //
     this.BT_CLOSE.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.BT_CLOSE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_CLOSE.Location  = new System.Drawing.Point(694, 12);
     this.BT_CLOSE.Name      = "BT_CLOSE";
     this.BT_CLOSE.Size      = new System.Drawing.Size(75, 75);
     this.BT_CLOSE.TabIndex  = 3;
     this.BT_CLOSE.Text      = "close";
     this.BT_CLOSE.UseVisualStyleBackColor = true;
     this.BT_CLOSE.Click += new System.EventHandler(this.BT_CLOSE_Click);
     //
     // BT_DEL
     //
     this.BT_DEL.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.BT_DEL.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_DEL.Location  = new System.Drawing.Point(694, 521);
     this.BT_DEL.Name      = "BT_DEL";
     this.BT_DEL.Size      = new System.Drawing.Size(75, 75);
     this.BT_DEL.TabIndex  = 4;
     this.BT_DEL.Text      = "delete";
     this.BT_DEL.UseVisualStyleBackColor = true;
     this.BT_DEL.Click += new System.EventHandler(this.BT_DEL_Click);
     //
     // BT_SIZER
     //
     this.BT_SIZER.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.BT_SIZER.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.BT_SIZER.Location  = new System.Drawing.Point(174, 521);
     this.BT_SIZER.Name      = "BT_SIZER";
     this.BT_SIZER.Size      = new System.Drawing.Size(75, 75);
     this.BT_SIZER.TabIndex  = 5;
     this.BT_SIZER.Text      = "fit";
     this.BT_SIZER.UseVisualStyleBackColor = true;
     this.BT_SIZER.Click += new System.EventHandler(this.BT_SIZER_Click);
     //
     // PB_IMG
     //
     this.PB_IMG.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.PB_IMG.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear;
     this.PB_IMG.Location          = new System.Drawing.Point(0, 0);
     this.PB_IMG.Margin            = new System.Windows.Forms.Padding(0);
     this.PB_IMG.Name     = "PB_IMG";
     this.PB_IMG.Size     = new System.Drawing.Size(781, 608);
     this.PB_IMG.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.PB_IMG.TabIndex = 6;
     this.PB_IMG.TabStop  = false;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(781, 608);
     this.ControlBox          = false;
     this.Controls.Add(this.BT_SIZER);
     this.Controls.Add(this.BT_DEL);
     this.Controls.Add(this.BT_CLOSE);
     this.Controls.Add(this.BT_KILLALL);
     this.Controls.Add(this.BT_R);
     this.Controls.Add(this.BT_L);
     this.Controls.Add(this.PB_IMG);
     this.DoubleBuffered  = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.KeyPreview      = true;
     this.MaximumSize     = new System.Drawing.Size(9000, 9000);
     this.Name            = "MainForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.PB_IMG)).EndInit();
     this.ResumeLayout(false);
 }