Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/10 20:16:21 (14 years ago)
Author:
gkronber
Message:

Implemented change requests of reviewers. #989 (Implement review comments in plugin infrastructure)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/ProductEditor.Designer.cs

    r3573 r3612  
    5050      this.splitContainer = new System.Windows.Forms.SplitContainer();
    5151      this.productsGroupBox = new System.Windows.Forms.GroupBox();
     52      this.deleteProductButton = new System.Windows.Forms.Button();
    5253      this.newProductButton = new System.Windows.Forms.Button();
    5354      this.productsListView = new System.Windows.Forms.ListView();
     
    5758      this.detailsGroupBox = new System.Windows.Forms.GroupBox();
    5859      this.pluginsGroupBox = new System.Windows.Forms.GroupBox();
    59       this.pluginListView = new HeuristicLab.PluginInfrastructure.Advanced.PluginListView();
     60      this.pluginListView = new HeuristicLab.PluginInfrastructure.Advanced.MultiSelectListView();
     61      this.pluginImageList = new System.Windows.Forms.ImageList(this.components);
    6062      this.versionTextBox = new System.Windows.Forms.TextBox();
    6163      this.nameLabel = new System.Windows.Forms.Label();
    6264      this.nameTextBox = new System.Windows.Forms.TextBox();
    6365      this.versionLabel = new System.Windows.Forms.Label();
    64       this.pluginImageList = new System.Windows.Forms.ImageList(this.components);
    6566      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
    6667      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     68      this.pluginNameHeader = new System.Windows.Forms.ColumnHeader();
     69      this.pluginVersionHeader = new System.Windows.Forms.ColumnHeader();
     70      this.pluginDescriptionHeader = new System.Windows.Forms.ColumnHeader();
    6771      this.splitContainer.Panel1.SuspendLayout();
    6872      this.splitContainer.Panel2.SuspendLayout();
     
    125129                  | System.Windows.Forms.AnchorStyles.Left)
    126130                  | System.Windows.Forms.AnchorStyles.Right)));
     131      this.productsGroupBox.Controls.Add(this.deleteProductButton);
    127132      this.productsGroupBox.Controls.Add(this.uploadButton);
    128133      this.productsGroupBox.Controls.Add(this.newProductButton);
     
    135140      this.productsGroupBox.TabStop = false;
    136141      this.productsGroupBox.Text = "Products";
     142      //
     143      // deleteProductButton
     144      //
     145      this.deleteProductButton.Enabled = false;
     146      this.deleteProductButton.Image = global::HeuristicLab.PluginInfrastructure.Properties.Resources.VS2008ImageLibrary_CommonElements_Actions_Remove;
     147      this.deleteProductButton.Location = new System.Drawing.Point(116, 19);
     148      this.deleteProductButton.Name = "deleteProductButton";
     149      this.deleteProductButton.Size = new System.Drawing.Size(104, 26);
     150      this.deleteProductButton.TabIndex = 5;
     151      this.deleteProductButton.Text = "Delete Product";
     152      this.deleteProductButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     153      this.toolTip.SetToolTip(this.deleteProductButton, "Deletes the selected product");
     154      this.deleteProductButton.UseVisualStyleBackColor = true;
     155      this.deleteProductButton.Click += new System.EventHandler(this.deleteProductButton_Click);
    137156      //
    138157      // newProductButton
     
    160179      this.productsListView.Enabled = false;
    161180      this.productsListView.FullRowSelect = true;
     181      this.productsListView.HideSelection = false;
    162182      this.productsListView.Location = new System.Drawing.Point(6, 51);
    163183      this.productsListView.MultiSelect = false;
     
    196216      this.detailsGroupBox.Controls.Add(this.nameTextBox);
    197217      this.detailsGroupBox.Controls.Add(this.versionLabel);
     218      this.detailsGroupBox.Enabled = false;
    198219      this.detailsGroupBox.Location = new System.Drawing.Point(0, 0);
    199220      this.detailsGroupBox.Name = "detailsGroupBox";
     
    221242                  | System.Windows.Forms.AnchorStyles.Left)
    222243                  | System.Windows.Forms.AnchorStyles.Right)));
    223       this.pluginListView.Enabled = false;
     244      this.pluginListView.CheckBoxes = true;
     245      this.pluginListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     246            this.pluginNameHeader,
     247            this.pluginVersionHeader,
     248            this.pluginDescriptionHeader});
    224249      this.pluginListView.Location = new System.Drawing.Point(3, 16);
    225250      this.pluginListView.Name = "pluginListView";
    226       this.pluginListView.Plugins = null;
    227251      this.pluginListView.Size = new System.Drawing.Size(322, 330);
     252      this.pluginListView.SmallImageList = this.pluginImageList;
     253      this.pluginListView.SuppressItemCheckedEvents = false;
    228254      this.pluginListView.TabIndex = 7;
     255      this.pluginListView.UseCompatibleStateImageBehavior = false;
     256      this.pluginListView.View = System.Windows.Forms.View.Details;
    229257      this.pluginListView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.pluginListView_ItemChecked);
    230258      //
     259      // pluginImageList
     260      //
     261      this.pluginImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     262      this.pluginImageList.ImageSize = new System.Drawing.Size(16, 16);
     263      this.pluginImageList.TransparentColor = System.Drawing.Color.Transparent;
     264      //
    231265      // versionTextBox
    232266      //
    233267      this.versionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    234268                  | System.Windows.Forms.AnchorStyles.Right)));
    235       this.versionTextBox.Enabled = false;
    236269      this.versionTextBox.Location = new System.Drawing.Point(57, 45);
    237270      this.versionTextBox.Name = "versionTextBox";
    238       this.versionTextBox.Size = new System.Drawing.Size(277, 20);
     271      this.versionTextBox.Size = new System.Drawing.Size(243, 20);
    239272      this.versionTextBox.TabIndex = 5;
    240273      this.versionTextBox.TextChanged += new System.EventHandler(this.versionTextBox_TextChanged);
     
    243276      //
    244277      this.nameLabel.AutoSize = true;
    245       this.nameLabel.Enabled = false;
    246278      this.nameLabel.Location = new System.Drawing.Point(13, 22);
    247279      this.nameLabel.Name = "nameLabel";
     
    254286      this.nameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    255287                  | System.Windows.Forms.AnchorStyles.Right)));
    256       this.nameTextBox.Enabled = false;
    257288      this.nameTextBox.Location = new System.Drawing.Point(57, 19);
    258289      this.nameTextBox.Name = "nameTextBox";
    259       this.nameTextBox.Size = new System.Drawing.Size(277, 20);
     290      this.nameTextBox.Size = new System.Drawing.Size(243, 20);
    260291      this.nameTextBox.TabIndex = 3;
    261292      this.nameTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
     
    264295      //
    265296      this.versionLabel.AutoSize = true;
    266       this.versionLabel.Enabled = false;
    267297      this.versionLabel.Location = new System.Drawing.Point(6, 48);
    268298      this.versionLabel.Name = "versionLabel";
     
    271301      this.versionLabel.Text = "Version:";
    272302      //
    273       // pluginImageList
    274       //
    275       this.pluginImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
    276       this.pluginImageList.ImageSize = new System.Drawing.Size(16, 16);
    277       this.pluginImageList.TransparentColor = System.Drawing.Color.Transparent;
    278       //
    279303      // errorProvider
    280304      //
    281305      this.errorProvider.ContainerControl = this;
     306      //
     307      // pluginNameHeader
     308      //
     309      this.pluginNameHeader.Text = "Name";
     310      //
     311      // pluginVersionHeader
     312      //
     313      this.pluginVersionHeader.Text = "Version";
     314      //
     315      // pluginDescriptionHeader
     316      //
     317      this.pluginDescriptionHeader.Text = "Description";
    282318      //
    283319      // ProductEditor
     
    316352    private System.Windows.Forms.ImageList productImageList;
    317353    private System.Windows.Forms.ImageList pluginImageList;
    318     private PluginListView pluginListView;
     354    private MultiSelectListView pluginListView;
    319355    private System.Windows.Forms.GroupBox productsGroupBox;
    320356    private System.Windows.Forms.GroupBox detailsGroupBox;
    321357    private System.Windows.Forms.GroupBox pluginsGroupBox;
    322358    private System.Windows.Forms.ToolTip toolTip;
     359    private System.Windows.Forms.Button deleteProductButton;
     360    private System.Windows.Forms.ColumnHeader pluginNameHeader;
     361    private System.Windows.Forms.ColumnHeader pluginVersionHeader;
     362    private System.Windows.Forms.ColumnHeader pluginDescriptionHeader;
    323363
    324364  }
Note: See TracChangeset for help on using the changeset viewer.