Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/21/15 14:18:31 (9 years ago)
Author:
jkarder
Message:

#1265: merged changes from abeham

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartControl.Designer.cs

    r12535 r13045  
    4848      this.pictureBox = new System.Windows.Forms.PictureBox();
    4949      this.pictureBoxContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
    50       this.moveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    51       this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    52       this.selectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    53       this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
    5450      this.oneLayerUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5551      this.oneLayerDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5652      this.intoForegroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5753      this.intoBackgroundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     54      this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
     55      this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     56      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     57      this.selectButton = new System.Windows.Forms.RadioButton();
     58      this.moveButton = new System.Windows.Forms.RadioButton();
     59      this.zoomInButton = new System.Windows.Forms.RadioButton();
     60      this.zoomOutButton = new System.Windows.Forms.RadioButton();
     61      this.buttonPanel = new System.Windows.Forms.FlowLayoutPanel();
     62      this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     63      this.saveImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    5864      this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
    59       this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    60       this.saveImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    61       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    62       this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
    6365      ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
    6466      this.pictureBoxContextMenuStrip.SuspendLayout();
     67      this.buttonPanel.SuspendLayout();
    6568      this.SuspendLayout();
    6669      //
     
    7174            | System.Windows.Forms.AnchorStyles.Right)));
    7275      this.pictureBox.BackColor = System.Drawing.Color.White;
     76      this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    7377      this.pictureBox.ContextMenuStrip = this.pictureBoxContextMenuStrip;
    74       this.pictureBox.Location = new System.Drawing.Point(0, 0);
     78      this.pictureBox.Location = new System.Drawing.Point(35, 0);
    7579      this.pictureBox.Name = "pictureBox";
    76       this.pictureBox.Size = new System.Drawing.Size(266, 236);
     80      this.pictureBox.Size = new System.Drawing.Size(685, 500);
    7781      this.pictureBox.TabIndex = 0;
    7882      this.pictureBox.TabStop = false;
    79       this.pictureBox.SizeChanged += new System.EventHandler(this.pictureBox_SizeChanged);
    80       this.pictureBox.VisibleChanged += new System.EventHandler(this.pictureBox_VisibleChanged);
    81       this.pictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseDown);
    82       this.pictureBox.MouseEnter += new System.EventHandler(this.pictureBox_MouseEnter);
    83       this.pictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseMove);
    84       this.pictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseUp);
    85       this.pictureBox.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseWheel);
    86 
     83      this.pictureBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnKeyUp);
     84      this.pictureBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown);
     85      this.pictureBox.SizeChanged += new System.EventHandler(this.PictureBoxOnSizeChanged);
     86      this.pictureBox.VisibleChanged += new System.EventHandler(this.PictureBoxOnVisibleChanged);
     87      this.pictureBox.Click += new System.EventHandler(this.PictureBoxOnClick);
     88      this.pictureBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseClick);
     89      this.pictureBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseDoubleClick);
     90      this.pictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseDown);
     91      this.pictureBox.MouseEnter += new System.EventHandler(this.PictureBoxOnMouseEnter);
     92      this.pictureBox.MouseLeave += new System.EventHandler(this.PictureBoxOnMouseLeave);
     93      this.pictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseMove);
     94      this.pictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseUp);
     95      this.pictureBox.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.PictureBoxOnMouseWheel);
    8796      //
    8897      // pictureBoxContextMenuStrip
    8998      //
    9099      this.pictureBoxContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
    91             this.moveToolStripMenuItem,
    92             this.zoomToolStripMenuItem,
    93             this.selectToolStripMenuItem,
    94             this.toolStripMenuItem1,
    95100            this.oneLayerUpToolStripMenuItem,
    96101            this.oneLayerDownToolStripMenuItem,
    97102            this.intoForegroundToolStripMenuItem,
    98103            this.intoBackgroundToolStripMenuItem,
     104            this.toolStripMenuItem1,
     105            this.propertiesToolStripMenuItem,
    99106            this.toolStripMenuItem2,
    100             this.propertiesToolStripMenuItem,
    101107            this.saveImageToolStripMenuItem});
    102108      this.pictureBoxContextMenuStrip.Name = "pictureBoxContextMenuStrip";
    103       this.pictureBoxContextMenuStrip.Size = new System.Drawing.Size(163, 214);
    104       //
    105       // moveToolStripMenuItem
    106       //
    107       this.moveToolStripMenuItem.Checked = true;
    108       this.moveToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    109       this.moveToolStripMenuItem.Name = "moveToolStripMenuItem";
    110       this.moveToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
    111       this.moveToolStripMenuItem.Text = "&Move";
    112       this.moveToolStripMenuItem.Click += new System.EventHandler(this.moveToolStripMenuItem_Click);
    113       //
    114       // zoomToolStripMenuItem
    115       //
    116       this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem";
    117       this.zoomToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
    118       this.zoomToolStripMenuItem.Text = "&Zoom";
    119       this.zoomToolStripMenuItem.Click += new System.EventHandler(this.zoomToolStripMenuItem_Click);
    120       //
    121       // selectToolStripMenuItem
    122       //
    123       this.selectToolStripMenuItem.Name = "selectToolStripMenuItem";
    124       this.selectToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
    125       this.selectToolStripMenuItem.Text = "&Select";
    126       this.selectToolStripMenuItem.Click += new System.EventHandler(this.selectToolStripMenuItem_Click);
    127       //
    128       // toolStripMenuItem1
    129       //
    130       this.toolStripMenuItem1.Name = "toolStripMenuItem1";
    131       this.toolStripMenuItem1.Size = new System.Drawing.Size(159, 6);
     109      this.pictureBoxContextMenuStrip.Size = new System.Drawing.Size(163, 170);
     110      this.pictureBoxContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.PictureBoxContextMenuStripOnOpening);
    132111      //
    133112      // oneLayerUpToolStripMenuItem
     
    163142      this.intoBackgroundToolStripMenuItem.Click += new System.EventHandler(this.intoBackgroundToolStripMenuItem_Click);
    164143      //
    165       // toolStripMenuItem2
    166       //
    167       this.toolStripMenuItem2.Name = "toolStripMenuItem2";
    168       this.toolStripMenuItem2.Size = new System.Drawing.Size(159, 6);
     144      // toolStripMenuItem1
     145      //
     146      this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     147      this.toolStripMenuItem1.Size = new System.Drawing.Size(159, 6);
    169148      //
    170149      // propertiesToolStripMenuItem
     
    176155      this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.propertiesToolStripMenuItem_Click);
    177156      //
     157      // toolStripMenuItem2
     158      //
     159      this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     160      this.toolStripMenuItem2.Size = new System.Drawing.Size(159, 6);
     161      //
    178162      // saveImageToolStripMenuItem
    179163      //
    180164      this.saveImageToolStripMenuItem.Name = "saveImageToolStripMenuItem";
    181165      this.saveImageToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
    182       this.saveImageToolStripMenuItem.Text = "Save Image";
     166      this.saveImageToolStripMenuItem.Text = "&Save Image";
    183167      this.saveImageToolStripMenuItem.Click += new System.EventHandler(this.saveImageToolStripMenuItem_Click);
    184168      //
     
    187171      this.saveFileDialog.DefaultExt = "emf";
    188172      this.saveFileDialog.FileName = "*.emf";
    189       this.saveFileDialog.Filter = "Enhanced metafile|*.emf|Bitmap files|*.bmp";
     173      this.saveFileDialog.Filter = "Bitmap (*.bmp)|*.bmp|JPEG (*.jpg)|*.jpg|EMF (*.emf)|*.emf|PNG (*.png)|*.png|GIF (" +
     174    "*.gif)|*.gif|TIFF (*.tif)|*.tif";
     175      //
     176      // selectButton
     177      //
     178      this.selectButton.Appearance = System.Windows.Forms.Appearance.Button;
     179      this.selectButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Pointer;
     180      this.selectButton.Location = new System.Drawing.Point(3, 3);
     181      this.selectButton.Name = "selectButton";
     182      this.selectButton.Size = new System.Drawing.Size(26, 24);
     183      this.selectButton.TabIndex = 1;
     184      this.selectButton.TabStop = true;
     185      this.selectButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     186      this.toolTip.SetToolTip(this.selectButton, "Select");
     187      this.selectButton.UseVisualStyleBackColor = true;
     188      this.selectButton.CheckedChanged += new System.EventHandler(this.SelectButtonOnCheckedChanged);
     189      //
     190      // moveButton
     191      //
     192      this.moveButton.Appearance = System.Windows.Forms.Appearance.Button;
     193      this.moveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Breakpoint;
     194      this.moveButton.Location = new System.Drawing.Point(3, 33);
     195      this.moveButton.Name = "moveButton";
     196      this.moveButton.Size = new System.Drawing.Size(26, 24);
     197      this.moveButton.TabIndex = 1;
     198      this.moveButton.TabStop = true;
     199      this.moveButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     200      this.toolTip.SetToolTip(this.moveButton, "Move");
     201      this.moveButton.UseVisualStyleBackColor = true;
     202      this.moveButton.CheckedChanged += new System.EventHandler(this.MoveButtonOnCheckedChanged);
     203      //
     204      // zoomInButton
     205      //
     206      this.zoomInButton.Appearance = System.Windows.Forms.Appearance.Button;
     207      this.zoomInButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ZoomIn;
     208      this.zoomInButton.Location = new System.Drawing.Point(3, 63);
     209      this.zoomInButton.Name = "zoomInButton";
     210      this.zoomInButton.Size = new System.Drawing.Size(26, 24);
     211      this.zoomInButton.TabIndex = 1;
     212      this.zoomInButton.TabStop = true;
     213      this.zoomInButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     214      this.toolTip.SetToolTip(this.zoomInButton, "Zoom In");
     215      this.zoomInButton.UseVisualStyleBackColor = true;
     216      this.zoomInButton.CheckedChanged += new System.EventHandler(this.ZoomInButtonOnCheckedChanged);
     217      //
     218      // zoomOutButton
     219      //
     220      this.zoomOutButton.Appearance = System.Windows.Forms.Appearance.Button;
     221      this.zoomOutButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ZoomOut;
     222      this.zoomOutButton.Location = new System.Drawing.Point(3, 93);
     223      this.zoomOutButton.Name = "zoomOutButton";
     224      this.zoomOutButton.Size = new System.Drawing.Size(26, 24);
     225      this.zoomOutButton.TabIndex = 1;
     226      this.zoomOutButton.TabStop = true;
     227      this.zoomOutButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     228      this.toolTip.SetToolTip(this.zoomOutButton, "Zoom Out");
     229      this.zoomOutButton.UseVisualStyleBackColor = true;
     230      this.zoomOutButton.CheckedChanged += new System.EventHandler(this.ZoomOutButtonOnCheckedChanged);
     231      //
     232      // buttonPanel
     233      //
     234      this.buttonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     235            | System.Windows.Forms.AnchorStyles.Left)));
     236      this.buttonPanel.Controls.Add(this.selectButton);
     237      this.buttonPanel.Controls.Add(this.moveButton);
     238      this.buttonPanel.Controls.Add(this.zoomInButton);
     239      this.buttonPanel.Controls.Add(this.zoomOutButton);
     240      this.buttonPanel.Location = new System.Drawing.Point(0, 0);
     241      this.buttonPanel.Name = "buttonPanel";
     242      this.buttonPanel.Size = new System.Drawing.Size(32, 500);
     243      this.buttonPanel.TabIndex = 2;
    190244      //
    191245      // ChartControl
    192246      //
    193       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    194       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     247      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    195248      this.BackColor = System.Drawing.SystemColors.Control;
     249      this.Controls.Add(this.buttonPanel);
    196250      this.Controls.Add(this.pictureBox);
     251      this.DoubleBuffered = true;
    197252      this.Name = "ChartControl";
    198       this.Size = new System.Drawing.Size(266, 236);
    199       this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ChartControl_KeyDown);
     253      this.Size = new System.Drawing.Size(720, 500);
     254      this.Load += new System.EventHandler(this.ChartControl_Load);
     255      this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown);
     256      this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnKeyUp);
    200257      ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
    201258      this.pictureBoxContextMenuStrip.ResumeLayout(false);
     259      this.buttonPanel.ResumeLayout(false);
    202260      this.ResumeLayout(false);
    203261
     
    209267    protected System.Windows.Forms.ToolTip toolTip;
    210268    protected System.Windows.Forms.ContextMenuStrip pictureBoxContextMenuStrip;
    211     protected System.Windows.Forms.ToolStripMenuItem moveToolStripMenuItem;
    212     protected System.Windows.Forms.ToolStripMenuItem zoomToolStripMenuItem;
    213     protected System.Windows.Forms.ToolStripMenuItem selectToolStripMenuItem;
    214     protected System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
     269    protected System.Windows.Forms.ToolStripMenuItem saveImageToolStripMenuItem;
    215270    protected System.Windows.Forms.ToolStripMenuItem propertiesToolStripMenuItem;
    216271    protected System.Windows.Forms.ToolStripMenuItem oneLayerUpToolStripMenuItem;
     
    218273    protected System.Windows.Forms.ToolStripMenuItem intoForegroundToolStripMenuItem;
    219274    protected System.Windows.Forms.ToolStripMenuItem intoBackgroundToolStripMenuItem;
     275    protected System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
    220276    protected System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
    221     private System.Windows.Forms.ToolStripMenuItem saveImageToolStripMenuItem;
    222     private System.Windows.Forms.SaveFileDialog saveFileDialog;
    223 
     277    protected System.Windows.Forms.RadioButton selectButton;
     278    protected System.Windows.Forms.RadioButton moveButton;
     279    protected System.Windows.Forms.RadioButton zoomInButton;
     280    protected System.Windows.Forms.RadioButton zoomOutButton;
     281    protected System.Windows.Forms.FlowLayoutPanel buttonPanel;
     282    protected System.Windows.Forms.SaveFileDialog saveFileDialog;
    224283  }
    225284}
Note: See TracChangeset for help on using the changeset viewer.