mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-17 15:00:29 +00:00
21 lines
501 B
C#
21 lines
501 B
C#
|
|
using System.Windows.Forms;
|
|||
|
|
|
|||
|
|
namespace ConfigGenerator {
|
|||
|
|
internal sealed class EnhancedPropertyGrid : PropertyGrid {
|
|||
|
|
private GlobalConfig GlobalConfig;
|
|||
|
|
internal EnhancedPropertyGrid(GlobalConfig globalConfig) : base() {
|
|||
|
|
if (globalConfig == null) {
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
GlobalConfig = globalConfig;
|
|||
|
|
|
|||
|
|
SelectedObject = globalConfig;
|
|||
|
|
Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
|
|||
|
|
Dock = DockStyle.Fill;
|
|||
|
|
HelpVisible = false;
|
|||
|
|
ToolbarVisible = false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|