diff options
| author | unknown <mo@.(none)> | 2009-09-05 22:33:47 -0600 |
|---|---|---|
| committer | unknown <mo@.(none)> | 2009-09-05 22:33:47 -0600 |
| commit | b8f813c1c3b524aa302a9e85d525e47a8a74090f (patch) | |
| tree | 80f71047f6f140726e6c7fb6d2520cb101035f84 | |
| parent | ac17b5e4315809edd7f211663c6e31d0c050d324 (diff) | |
tweaked the status bar a bit so that the message show up in order.
3 files changed, 14 insertions, 11 deletions
diff --git a/product/Boot/boot/container/registration/proxy_configuration/ServiceLayerConfiguration.cs b/product/Boot/boot/container/registration/proxy_configuration/ServiceLayerConfiguration.cs index f6eeb0e..a8b7b71 100644 --- a/product/Boot/boot/container/registration/proxy_configuration/ServiceLayerConfiguration.cs +++ b/product/Boot/boot/container/registration/proxy_configuration/ServiceLayerConfiguration.cs @@ -8,8 +8,8 @@ namespace MoMoney.boot.container.registration.proxy_configuration { public void configure(IProxyBuilder<T> item) { - item.add_interceptor(Lazy.load<IUnitOfWorkInterceptor>()).intercept_all(); item.add_interceptor(Lazy.load<INotifyProgressInterceptor>()).intercept_all(); + item.add_interceptor(Lazy.load<IUnitOfWorkInterceptor>()).intercept_all(); //item // .add_interceptor( diff --git a/product/Presentation/Presenters/StatusBarPresenter.cs b/product/Presentation/Presenters/StatusBarPresenter.cs index 09561d9..4790436 100644 --- a/product/Presentation/Presenters/StatusBarPresenter.cs +++ b/product/Presentation/Presenters/StatusBarPresenter.cs @@ -66,14 +66,14 @@ namespace MoMoney.Presentation.Presenters public void notify(StartedRunningCommand message) { - view.display(ApplicationIcons.hour_glass, "Running... {0}".formatted_using(message.running_action)); + //view.display(ApplicationIcons.hour_glass, "Running... {0}".formatted_using(message.running_action)); timer.start_notifying(view, new TimeSpan(1)); } public void notify(FinishedRunningCommand message) { - view.display(ApplicationIcons.green_circle, "Finished... {0}".formatted_using(message.completed_action)); timer.stop_notifying(view); + //view.display(ApplicationIcons.green_circle, "Ready"); view.reset_progress_bar(); } } diff --git a/product/Presentation/Winforms/Views/ApplicationShell.Designer.cs b/product/Presentation/Winforms/Views/ApplicationShell.Designer.cs index dcfc8c3..bd34a9c 100644 --- a/product/Presentation/Winforms/Views/ApplicationShell.Designer.cs +++ b/product/Presentation/Winforms/Views/ApplicationShell.Designer.cs @@ -46,8 +46,8 @@ namespace MoMoney.Presentation.Winforms.Views WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.ux_main_menu_strip = new System.Windows.Forms.MenuStrip(); this.ux_status_bar = new System.Windows.Forms.StatusStrip(); - this.status_bar_label = new System.Windows.Forms.ToolStripStatusLabel(); this.status_bar_progress_bar = new System.Windows.Forms.ToolStripProgressBar(); + this.status_bar_label = new System.Windows.Forms.ToolStripStatusLabel(); this.ux_dock_panel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); this.ux_tool_bar_strip = new System.Windows.Forms.ToolStrip(); this.notification_icon = new System.Windows.Forms.NotifyIcon(this.components); @@ -66,8 +66,8 @@ namespace MoMoney.Presentation.Winforms.Views // ux_status_bar // this.ux_status_bar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.status_bar_progress_bar, - this.status_bar_label}); + this.status_bar_label, + this.status_bar_progress_bar}); this.ux_status_bar.Location = new System.Drawing.Point(0, 485); this.ux_status_bar.Name = "ux_status_bar"; this.ux_status_bar.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; @@ -75,17 +75,20 @@ namespace MoMoney.Presentation.Winforms.Views this.ux_status_bar.TabIndex = 2; this.ux_status_bar.Text = "statusStrip1"; // + // status_bar_progress_bar + // + this.status_bar_progress_bar.Name = "status_bar_progress_bar"; + this.status_bar_progress_bar.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.status_bar_progress_bar.RightToLeftLayout = true; + this.status_bar_progress_bar.Size = new System.Drawing.Size(75, 16); + this.status_bar_progress_bar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; + // // status_bar_label // this.status_bar_label.Name = "status_bar_label"; this.status_bar_label.Size = new System.Drawing.Size(16, 17); this.status_bar_label.Text = "..."; // - // status_bar_progress_bar - // - this.status_bar_progress_bar.Name = "status_bar_progress_bar"; - this.status_bar_progress_bar.Size = new System.Drawing.Size(75, 16); - // // ux_dock_panel // this.ux_dock_panel.ActiveAutoHideContent = null; |
