* 登录窗体增加了两行注释
This commit is contained in:
parent
edb1e657f7
commit
3e6f3d1938
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -9,12 +9,17 @@
|
||||
|
||||
private void FLogin_ButtonLoginClick(object sender, System.EventArgs e)
|
||||
{
|
||||
this.ShowInfoTip("DSFSDF");
|
||||
// if (UserName == "admin" && Password == "admin")
|
||||
// {
|
||||
// IsLogin = true;
|
||||
// Close();
|
||||
// }
|
||||
//UserName就是封装了界面里用户名输入框的值
|
||||
//Password就是封装了界面里密码输入框的值
|
||||
if (UserName == "admin" && Password == "admin")
|
||||
{
|
||||
IsLogin = true;
|
||||
Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowErrorTip("用户名或者密码错误。");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -25,7 +25,7 @@
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\Bin\net40\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
|
@ -31,6 +31,10 @@
|
||||
<DocumentationFile></DocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5.0-windows|AnyCPU'">
|
||||
<Optimize>false</Optimize>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Font\ElegantIcons.ttf" />
|
||||
<None Remove="Font\FontAwesome.ttf" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user