Commit 45ef7c7

mokhan <mokhan@ce5e1baf-6525-42e4-a1b2-857ea38da20a>
2009-04-21 22:08:10
git-svn-id: https://svn.xp-dev.com/svn/mokhan-mo.money@185 ce5e1baf-6525-42e4-a1b2-857ea38da20a
1 parent 86f7c7f
trunk/product/MoMoney.Presentation/Views/Billing/view_all_bills_report.cs → trunk/product/MoMoney.Presentation/Views/Billing/ViewAllBillsReport.cs
@@ -12,9 +12,9 @@ namespace MoMoney.Presentation.Views.billing
         void run(IEnumerable<BillInformationDTO> bills);
     }
 
-    public partial class view_all_bills_report : ActiveReport3, IViewAllBillsReport
+    public partial class ViewAllBillsReport : ActiveReport3, IViewAllBillsReport
     {
-        public view_all_bills_report()
+        public ViewAllBillsReport()
         {
             InitializeComponent();
             name = "View All Bills - Report";
trunk/product/MoMoney.Presentation/Views/Billing/view_all_bills_report.Designer.cs → trunk/product/MoMoney.Presentation/Views/Billing/ViewAllBillsReport.Designer.cs
@@ -3,7 +3,7 @@ namespace MoMoney.Presentation.Views.billing
     /// <summary>
     /// Summary description for view_all_bills.
     /// </summary>
-    partial class view_all_bills_report
+    partial class ViewAllBillsReport
     {
         private DataDynamics.ActiveReports.PageHeader pageHeader;
         private DataDynamics.ActiveReports.Detail detail;
@@ -27,7 +27,7 @@ namespace MoMoney.Presentation.Views.billing
         /// </summary>
         private void InitializeComponent()
         {
-            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(view_all_bills_report));
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewAllBillsReport));
             this.pageHeader = new DataDynamics.ActiveReports.PageHeader();
             this.detail = new DataDynamics.ActiveReports.Detail();
             this.ux_company_name = new DataDynamics.ActiveReports.RichTextBox();
trunk/product/MoMoney.Presentation/Views/Billing/view_all_bills_report.resx → trunk/product/MoMoney.Presentation/Views/Billing/ViewAllBillsReport.resx
File renamed without changes
trunk/product/MoMoney.Presentation/Views/Income/AddNewIncomeView.cs
@@ -6,10 +6,10 @@ using Gorilla.Commons.Utility.Extensions;
 using Gorilla.Commons.Windows.Forms;
 using Gorilla.Commons.Windows.Forms.Krypton;
 using MoMoney.DTO;
-using MoMoney.Presentation.Model.interaction;
 using MoMoney.Presentation.Presenters.income;
 using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.core;
+using MoMoney.Service.Application;
 
 namespace MoMoney.Presentation.Views.income
 {
@@ -39,7 +39,7 @@ namespace MoMoney.Presentation.Views.income
             ux_income_received_grid.DataSource = incomes.databind();
         }
 
-        public void notify(params notification_message[] messages)
+        public void notify(params NotificationMessage[] messages)
         {
             var builder = new StringBuilder();
             messages.each(x => builder.AppendLine(x));
trunk/product/MoMoney.Presentation/Views/AddCompanyView.cs
@@ -7,10 +7,10 @@ using Gorilla.Commons.Utility.Extensions;
 using Gorilla.Commons.Windows.Forms;
 using Gorilla.Commons.Windows.Forms.Databinding;
 using MoMoney.DTO;
-using MoMoney.Presentation.Model.interaction;
 using MoMoney.Presentation.Presenters;
 using MoMoney.Presentation.Resources;
 using MoMoney.Presentation.Views.core;
+using MoMoney.Service.Application;
 
 namespace MoMoney.Presentation.Views
 {
@@ -48,7 +48,7 @@ namespace MoMoney.Presentation.Views
             listView1.Items.AddRange(companies.Select(x => new ListViewItem(x.name, 0)).ToArray());
         }
 
-        public void notify(params notification_message[] messages)
+        public void notify(params NotificationMessage[] messages)
         {
             var builder = new StringBuilder();
             messages.each(x => builder.Append(x));
trunk/product/MoMoney.Presentation/MoMoney.Presentation.csproj
@@ -228,11 +228,11 @@
     <Compile Include="Views\Billing\ViewAllBills.Designer.cs">
       <DependentUpon>ViewAllBills.cs</DependentUpon>
     </Compile>
-    <Compile Include="Views\Billing\view_all_bills_report.cs">
+    <Compile Include="Views\Billing\ViewAllBillsReport.cs">
       <SubType>Component</SubType>
     </Compile>
-    <Compile Include="Views\Billing\view_all_bills_report.Designer.cs">
-      <DependentUpon>view_all_bills_report.cs</DependentUpon>
+    <Compile Include="Views\Billing\ViewAllBillsReport.Designer.cs">
+      <DependentUpon>ViewAllBillsReport.cs</DependentUpon>
     </Compile>
     <Compile Include="Views\Core\ApplicationDockedWindow.cs">
       <SubType>Form</SubType>
@@ -368,8 +368,8 @@
       <DependentUpon>ViewAllBills.cs</DependentUpon>
       <SubType>Designer</SubType>
     </EmbeddedResource>
-    <EmbeddedResource Include="Views\Billing\view_all_bills_report.resx">
-      <DependentUpon>view_all_bills_report.cs</DependentUpon>
+    <EmbeddedResource Include="Views\Billing\ViewAllBillsReport.resx">
+      <DependentUpon>ViewAllBillsReport.cs</DependentUpon>
       <SubType>Designer</SubType>
     </EmbeddedResource>
     <EmbeddedResource Include="Views\Core\ApplicationWindow.resx">
@@ -458,7 +458,6 @@
   </ItemGroup>
   <ItemGroup>
     <Folder Include="Properties\" />
-    <Folder Include="Views\Helpers\" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
trunk/product/MoMoney.Service/Application/INotification.cs
@@ -1,7 +1,9 @@
+using MoMoney.Service.Application;
+
 namespace MoMoney.Presentation.Model.interaction
 {
     public interface INotification
     {
-        void notify(params notification_message[] messages);
+        void notify(params NotificationMessage[] messages);
     }
 }
\ No newline at end of file
trunk/product/MoMoney.Service/Application/notification_message.cs → trunk/product/MoMoney.Service/Application/NotificationMessage.cs
@@ -1,22 +1,22 @@
-namespace MoMoney.Presentation.Model.interaction
+namespace MoMoney.Service.Application
 {
-    public class notification_message
+    public class NotificationMessage
     {
         private readonly string the_message_to_display;
 
-        public notification_message(string the_message_to_display)
+        public NotificationMessage(string the_message_to_display)
         {
             this.the_message_to_display = the_message_to_display;
         }
 
-        public static implicit operator string(notification_message message)
+        public static implicit operator string(NotificationMessage message)
         {
             return message.ToString();
         }
 
-        public static implicit operator notification_message(string message)
+        public static implicit operator NotificationMessage(string message)
         {
-            return new notification_message(message);
+            return new NotificationMessage(message);
         }
 
         public override string ToString()
@@ -24,7 +24,7 @@ namespace MoMoney.Presentation.Model.interaction
             return the_message_to_display;
         }
 
-        public bool Equals(notification_message obj)
+        public bool Equals(NotificationMessage obj)
         {
             if (ReferenceEquals(null, obj)) return false;
             if (ReferenceEquals(this, obj)) return true;
@@ -35,8 +35,8 @@ namespace MoMoney.Presentation.Model.interaction
         {
             if (ReferenceEquals(null, obj)) return false;
             if (ReferenceEquals(this, obj)) return true;
-            if (obj.GetType() != typeof (notification_message)) return false;
-            return Equals((notification_message) obj);
+            if (obj.GetType() != typeof (NotificationMessage)) return false;
+            return Equals((NotificationMessage) obj);
         }
 
         public override int GetHashCode()
trunk/product/MoMoney.Service/MoMoney.Service.csproj
@@ -67,7 +67,7 @@
     <Compile Include="Application\GetAllIncomeQuery.cs" />
     <Compile Include="Application\IncomeTasks.cs" />
     <Compile Include="Application\INotification.cs" />
-    <Compile Include="Application\notification_message.cs" />
+    <Compile Include="Application\NotificationMessage.cs" />
     <Compile Include="Application\RegisterNewCompanyCommand.cs" />
     <Compile Include="Application\SaveNewBillCommand.cs" />
     <Compile Include="Infrastructure\Logging\LogFileTasks.cs" />
@@ -107,7 +107,6 @@
   </ItemGroup>
   <ItemGroup>
     <Folder Include="Domain\" />
-    <Folder Include="Infrastructure\Core\" />
     <Folder Include="Properties\" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
trunk/product/MyMoney/boot/container/registration/wire_up_the_reports_in_to_the.cs
@@ -17,7 +17,7 @@ namespace MoMoney.boot.container.registration
         public void run()
         {
             registry.transient<IReportViewer, ReportViewer>();
-            registry.transient<IViewAllBillsReport, view_all_bills_report>();
+            registry.transient<IViewAllBillsReport, ViewAllBillsReport>();
         }
     }
 }
\ No newline at end of file
trunk/product/MyMoney/boot/bootstrap.cs
@@ -3,12 +3,12 @@ using MoMoney.Presentation.Views.Shell;
 
 namespace MoMoney.boot
 {
-    public class bootstrap : WindowsFormsApplication<ApplicationShell>
+    public class Bootstrap : WindowsFormsApplication<ApplicationShell>
     {
         [STAThread]
         static void Main()
         {
-            new bootstrap().run();
+            new Bootstrap().run();
         }
     }
 }
\ No newline at end of file