Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/10/17 14:30:37 (7 years ago)
Author:
pfleck
Message:

#2845

  • Fixed/Added Progress Cancellation/Stopping
  • Added Visible property to progress and ProgressBarMode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/EnhancedProgress/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.designer.cs

    r14185 r15415  
    2727    private System.ComponentModel.IContainer components = null;
    2828
    29    
     29
    3030    #region Component Designer generated code
    3131
     
    3636    private void InitializeComponent() {
    3737      this.progressBar = new System.Windows.Forms.ProgressBar();
    38       this.statusLabel = new System.Windows.Forms.Label();
     38      this.messageLabel = new System.Windows.Forms.Label();
    3939      this.cancelButton = new System.Windows.Forms.Button();
    4040      this.panel = new System.Windows.Forms.Panel();
     41      this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
     42      this.stopButton = new System.Windows.Forms.Button();
    4143      this.panel.SuspendLayout();
     44      this.flowLayoutPanel.SuspendLayout();
    4245      this.SuspendLayout();
    4346      //
     
    5255      this.progressBar.TabIndex = 0;
    5356      //
    54       // statusLabel
     57      // messageLabel
    5558      //
    56       this.statusLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     59      this.messageLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    5760            | System.Windows.Forms.AnchorStyles.Right)));
    58       this.statusLabel.Location = new System.Drawing.Point(3, 33);
    59       this.statusLabel.Name = "statusLabel";
    60       this.statusLabel.Size = new System.Drawing.Size(352, 17);
    61       this.statusLabel.TabIndex = 1;
     61      this.messageLabel.Location = new System.Drawing.Point(3, 33);
     62      this.messageLabel.Name = "messageLabel";
     63      this.messageLabel.Size = new System.Drawing.Size(352, 17);
     64      this.messageLabel.TabIndex = 1;
    6265      //
    6366      // cancelButton
    6467      //
    65       this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    66       this.cancelButton.Location = new System.Drawing.Point(280, 53);
     68      this.cancelButton.Location = new System.Drawing.Point(274, 3);
    6769      this.cancelButton.Name = "cancelButton";
    6870      this.cancelButton.Size = new System.Drawing.Size(75, 23);
     
    7880            | System.Windows.Forms.AnchorStyles.Right)));
    7981      this.panel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     82      this.panel.Controls.Add(this.flowLayoutPanel);
    8083      this.panel.Controls.Add(this.progressBar);
    81       this.panel.Controls.Add(this.cancelButton);
    82       this.panel.Controls.Add(this.statusLabel);
     84      this.panel.Controls.Add(this.messageLabel);
    8385      this.panel.Location = new System.Drawing.Point(0, 0);
    8486      this.panel.Name = "panel";
    8587      this.panel.Size = new System.Drawing.Size(360, 88);
    8688      this.panel.TabIndex = 3;
     89      //
     90      // flowLayoutPanel
     91      //
     92      this.flowLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     93            | System.Windows.Forms.AnchorStyles.Left)
     94            | System.Windows.Forms.AnchorStyles.Right)));
     95      this.flowLayoutPanel.Controls.Add(this.cancelButton);
     96      this.flowLayoutPanel.Controls.Add(this.stopButton);
     97      this.flowLayoutPanel.Location = new System.Drawing.Point(3, 53);
     98      this.flowLayoutPanel.Name = "flowLayoutPanel";
     99      this.flowLayoutPanel.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     100      this.flowLayoutPanel.Size = new System.Drawing.Size(352, 30);
     101      this.flowLayoutPanel.TabIndex = 3;
     102      //
     103      // stopButton
     104      //
     105      this.stopButton.Dock = System.Windows.Forms.DockStyle.Left;
     106      this.stopButton.Location = new System.Drawing.Point(193, 3);
     107      this.stopButton.Name = "stopButton";
     108      this.stopButton.Size = new System.Drawing.Size(75, 23);
     109      this.stopButton.TabIndex = 3;
     110      this.stopButton.Text = "Stop";
     111      this.stopButton.UseVisualStyleBackColor = true;
     112      this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
    87113      //
    88114      // ProgressView
     
    93119      this.Size = new System.Drawing.Size(360, 88);
    94120      this.panel.ResumeLayout(false);
     121      this.flowLayoutPanel.ResumeLayout(false);
    95122      this.ResumeLayout(false);
    96123
     
    100127
    101128    private System.Windows.Forms.ProgressBar progressBar;
    102     private System.Windows.Forms.Label statusLabel;
     129    private System.Windows.Forms.Label messageLabel;
    103130    private System.Windows.Forms.Button cancelButton;
    104131    private System.Windows.Forms.Panel panel;
     132    private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel;
     133    private System.Windows.Forms.Button stopButton;
    105134  }
    106135}
Note: See TracChangeset for help on using the changeset viewer.