|
@@ -21,6 +21,7 @@ using System.Windows.Forms;
|
|
|
using XdCxRhDw.Dto;
|
|
|
using XdCxRhDW.Core;
|
|
|
using XdCxRhDW.Core.Api;
|
|
|
+using XdCxRhDW.Repostory;
|
|
|
using XdCxRhDW.Repostory.EFContext;
|
|
|
using XdCxRhDW.Repostory.Model;
|
|
|
|
|
@@ -45,10 +46,12 @@ namespace XdCxRhDW.App.CorTools
|
|
|
gridControl.Init<SatEphDto>().UseSort().UseFilter().UseMultiSelect().UseRowNumber();
|
|
|
gridControl.DataSource = listEph;
|
|
|
txtTle.UseDoubleClickToSelectAll();
|
|
|
- txtTle.UseDefault().SetStringData(listXl.Select(p=>p.TwoLine));
|
|
|
+ this.listXl = XlCache.GetAllAsync().Result;
|
|
|
+ txtTle.UseDefault().SetStringData(listXl.Select(p => p.TwoLine));
|
|
|
+
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
private async void btnCalculate_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
|