|
@@ -62,6 +62,13 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControl1.Enabled = true;
|
|
|
return;
|
|
|
}
|
|
|
+ if (string.IsNullOrEmpty(btnOpen.Text))
|
|
|
+ {
|
|
|
+ Serilog.Log.Warning($"请选择星历文件");
|
|
|
+ DxHelper.MsgBoxHelper.ShowInfo($"请选择星历文件");
|
|
|
+ this.layoutControl1.Enabled = true;
|
|
|
+ return;
|
|
|
+ }
|
|
|
string file;
|
|
|
try
|
|
|
{
|