Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/10 11:46:57 (14 years ago)
Author:
mkommend
Message:

changed ViewHost to use ViewContextMenuStrip (ticket #95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.Designer.cs

    r2800 r2838  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.components = new System.ComponentModel.Container();
     47      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewHost));
    4848      this.viewPanel = new System.Windows.Forms.Panel();
    4949      this.messageLabel = new System.Windows.Forms.Label();
    5050      this.viewsLabel = new System.Windows.Forms.Label();
    51       this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
    52       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     51      this.viewContextMenuStrip = new HeuristicLab.MainForm.WindowsForms.ViewContextMenuStrip();
    5352      this.SuspendLayout();
    5453      //
     
    7675      //
    7776      this.viewsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    78       this.viewsLabel.ContextMenuStrip = this.contextMenuStrip;
    79       this.viewsLabel.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Windows;
     77      this.viewsLabel.ContextMenuStrip = this.viewContextMenuStrip;
     78      this.viewsLabel.Image = ((System.Drawing.Image)(resources.GetObject("viewsLabel.Image")));
    8079      this.viewsLabel.Location = new System.Drawing.Point(211, 0);
    8180      this.viewsLabel.Name = "viewsLabel";
    8281      this.viewsLabel.Size = new System.Drawing.Size(16, 16);
    8382      this.viewsLabel.TabIndex = 0;
    84       this.toolTip.SetToolTip(this.viewsLabel, "Double-click to open a new window of the current view.\r\nRight-click to change cur" +
    85               "rent view.");
    8683      this.viewsLabel.DoubleClick += new System.EventHandler(this.viewsLabel_DoubleClick);
    8784      //
    88       // contextMenuStrip
     85      // viewContextMenuStrip
    8986      //
    90       this.contextMenuStrip.Name = "contextMenuStrip";
    91       this.contextMenuStrip.ShowCheckMargin = true;
    92       this.contextMenuStrip.ShowImageMargin = false;
    93       this.contextMenuStrip.Size = new System.Drawing.Size(61, 4);
    94       this.contextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.contextMenuStrip_ItemClicked);
     87      this.viewContextMenuStrip.Item = null;
     88      this.viewContextMenuStrip.Name = "viewContextMenuStrip";
     89      this.viewContextMenuStrip.Size = new System.Drawing.Size(61, 4);
     90      this.viewContextMenuStrip.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.viewContextMenuStrip_ItemClicked);
    9591      //
    9692      // ViewHost
     
    112108    private System.Windows.Forms.Label viewsLabel;
    113109    private System.Windows.Forms.Label messageLabel;
    114     private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
    115     private System.Windows.Forms.ToolTip toolTip;
     110    private HeuristicLab.MainForm.WindowsForms.ViewContextMenuStrip viewContextMenuStrip;
    116111
    117112  }
Note: See TracChangeset for help on using the changeset viewer.