Commit b8f813c

unknown <mo@.(none)>
2009-09-06 04:33:47
tweaked the status bar a bit so that the message show up in order.
1 parent ac17b5e
Changed files (3)
product
Boot
boot
container
registration
proxy_configuration
Presentation
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(
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();
         }
     }
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;