Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/10 14:58:26 (15 years ago)
Author:
gkronber
Message:

Improved GUI for plugin and product management. #891 (Refactor GUI for plugin management)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.DeploymentService.AdminClient/ProductEditor.Designer.cs

    r2804 r3015  
    2525    private void InitializeComponent() {
    2626      this.components = new System.ComponentModel.Container();
    27       this.productsListBox = new System.Windows.Forms.ListBox();
    28       this.pluginsList = new System.Windows.Forms.CheckedListBox();
    2927      this.refreshButton = new System.Windows.Forms.Button();
    3028      this.saveButton = new System.Windows.Forms.Button();
     
    3735      this.nameLabel = new System.Windows.Forms.Label();
    3836      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     37      this.productsListView = new System.Windows.Forms.ListView();
     38      this.productNameHeader = new System.Windows.Forms.ColumnHeader();
     39      this.productVersionHeader = new System.Windows.Forms.ColumnHeader();
     40      this.productImageList = new System.Windows.Forms.ImageList(this.components);
     41      this.pluginImageList = new System.Windows.Forms.ImageList(this.components);
     42      this.pluginsListView = new System.Windows.Forms.ListView();
     43      this.pluginNameHeader = new System.Windows.Forms.ColumnHeader();
     44      this.pluginVersionHeader = new System.Windows.Forms.ColumnHeader();
    3945      this.splitContainer.Panel1.SuspendLayout();
    4046      this.splitContainer.Panel2.SuspendLayout();
     
    4248      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4349      this.SuspendLayout();
    44       //
    45       // productsListBox
    46       //
    47       this.productsListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    48                   | System.Windows.Forms.AnchorStyles.Left)
    49                   | System.Windows.Forms.AnchorStyles.Right)));
    50       this.productsListBox.FormattingEnabled = true;
    51       this.productsListBox.Location = new System.Drawing.Point(3, 3);
    52       this.productsListBox.Name = "productsListBox";
    53       this.productsListBox.Size = new System.Drawing.Size(173, 355);
    54       this.productsListBox.TabIndex = 0;
    55       this.productsListBox.SelectedIndexChanged += new System.EventHandler(this.productsListBox_SelectedIndexChanged);
    56       //
    57       // pluginsList
    58       //
    59       this.pluginsList.FormattingEnabled = true;
    60       this.pluginsList.Location = new System.Drawing.Point(6, 85);
    61       this.pluginsList.Name = "pluginsList";
    62       this.pluginsList.Size = new System.Drawing.Size(347, 289);
    63       this.pluginsList.TabIndex = 1;
    6450      //
    6551      // refreshButton
     
    7965      this.saveButton.Size = new System.Drawing.Size(96, 23);
    8066      this.saveButton.TabIndex = 2;
    81       this.saveButton.Text = "Save changes";
     67      this.saveButton.Text = "Upload Products";
    8268      this.saveButton.UseVisualStyleBackColor = true;
    8369      this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     
    10490      // splitContainer.Panel1
    10591      //
    106       this.splitContainer.Panel1.Controls.Add(this.productsListBox);
     92      this.splitContainer.Panel1.Controls.Add(this.productsListView);
    10793      this.splitContainer.Panel1.Controls.Add(this.newProductButton);
    10894      //
    10995      // splitContainer.Panel2
    11096      //
     97      this.splitContainer.Panel2.Controls.Add(this.pluginsListView);
    11198      this.splitContainer.Panel2.Controls.Add(this.pluginsLabel);
    11299      this.splitContainer.Panel2.Controls.Add(this.versionTextBox);
     
    114101      this.splitContainer.Panel2.Controls.Add(this.nameTextBox);
    115102      this.splitContainer.Panel2.Controls.Add(this.nameLabel);
    116       this.splitContainer.Panel2.Controls.Add(this.pluginsList);
    117       this.splitContainer.Size = new System.Drawing.Size(539, 391);
    118       this.splitContainer.SplitterDistance = 179;
     103      this.splitContainer.Size = new System.Drawing.Size(659, 391);
     104      this.splitContainer.SplitterDistance = 319;
    119105      this.splitContainer.TabIndex = 4;
    120106      //
     
    122108      //
    123109      this.pluginsLabel.AutoSize = true;
    124       this.pluginsLabel.Location = new System.Drawing.Point(4, 69);
     110      this.pluginsLabel.Location = new System.Drawing.Point(11, 69);
    125111      this.pluginsLabel.Name = "pluginsLabel";
    126112      this.pluginsLabel.Size = new System.Drawing.Size(44, 13);
     
    130116      // versionTextBox
    131117      //
    132       this.versionTextBox.Location = new System.Drawing.Point(47, 29);
     118      this.versionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     119                  | System.Windows.Forms.AnchorStyles.Right)));
     120      this.versionTextBox.Location = new System.Drawing.Point(68, 29);
    133121      this.versionTextBox.Name = "versionTextBox";
    134       this.versionTextBox.Size = new System.Drawing.Size(100, 20);
     122      this.versionTextBox.Size = new System.Drawing.Size(233, 20);
    135123      this.versionTextBox.TabIndex = 5;
    136124      this.versionTextBox.TextChanged += new System.EventHandler(this.versionTextBox_TextChanged);
     
    139127      //
    140128      this.versionLabel.AutoSize = true;
    141       this.versionLabel.Location = new System.Drawing.Point(3, 32);
     129      this.versionLabel.Location = new System.Drawing.Point(10, 32);
    142130      this.versionLabel.Name = "versionLabel";
    143131      this.versionLabel.Size = new System.Drawing.Size(45, 13);
     
    147135      // nameTextBox
    148136      //
    149       this.nameTextBox.Location = new System.Drawing.Point(47, 3);
     137      this.nameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     138                  | System.Windows.Forms.AnchorStyles.Right)));
     139      this.nameTextBox.Location = new System.Drawing.Point(68, 3);
    150140      this.nameTextBox.Name = "nameTextBox";
    151       this.nameTextBox.Size = new System.Drawing.Size(100, 20);
     141      this.nameTextBox.Size = new System.Drawing.Size(233, 20);
    152142      this.nameTextBox.TabIndex = 3;
    153143      this.nameTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged);
     
    156146      //
    157147      this.nameLabel.AutoSize = true;
    158       this.nameLabel.Location = new System.Drawing.Point(3, 6);
     148      this.nameLabel.Location = new System.Drawing.Point(17, 6);
    159149      this.nameLabel.Name = "nameLabel";
    160150      this.nameLabel.Size = new System.Drawing.Size(38, 13);
     
    165155      //
    166156      this.errorProvider.ContainerControl = this;
     157      //
     158      // productsListView
     159      //
     160      this.productsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     161                  | System.Windows.Forms.AnchorStyles.Left)
     162                  | System.Windows.Forms.AnchorStyles.Right)));
     163      this.productsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     164            this.productNameHeader,
     165            this.productVersionHeader});
     166      this.productsListView.FullRowSelect = true;
     167      this.productsListView.Location = new System.Drawing.Point(3, 3);
     168      this.productsListView.MultiSelect = false;
     169      this.productsListView.Name = "productsListView";
     170      this.productsListView.Size = new System.Drawing.Size(313, 356);
     171      this.productsListView.SmallImageList = this.productImageList;
     172      this.productsListView.TabIndex = 4;
     173      this.productsListView.UseCompatibleStateImageBehavior = false;
     174      this.productsListView.View = System.Windows.Forms.View.Details;
     175      this.productsListView.SelectedIndexChanged += new System.EventHandler(this.productsListBox_SelectedIndexChanged);
     176      //
     177      // productNameHeader
     178      //
     179      this.productNameHeader.Text = "Name";
     180      this.productNameHeader.Width = 150;
     181      //
     182      // productVersionHeader
     183      //
     184      this.productVersionHeader.Text = "Version";
     185      this.productVersionHeader.Width = 100;
     186      //
     187      // productImageList
     188      //
     189      this.productImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     190      this.productImageList.ImageSize = new System.Drawing.Size(16, 16);
     191      this.productImageList.TransparentColor = System.Drawing.Color.Transparent;
     192      //
     193      // pluginImageList
     194      //
     195      this.pluginImageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     196      this.pluginImageList.ImageSize = new System.Drawing.Size(16, 16);
     197      this.pluginImageList.TransparentColor = System.Drawing.Color.Transparent;
     198      //
     199      // pluginsListView
     200      //
     201      this.pluginsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     202                  | System.Windows.Forms.AnchorStyles.Left)
     203                  | System.Windows.Forms.AnchorStyles.Right)));
     204      this.pluginsListView.CheckBoxes = true;
     205      this.pluginsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     206            this.pluginNameHeader,
     207            this.pluginVersionHeader});
     208      this.pluginsListView.Location = new System.Drawing.Point(3, 85);
     209      this.pluginsListView.Name = "pluginsListView";
     210      this.pluginsListView.Size = new System.Drawing.Size(333, 303);
     211      this.pluginsListView.SmallImageList = this.pluginImageList;
     212      this.pluginsListView.TabIndex = 7;
     213      this.pluginsListView.UseCompatibleStateImageBehavior = false;
     214      this.pluginsListView.View = System.Windows.Forms.View.Details;
     215      this.pluginsListView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.pluginsListView_ItemChecked);
     216      //
     217      // pluginNameHeader
     218      //
     219      this.pluginNameHeader.Text = "Name";
     220      this.pluginNameHeader.Width = 220;
     221      //
     222      // pluginVersionHeader
     223      //
     224      this.pluginVersionHeader.Text = "Version";
     225      this.pluginVersionHeader.Width = 120;
    167226      //
    168227      // ProductEditor
     
    174233      this.Controls.Add(this.refreshButton);
    175234      this.Name = "ProductEditor";
    176       this.Size = new System.Drawing.Size(545, 426);
     235      this.Size = new System.Drawing.Size(665, 426);
    177236      this.splitContainer.Panel1.ResumeLayout(false);
    178237      this.splitContainer.Panel2.ResumeLayout(false);
     
    186245    #endregion
    187246
    188     private System.Windows.Forms.ListBox productsListBox;
    189     private System.Windows.Forms.CheckedListBox pluginsList;
    190247    private System.Windows.Forms.Button refreshButton;
    191248    private System.Windows.Forms.Button saveButton;
     
    198255    private System.Windows.Forms.Label nameLabel;
    199256    private System.Windows.Forms.ErrorProvider errorProvider;
     257    private System.Windows.Forms.ListView productsListView;
     258    private System.Windows.Forms.ColumnHeader productNameHeader;
     259    private System.Windows.Forms.ColumnHeader productVersionHeader;
     260    private System.Windows.Forms.ImageList productImageList;
     261    private System.Windows.Forms.ImageList pluginImageList;
     262    private System.Windows.Forms.ListView pluginsListView;
     263    private System.Windows.Forms.ColumnHeader pluginNameHeader;
     264    private System.Windows.Forms.ColumnHeader pluginVersionHeader;
    200265
    201266  }
Note: See TracChangeset for help on using the changeset viewer.