This commit is contained in:
xyy
2026-01-26 19:09:28 +08:00
parent 2c9861c223
commit 9261148e1e
2 changed files with 42 additions and 7 deletions

View File

@@ -148,12 +148,12 @@ WHERE username = 'admin'; -- 修改为对应的用户名";
MessageBoxButtons.OK, MessageBoxIcon.Information);
}
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new PasswordGenerator());
}
//[STAThread]
//static void Main()
//{
// Application.EnableVisualStyles();
// Application.SetCompatibleTextRenderingDefault(false);
// Application.Run(new PasswordGenerator());
//}
}
}

View File

@@ -128,13 +128,45 @@
<Compile Include="CommonDefs.cs" />
<Compile Include="DATA\BoolSign.cs" />
<Compile Include="DATA\ConductividyClass.cs" />
<Compile Include="DATA\DatabaseInitializer.cs" />
<Compile Include="DATA\DataChange.cs" />
<Compile Include="DATA\FormManager.cs" />
<Compile Include="DATA\Function.cs" />
<Compile Include="DATA\keyboard.cs" />
<Compile Include="DATA\LoginData.cs" />
<Compile Include="DATA\LoginDebugHelper.cs" />
<Compile Include="DATA\ModbusResourceManager.cs" />
<Compile Include="DATA\PasswordGenerator.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DATA\PasswordHelper.cs" />
<Compile Include="DATA\PLC_Data.cs" />
<Compile Include="DATA\User.cs" />
<Compile Include="DATA\UserRepository.cs" />
<Compile Include="Forms\ChangePasswordForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\ChangePasswordForm.Designer.cs">
<DependentUpon>ChangePasswordForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\LoginForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\LoginForm.Designer.cs">
<DependentUpon>LoginForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\UserEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\UserEditForm.Designer.cs">
<DependentUpon>UserEditForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\UserManagerForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\UserManagerForm.Designer.cs">
<DependentUpon>UserManagerForm.cs</DependentUpon>
</Compile>
<Compile Include="ScanImport.cs">
<SubType>Form</SubType>
</Compile>
@@ -158,6 +190,9 @@
<EmbeddedResource Include="Coeffiicientsetting.resx">
<DependentUpon>Coeffiicientsetting.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\LoginForm.resx">
<DependentUpon>LoginForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ScanImport.resx">
<DependentUpon>ScanImport.cs</DependentUpon>
</EmbeddedResource>