This commit is contained in:
2022-06-22 01:16:33 +00:00
parent dbd323aeca
commit 0cba94f582
3 changed files with 9 additions and 1 deletions

View File

@@ -145,5 +145,8 @@
<ItemGroup> <ItemGroup>
<None Include="Resources\pass.png" /> <None Include="Resources\pass.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="devinfo.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -80,6 +80,9 @@ AyaNovaUserType: {util.AyaNovaUserType}");
btnLogin.Enabled = btnTest.Enabled = true; btnLogin.Enabled = btnTest.Enabled = true;
//successful login, persist server setting
Properties.Settings.Default.serverurl = edServerUrl.Text;
Properties.Settings.Default.Save();
this.DialogResult = DialogResult.OK; this.DialogResult = DialogResult.OK;
this.Close(); this.Close();

2
AyaNovaQBI/devinfo.txt Normal file
View File

@@ -0,0 +1,2 @@
TODO:
Test persisted form settings for server url