* 登录窗体增加了两行注释
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)
|
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("用户名或者密码错误。");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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>
|
||||||
|
@ -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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user