Ver Fonte

上传文件至 ''

Joey há 4 semanas atrás
pai
commit
412f9edb36
5 ficheiros alterados com 34 adições e 6 exclusões
  1. 1 1
      Login.cs
  2. 1 1
      NavChart.cs
  3. 1 1
      Program.cs
  4. 28 0
      UIConstants.cs
  5. 3 3
      UIContactTask.cs

+ 1 - 1
Login.cs

@@ -36,7 +36,7 @@ namespace DataManager
                 }
                 else
                 {
-                    MessageBox.Show("登录名不正确,请重新输入");
+                    MessageBox.Show("登录名不正确,请重新输入", "建议信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                     this.txtAccount.Focus();
                 }
             }

+ 1 - 1
NavChart.cs

@@ -90,7 +90,7 @@ namespace DataManager
 
             if (startDate > endDate)
             {
-                MessageBox.Show("起始日不能大于截止日哦");
+                MessageBox.Show("起始日不能大于截止日哦", "建议信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                 return null;
             }
 

+ 1 - 1
Program.cs

@@ -32,7 +32,7 @@ namespace DataManager
                     }
                     else
                     {
-                        MessageBox.Show("找不到用户,奇了个怪");
+                        MessageBox.Show("找不到用户,奇了个怪", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Error);
                         Application.Exit();
                     }
                 }

+ 28 - 0
UIConstants.cs

@@ -206,6 +206,34 @@ namespace DataManager
             { -1, "其他" }
         };
 
+        public static readonly Dictionary<int, string> HedgeFundSubStrategy = new Dictionary<int, string>
+        {
+            { -1, "其他策略" },
+            { 1010, "主观多头" },
+            { 1020, "股票多空" },
+            { 1030, "量化多头" },
+            { 2010, "宏观策略" },
+            { 3010, "主观趋势" },
+            { 3020, "主观套利" },
+            { 3030, "量化趋势" },
+            { 3040, "量化套利" },
+            { 3050, "管理期货复合" },
+            { 4010, "并购重组" },
+            { 4020, "定向增发" },
+            { 4030, "大宗交易" },
+            { 4040, "事件驱动复合" },
+            { 5010, "股票市场中性" },
+            { 5020, "套利" },
+            { 5030, "相对价值复合" },
+            { 6010, "纯债策略" },
+            { 6020, "强债策略" },
+            { 6030, "固收复合" },
+            { 7010, "MOM" },
+            { 7020, "FOF" },
+            { 8010, "主观多策略" },
+            { 8020, "量化多策略" },
+        };
+
         public static readonly Dictionary<int, string> MutualFundStrategy = new Dictionary<int, string>
         {
             { 101, "股票" },

+ 3 - 3
UIContactTask.cs

@@ -141,7 +141,7 @@ namespace DataManager
 
             if (task.CompanyId == null || task.CompanyId.Length != 10)
             {
-                MessageBox.Show("还没输入公司呢...");
+                MessageBox.Show("还没输入公司呢...", "建议信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                 txtCompanyShortName.Focus();
                 return;
             }
@@ -170,7 +170,7 @@ namespace DataManager
         {
             if(txtCompanyShortName.TextLength < 2)
             {
-                MessageBox.Show("请输入至少两个字,不然结果太多看不过来 @@");
+                MessageBox.Show("请输入至少两个字,不然结果太多看不过来 @@", "建议信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                 txtCompanyShortName.Focus();
                 return;
             }
@@ -179,7 +179,7 @@ namespace DataManager
             DataTable companys = DataAccess.Search_dm_company(UIConstants.CompanyType.FirstOrDefault(x=>x.Value== "私募证券投资").Key, txtCompanyShortName.Text.Trim());
             if (companys == null || companys.Rows.Count == 0)
             {
-                MessageBox.Show("- - 没有找到结果,换个关键字试试?");
+                MessageBox.Show("- - 没有找到结果,换个关键字试试?", "建议信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                 txtCompanyShortName.Focus();
                 return;