This commit is contained in:
@@ -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>
|
||||||
@@ -66,7 +66,7 @@ namespace AyaNovaQBI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Error attempting to login:\r\n" + ex.Message);
|
MessageBox.Show("Error attempting to login:\r\n" + ex.Message);
|
||||||
this.DialogResult = DialogResult.Cancel;
|
this.DialogResult = DialogResult.Cancel;
|
||||||
return;
|
return;
|
||||||
@@ -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
2
AyaNovaQBI/devinfo.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
TODO:
|
||||||
|
Test persisted form settings for server url
|
||||||
Reference in New Issue
Block a user