- Timestamp:
- 03/22/10 16:53:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginAdministrator/3.3/MainForm.cs
r3081 r3179 29 29 internal class MainForm : DockingMainForm { 30 30 private System.Windows.Forms.ToolStripProgressBar progressBar; 31 31 private System.Windows.Forms.ToolStripLabel statusLabel; 32 32 public MainForm(Type type) 33 33 : base(type) { … … 41 41 42 42 private void InitializeComponent() { 43 this.progressBar = new System.Windows.Forms.ToolStripProgressBar(); 44 this.statusLabel = new System.Windows.Forms.ToolStripLabel(); 43 45 this.SuspendLayout(); 46 // 47 // progressBar 48 // 49 this.progressBar.MarqueeAnimationSpeed = 30; 50 this.progressBar.Name = "progressBar"; 51 this.progressBar.Size = new System.Drawing.Size(100, 16); 52 this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee; 53 this.progressBar.Visible = false; 44 54 45 progressBar = new System.Windows.Forms.ToolStripProgressBar(); 46 progressBar.MarqueeAnimationSpeed = 30; 47 progressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee; 48 progressBar.Visible = false; 49 statusStrip.Items.Add(progressBar); 55 this.statusLabel.Name = "statusLabel"; 56 this.statusLabel.Visible = true; 50 57 // 51 58 // MainForm … … 56 63 this.ResumeLayout(false); 57 64 this.PerformLayout(); 65 58 66 } 59 67 … … 65 73 progressBar.Visible = false; 66 74 } 75 76 public void SetStatusBarText(string msg) { 77 statusLabel.Text = msg; 78 } 67 79 } 68 80 }
Note: See TracChangeset
for help on using the changeset viewer.