Work on extra GUI app

This commit is contained in:
JustArchi
2016-03-20 05:27:30 +01:00
parent 0387eb3746
commit 2b3a5ff337
21 changed files with 1270 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
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;
}
}
}