* 登录窗体增加了两行注释

This commit is contained in:
Sunny 2021-01-19 23:00:28 +08:00
parent edb1e657f7
commit 3e6f3d1938
8 changed files with 16 additions and 7 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -9,12 +9,17 @@
private void FLogin_ButtonLoginClick(object sender, System.EventArgs e) private void FLogin_ButtonLoginClick(object sender, System.EventArgs e)
{ {
this.ShowInfoTip("DSFSDF"); //UserName就是封装了界面里用户名输入框的值
// if (UserName == "admin" && Password == "admin") //Password就是封装了界面里密码输入框的值
// { if (UserName == "admin" && Password == "admin")
// IsLogin = true; {
// Close(); IsLogin = true;
// } Close();
}
else
{
ShowErrorTip("用户名或者密码错误。");
}
} }
} }
} }

View File

@ -25,7 +25,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>false</Optimize>
<OutputPath>..\Bin\net40\</OutputPath> <OutputPath>..\Bin\net40\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>

View File

@ -31,6 +31,10 @@
<DocumentationFile></DocumentationFile> <DocumentationFile></DocumentationFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5.0-windows|AnyCPU'">
<Optimize>false</Optimize>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<None Remove="Font\ElegantIcons.ttf" /> <None Remove="Font\ElegantIcons.ttf" />
<None Remove="Font\FontAwesome.ttf" /> <None Remove="Font\FontAwesome.ttf" />