Changeset 2860 for branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.DeploymentService.AdminClient/MainForm.cs
- Timestamp:
- 02/24/10 14:34:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.DeploymentService.AdminClient/MainForm.cs
r2802 r2860 7 7 namespace HeuristicLab.DeploymentService.AdminClient { 8 8 class MainForm : DockingMainForm { 9 public MainForm(Type type) : base(type) { } 9 private System.Windows.Forms.ProgressBar progressBar; 10 11 public MainForm(Type type) 12 : base(type) { 13 InitializeComponent(); 14 } 10 15 11 16 protected override void OnInitialized(EventArgs e) { … … 13 18 (new PluginListView()).Show(); 14 19 } 20 21 private void InitializeComponent() { 22 this.progressBar = new System.Windows.Forms.ProgressBar(); 23 this.SuspendLayout(); 24 // 25 // progressBar 26 // 27 this.progressBar.Location = new System.Drawing.Point(0, 528); 28 this.progressBar.Name = "progressBar"; 29 this.progressBar.Size = new System.Drawing.Size(129, 23); 30 this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee; 31 this.progressBar.TabIndex = 7; 32 this.progressBar.Visible = false; 33 // 34 // MainForm 35 // 36 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 37 this.ClientSize = new System.Drawing.Size(770, 550); 38 this.Controls.Add(this.progressBar); 39 this.Name = "MainForm"; 40 this.Controls.SetChildIndex(this.progressBar, 0); 41 this.ResumeLayout(false); 42 this.PerformLayout(); 43 44 } 45 46 public void ShowProgressBar() { 47 progressBar.Visible = true; 48 } 49 50 public void HideProgressBar() { 51 progressBar.Visible = false; 52 } 15 53 } 16 54 }
Note: See TracChangeset
for help on using the changeset viewer.